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

Home Forums CSS A problem with position: fixed; Reply To: A problem with position: fixed;


One downside I found with your solution is that the div tag is still hidden underneath the header, which means I can’t really leave some space between the header and #toppers as I intended to for visual design reasons.

The #toppers div is now the top element because of the fixed positioning of the header.

If you need ‘visual space’ between the header and #toppers there are a couple of things we could do.

It all depends on what the design is supposed to look like.