IE quirks mode: image display block
In IE's quirks mode, it appears images remain inline when set to position 开发者_StackOverflow社区absolute.
<li style='padding-left:25px;position:relative'>
Hello, I am some text
<img src='http://userserve-ak.last.fm/serve/34s/2378690.jpg' style='position:absolute;left:0px;'/>
</li>
Is there any way to make this behave like it were in standards mode (with just CSS)?
Put a doctype at the top of your page, switch to standards mode, and everyone will be much better off.
精彩评论