The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Main wrapper sits behind fixed header. Re: Main wrapper sits behind fixed header.


Really appreciate the input! :)

– I love fixed headers and have planned one on my personal site for a while now. I’ve never understood how to correctly go about creating one though.

– I’ve specified a height for my header (60px). With top and bottom padding padding it equals 100px high. I’ve added a 120px top padding to my #main_container. Do you think that this is will be an effective way to do it? I’ve specified a height variable for the header. Will this prevent minor inconsistencies between browsers?

If you take a look here you will see what I’ve done.

Thanks again guys.