开发者

CSS causing page not to display on iPad / iPhone

开发者 https://www.devze.com 2023-03-05 13:46 出处:网络
One of my designers sliced up 开发者_开发百科a PSD & for some reason the page isn\'t rendering on iPhones or iPads. The div that contains a feedback link is the only thing that is visible. I\'ve s

One of my designers sliced up 开发者_开发百科a PSD & for some reason the page isn't rendering on iPhones or iPads. The div that contains a feedback link is the only thing that is visible. I've spent some time on the issue, but can't seem to find the issue. Have a look here: http://bit.ly/jNcJ47


I get the same problem in Safari on my Mac. I messed around with the Web Inspector for a few minutes and found out that when I disable the sidebar1 element's height: attribute, the content appears.


that's because the width occupied by the sidebar1 div is making the rest drop to the bottom! and since your container div has the overflow hidden, it doesn't even show the other floatted divs that dropped.

I advise positioning that div absolutelly and you're done.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号