Element <DIV> position and size
As searched in google, an element of <DIV> has following properties about its position and size:
offset (Left, Top, Width, Height)
client (Left, Top, Width, Height)
scroll (Left, Top, Width, Height)
Is there any other properties related to its position and size?
Is there any properties related to right or bottom?
(not from style.xxx)
Last edited by html20009876; 05-10-2012 at 02:51 PM.
If you set position: absolute; you can use right and bottom to position the Div:
It depends on what you want: to set the position/size or to get the position/size?
Note: the offset left and top properties return the relative position (relative to the first parent node), not the absolute one.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)