samedi 27 juin 2015

DIV Expanding Unexpectedly

I have a small problem with some of my code right now. I'm currently creating a navigation bar for a web page. Kind of like those that run across horizontaly across the screen. But my problem is that my navigation bar apparently has a really large height, disabling access to the content below it.

HTML:

<html>
    <head> head.... <head>
    <body>
    <div id="nav_bar><ul><li><div class="nav_box"></div></li>..More LIs...</div>
    </body>
</html>

nav_bar is positioned absolute with a top value. nav_box is usually hidden, and expands using css when hovered over a li. If you need anything, just comment. Thanks!

Aucun commentaire:

Enregistrer un commentaire