My page structure is something like this:
<header>
<div class="slide">
<!---- some elements here --->
</div>
<nav>
<ul>
<li id="open"></li>
<! --- other parts of the navigation ---->
</ul>
</nav>
</header>
<div class="content">
<!---- My content goes here ---->
</div>
<footer>
<!--- my footer elements --->
</footer>
When I click on li with the id=open, the div with class=slide slides down. The whole header is pushed down with it, but the content div stays over the header's content, that is the header goes under the content div. This problem appears only in IE, I have tried the following css, but it does not change anything in IE.
CSS:
.content{display:block; clear:both; position:relative; top:0; right:0;}
.slide{display:none;background:#ddd;height:130px; width:100%; padding:20px;}
header{background:#34759a; height:400px; width:100%;}
JQuery:
$("#open").click(function(){
$(".slide").slideToggle(300);
return false;
});