Home >Web Front-end >HTML Tutorial >The problem that the background cannot be displayed_html/css_WEB-ITnose
.main .content_box{/* width:1156px;height:auto; */width:100%;background:url(./images/img/bg.png) repeat-x scroll 0 0;border-top: 1px solid #ddd;}
This is the code
The picture is the part where the background is not displayed
This is the background of Taobao University displayed
Have you looked in the browser debugging tool and found the specified image in url(./images/img/bg.png)?
It should be that the path of the background is wrong