Im using overflow:hidden to hide my unglam div in my webpage, it works well in all web browser but not in mobile browser. Anyone can help?
body
{
margin: auto;
display:block;
overflow-x:hidden;
overflow-y:hidden;
height:800px;
}
Try adding following line in your html
<meta name="viewport" content="width=device-width, height=device-height">
and test on your phone. Maybe this should help.
Add a wrapper inside your body
tag and apply the overflow-x: hidden
to that wrapper
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With