开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜