I have some script which seems to work perfectly functionality wise:
HTML:
<div class="navigation1">icon Home</div>
<div class="dropdown">
<div class="items">icon Default 1</div>
<div class="items">icon Reports 1</div>
<div class="items">icon Other 1</div>
</div>
CSS:
.menu {
margin:auto;
/*overflow:hidden;*/
position: relative;
background:#CCCCCC;
}
Visually though, it all goes wrong. As you can see from this jsFiddle, the menu and the footer seem to be laid out incorrectly. When I uncomment /*overflow:hidden;*/, visually it looks perfect, but the .dropdown seems to get hidden behind the .footer.
How do i get this to look right visually and get it to function correctly too?