Follow Me on Twitter

Follow Me on Twitter

MyApps Blog

Div width issue on ipad

 

When the site loads on my I pad the red menu bar is red and turns black along the right side of the page?Actually menu bar is inside a  div.And i have given bg color as red  with 100%.

Problem is on the iPad  viewport .iPad default viewport is   980 pixels .So even if you are giving 100% width  we will not get the actual result.He when the site loads on my I pad the red menu bar is red and turns black along the right side of the pagere we are not setting content /element width .So by  resetting the width of the view port , we can solve the issue.I added the following code on my style sheet and solved the issue.Thanks to all the div available on net.

 

Solutions:

body{
min-width:1024px;
}

Leave a Reply

Your email address will not be published. Required fields are marked *

Top