Chrome不想显示CSS块 [英] Chrome don't want to display CSS block

查看:146
本文介绍了Chrome不想显示CSS块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个小问题,chrome不想显示div块。



对于firefox,即使对于IE它的工作不错,对于铬 - 不。哪里可以有问题?



CSS

  div#content div.ad_box {
float:left;
width:247px;
height:auto;
border-radius:4px;
background:#646d6e;

}



/ strong>

 < div class =ad_box> 
< div style =text-align:center;>
< img src =style / style_images / ad_2.jpgalt =AD1/>
< / div>
< / div>


解决方案

按类名称,我的猜测是被AdBlock扩展(或类似的东西)阻塞。这是StackOverflow上频繁发生的Chrome 问题



禁用广告拦截扩展并重新加载页面, p>

Hey all, i have a little problem, chrome don't want to display div block.

For firefox, for opera and even for IE it works good, for chrome - no. Where can be the problem?

CSS

div#content div.ad_box{
float: left;
width: 247px;
height: auto;
border-radius: 4px;
background: #646d6e;

}

HTML

<div class="ad_box">
        <div style="text-align: center;">
            <img src="style/style_images/ad_2.jpg" alt="AD1" />
        </div>
 </div>

解决方案

Going by the class name, my guess is that it's being blocked by the AdBlock extension (or something similar). This is a frequent Chrome problem on StackOverflow.

Disable the advert-blocking extension and reload the page and it should now be displaying.

这篇关于Chrome不想显示CSS块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆