apezVal
04-08-2003, 08:34 AM
I have been having trouble getting page elements to be positioned as I want them to be. Especially a form.
I have found a free javascript that places a (function getMouseXY(e) ) on a locally viewable html page. This simple script shows the mouse coordinates in (x,y) values wherever the mouse is moved. Making this js work for a local page to view has been instructive in so far as it can tell me the cartesian x,y allocation of where I want stuff to be placed on another page in the making. So, I am wanting to use x-y coordination to allocate page elements and content. Can anyone provide a tutorial about this?
have not been able to find much and most references to 'positioning' seem to only discuss the use of px, em, align, %,...etc. It seems to me that using cartesian (x,y) coorordination would be easier but why is this not more used? If anyone opens a page with x,y coords used and they have their display settings different from mine used to make the page,...is not the display 'relative' to any settings...so that page content will display in a relative way only in a larger, equal or smaller 'field displayed' ?
Also, if one were to use x,y page coords to allocate for example a TABLE,... what is the method? It should, I think be a simple matter of allocating a box or rectangular area to a given
total page area that is simply "maximum X times y" area,
(and related the user's monitor size and the settings)
right? Do the values (for all lesser x times y areas ...tables, objects and forms, etc ...content that requires allocationing..) designate the table's upper left corner starting locus for the table as width and height designations define the rest. this would be great if it could do this.
Any, links or comments about X,Y page coordination.??
__Jim
I have found a free javascript that places a (function getMouseXY(e) ) on a locally viewable html page. This simple script shows the mouse coordinates in (x,y) values wherever the mouse is moved. Making this js work for a local page to view has been instructive in so far as it can tell me the cartesian x,y allocation of where I want stuff to be placed on another page in the making. So, I am wanting to use x-y coordination to allocate page elements and content. Can anyone provide a tutorial about this?
have not been able to find much and most references to 'positioning' seem to only discuss the use of px, em, align, %,...etc. It seems to me that using cartesian (x,y) coorordination would be easier but why is this not more used? If anyone opens a page with x,y coords used and they have their display settings different from mine used to make the page,...is not the display 'relative' to any settings...so that page content will display in a relative way only in a larger, equal or smaller 'field displayed' ?
Also, if one were to use x,y page coords to allocate for example a TABLE,... what is the method? It should, I think be a simple matter of allocating a box or rectangular area to a given
total page area that is simply "maximum X times y" area,
(and related the user's monitor size and the settings)
right? Do the values (for all lesser x times y areas ...tables, objects and forms, etc ...content that requires allocationing..) designate the table's upper left corner starting locus for the table as width and height designations define the rest. this would be great if it could do this.
Any, links or comments about X,Y page coordination.??
__Jim