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
精彩评论