I have inside the body tag 3 divs with height defined in pixels and width in percentage. When the person types in CTRL + browsers zoom in up to 500%.
My problem is that zooming does not work.
I tried to define, in the body tag and in the 3 ids defined in the 3 divs: top, body and footer.
In my case I set overflow-y
to scroll
and divs with min-width
and width
100
and max-width
500%
but it's not solving.
<body>
<div id="todo">
<div id="topo"></div>
<div id="corpo">
</div>
<div id="rodape"></div>
</div>
</body>
CSS:
/*
Created on : 31/05/2014, 23:25:56
Author : willian
*/
body {
margin: 0;
padding: 0;
min-width: 100%;
width: 100%;
max-width: 500%;
overflow-x: scroll;
}
#todo {
margin: 0;
padding: 0;
min-width: 100%;
width: 100%;
max-width: 500%;
overflow-x: auto;
}
#topo {
margin: 0;
padding: 0;
height: 200px;
min-width: 100%;
max-width: 500%;
background: #fefcda;
overflow-x:auto;
}
#corpo {
margin: 0;
padding: 0;
height: 800px;
min-width: 100%;
max-width: 500%;
background: #faf9ed;
overflow-x: auto;
}
#rodape {
margin: 0;
padding: 0;
height: 300px;
min-width: 100%;
max-width: 500%;
background: #fefcda;
overflow-x: auto;
}