Hi all...
i have a problem with my fixed header.
when i zoom in or resize the browser, some menu in my header losts/hidden i don't know where..
so this is my code :
<div id="header">
<ul>
<li>Menu 1</li>
<li>Menu 2</li>
<li>Menu 3</li>
<li>Menu 4</li>
</ul>
</div>
css :
body{
min-height:1000px;
}
#header{
position: fixed;
margin:30px;
}
#header ul{
display:block;
}
#header ul li{
float:left;
list-style-type:none;
width:110px;
text-align:center;
line-height:30px;
padding-bottom:3px;
background: #ccc;
}
demo : http://jsfiddle.net/YgvND/1/
I need javascript program to controls css position. My purpose when at zoom in, zoom out or resize the browser so css header position will change into "ABSOLUTE".
sorry on my language. x)
Anyone can help me....
thx..