Page adjust according to screen resolution like stackoverflow problem with zooming and css layout get distorted when zoom in. i'm new in css and first and very big problem i am facing is that when i zoom in or out page get distorted. i want to do something like my page fits every resolution. please give me such solution that i can apply on whole page including body and footer
HTML:
<div class="wrap">
<div id="head">
<div id="head_back">
<b id="logo">LOGO</b>
<div id="nav">
<b>2000</b>
<b>2001</b>
<b>2002</b>
<b>2004</b>
</div>
</div>
</div>
</div>
CSS:
.wrapper{width:100%; background-color:red; overflow:auto; margin:0; padding:0;}
#head
{
width:100%; height:100px;
color:#902df3;
position:relative;
top:-10px;
left:-7.8px;
font-family:"Arial Black", Gadget, sans-serif;
padding-right:17px;
}
#head #head_back
{
position:absolute;
line-height:90px;
top:0;
left:0;
width:100%;
height:100px;
background:#999; background-size:cover; background-repeat:no-repeat;
}
#head #logo
{
font-size:46px;
position:absolute;
}
#head #nav
{
font-size:26px;
position:absolute;
left:60%;
}
body html
{
position: fixed;
width: 100%;
overflow:scroll;
}