I have had a strange html problem with iphone/ipad recently. I was designing an html which has a width of 1024px and contains a child div which is floated right. The child div was strangely out of background. It was kind of overflowed.
Well, enuf bla bla. Check this post. It identifies the problem well and gives great solution.
http://stackoverflow.com/questions/12625949/floatright-elements-causing-elements-to-break-outside-of-containers-on-iphone
For my part adding
<meta name="viewport" content="width=1024" />
to head part solved the problem.
Thanks to user1703674 for this great question and Magnus Magnusson for nice and clean explanation.
Cheers
No comments:
Post a Comment