Skip to content Skip to sidebar Skip to footer

Why Doesn't 100% Width/height Work On Iphone?

If you have the chance to enter to http://toniweb.us/gm in your phone you will see that the dimensions are...wrong. Acording to the css: html, body{ position:relative; heig

Solution 1:

Tried:

html, body{
    position:absolute;
    top: 0;
    left: 0;
    right: 0;
    overflow-y: hidden;
}

I guess that above code will do the job ;) And I think your goal was to see only the grey sidebar on the iphone right?

Post a Comment for "Why Doesn't 100% Width/height Work On Iphone?"