【发布时间】:2013-08-15 00:20:24
【问题描述】:
我收到了这段代码,寻找如何在 HTML 中为我的页面部分拉伸背景图像,但它不起作用。我做错了什么?
< style type="text/css">
<!--
body {
background-image: url(at4.jpg);
background-repeat: no-repeat;
height: 100%;
width: 100%;
}
-->
</style>
【问题讨论】:
-
你评论了那些东西,从正文中删除 css 评论到结尾