Home > Article > Web Front-end > HTML and CSS browser compatibility_html/css_WEB-ITnose
Why do I use CSS to tile a pixel image using repeat-x but it does not display on IE, but other browsers display normally
This is the code
#oned{
background: url(images/ seedlings_02.png) repeat-x;
width:10%;
height:99.5%;
float:left;
border:#000 1px solid;
}Thank you everyone
Is there any content in your #oned element? If it is an empty node, add one and try it.
Setting the width and height of Shenma elements, inline elements such as a span has no effect
Thank you everyone, solved