Absolute necessities

by Joe Gillespie — Sep 1, 2002

Absolute positioning with CSS is fairly easily understood and works in browsers as far back as Netscape 4.x - that is, provide that the elements are positioned relative to the top, left corner of the page.

CSS allows you to set the absolute position of element using 'bottom' and 'right' too so, for instance, you can have a navbar that sticks to the bottom edge of the browser window. It's like having a constant 'footer' on the page, in fact, this principle makes the use of frames, and all their many disadvantages, virtually redundant.

For several samples on the site, I tried locking elements to the bottom and right edges of the screen and when it does work, it's great!

Del.icio.us Digg Technorati Blinklist Furl reddit Design Float