请问我为什么没法插入背景图?
HTML代码节选:、
<section class="book"> <div class="container"> <img src="images/book1.jpg"> <img src="images/book2.jpg"> <img src="images/book3.jpg"> <img src="images/book4.jpg"> <img src="images/book5.jpg"> </div> </section>
CSS代码节选:
*{ margin: 0; padding: 0; } #wrap{ width: 770px; margin: 0 auto; border: 4px #abcdef solid; } .book>div{ border: 1px solid #badbdb; background:url(images/t_book.gif) 0 0 norepeat; } .book>div>img{ margin: 30px 18px 10px; border: 1px solid #b1adad; }
目录结构/文件名已检查过,无问题