Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 3rd, 2005, 10:56 AM
Authorized User
 
Join Date: Jul 2003
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default Screen cursor location

I have a need to place a <DIV> in an absolute location on a page, but the absolute location changes depending on text displayed elsewhere on the page. Is there any method for determining the vertical location of text or objects just written to the page or about to be written to the page?

 
Old June 5th, 2005, 06:18 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

;;;Is there any method for determining the vertical location of text or objects just written to the page or about to be written to the page?

Content within a <div> tag yes EG:
<div name="legend" id="legend" style="position: absolute; top: 340px; left: 700px; visibility: show;">Some text</div>

Not in a <div> tag - use tables.

BTW: Absolute locations do not change as a result of text outside the <div> tag. If it does I would say its not absolutly positioned.


Wind is your friend
Matt





Similar Threads
Thread Thread Starter Forum Replies Last Post
Magnetic Cursor - Target Area Cursor? gcarcass .NET Framework 2.0 1 May 5th, 2008 07:20 AM
Draw on the screen without clearing the screen pu132 Visual Basic 2005 Basics 0 August 25th, 2006 09:03 PM
onkeypressevent Location of cursor in the textbox rungss Javascript 3 February 18th, 2006 09:37 AM
Set cursor at specific location in text box pritz VB How-To 3 August 29th, 2005 10:27 AM
Set cursor at specific location in text box pritz Beginning VB 6 1 August 15th, 2005 12:22 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.