Home > Web Front-end > HTML Tutorial > HTML and CSS browser compatibility_html/css_WEB-ITnose

HTML and CSS browser compatibility_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:00:10
Original
1040 people have browsed it

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


Reply to the discussion (solution)

Is there any content in your #oned element? If it is an empty node, add one and try it.

 
has no effect.

Setting the width and height of Shenma elements, inline elements such as a span has no effect

Thank you everyone, solved

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template