Home  >  Article  >  Web Front-end  >  HTML和CSS浏览器兼容性_html/css_WEB-ITnose

HTML和CSS浏览器兼容性_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:00:10973browse

为什么我有CSS将一个像素的图片用repeat-x平铺可是IE上不显示,其他浏览器显示正常
这是代码
#oned{
background: url(images/%E8%8B%97%E6%9C%A8%E9%80%9A_02.png) repeat-x;
width:10%;
height:99.5%;
float:left;
border:#000  1px solid;
}谢谢大家


回复讨论(解决方案)

你的#oned元素里面有没有内容,如果是空的节点,加一个 试一下。

 
没有效果的。

神马元素,a span之类行内元素的设置宽高没作用

谢谢大家,解决了

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn