开发者

Text not wrapping in IE7 for Windows7

I'm currently building a mobile site and while testing using Windows7 which uses IE7, I ran into a CSS bug whereby my position absoluted element doesn't wrap within a container (fluid width) and can't fig开发者_高级运维ure out why. Some input would be much valued.

Fiddle: http://jsfiddle.net/calebo/ScVYD/


Without declaring a width on the heading, I can't see how it would wrap (although it is wrapping in Chrome). However if you take a different approach and use margins to position the heading, it can remain in normal flow and wrap naturally.

I made a demo that works for me in IE7, Chrome 14 and Firefox 7

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜