Home > Web Front-end > HTML Tutorial > 关于IE8下css的background属性不起作用的解决办法_html/css_WEB-ITnose

关于IE8下css的background属性不起作用的解决办法_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:21:22
Original
979 people have browsed it

本人的css经过测试在chrome、FF、IE(9+)以上都没有问题,但是一到IE下,发现css的background不起作用:源代码如下:

修改之后:


看到没:就在repeat前面加一个“ ”,然后用添加一个display:inline-block即可。

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