0

I am experiencing a CSS issue, sadly it is only encountered in Internet Explorer 7. If you view the web page in IE7 standards you should be able to replicate the issue. You may need to refresh a couple of times until an advert is served that breaks the layout.

The large square adverts are served by a third party that are placed inside <div class="grid_4 omega">. The container for these adverts is <div class="ad_instance">

Here is the CSS that has been applied.

div.ad_instance {
    clear: right;
    float: right;
    margin-bottom: 1em;
}

I have attached a screenshot to demonstrate the issue:

enter image description here

Any suggestions or amendments to my CSS rules would be much appreciated.

4

1 回答 1

3

看起来您clear: right;对类的定义.ad_instance是导致该错误的原因。

删除它可以解决 IE7 中的问题,并在其他浏览器上保持相同的结果(据我的测试发现)。

于 2013-01-18T16:58:14.490 回答