Positioning Controls

Each object on your web page has a position. The position is either determined by the flow of objects that precede it on the page or it can be defined specifically for the current object using these stylesheet attributes:

Length can be specified in a number of different ways:

Examples

#myobj {position:absolute;left:50px;top:100px;z-index:5;}
#menu {position:fixed;}

 

This article written by Stephen Chapman, Felgall Pty Ltd.

go to top

FaceBook Follow
Twitter Follow
Donate