iPhone CSS - Viewport width not working for me
Anyone know why I still have some extra white space to the right of my web site when using an iPhone?:
(please check on an iPhone 开发者_Go百科- this will not show with Firefox/UA Switcher)
I've adjusted viewport meta to "device-width" and my body's width is 100%.
I've Firebugged everywhere and just can't figure this one out.
You must set the width with "device-width" like this :
<meta name="viewport" content="width=device-width;" />
Try to wrap all your page content in DIV
with just overflow:hidden
style (no more styles necessary).
精彩评论