DJGB DJGB - 2 years ago 99
HTML Question

HTML clickable div query

I am using divs to act as buttons so I can style them more easily how I want them.

I also have a fixed banner at the top of the screen using 'position:fixed;'

Now I've done this everything goes to the top of the screen and ignores the banner so when I click a button to scroll to the section of the site it goes under the banner rather than underneath.

How can I shunt it all down slightly to stop them overlapping?

Answer Source
ul#menu li {
    display: inline-block;
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download