PDA

View Full Version : fixed top and bottom



YoungGold
03-24-2008, 05:07 PM
Hi im working on a new project and i was wondering if any new the code to have a fixed navigation bar running flush along the top of the page and another one running flush with the bottom of the page ive looked on quite a few sites and cant find anything.

Haunted Dawg
03-24-2008, 05:33 PM
If the menu is like in the middle of the page use this:

<td valign="top">

Anonymous
03-24-2008, 06:01 PM
Not quite sure what sure what you are after, by perhaps look at position:fixed or position:absolute (CSS)

YoungGold
03-24-2008, 06:55 PM
i think ive tried absolute top/bottom in CSS before yet it still has a gap along the top...

Here is an example of what im looking for: http://www.loonygroup.com/

As you can see there are no gaps on either side or bottom

Analog
03-24-2008, 07:23 PM
set body margins/padding to 0px 0px