jmarcel
03-10-2004, 05:29 PM
Can I get the layer top and left positions without put into the tag?
Is there anyway to calculate it?
Tks
Marcel
Is there anyway to calculate it?
Tks
Marcel
|
||||
DIV Positionjmarcel 03-10-2004, 05:29 PM Can I get the layer top and left positions without put into the tag? Is there anyway to calculate it? Tks Marcel JAVAEOC 03-10-2004, 11:21 PM is this what u are looking for? in the head: <style> div{ position: absolute; top: 30; left: 44; } </style> then in the body: <div>someting 44 px form the left :D</div> and if you want the to find the position with js then use .offsetTop or .offsetLeft :thumbsup: |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum