Blogger Information
Blog 35
fans 0
comment 1
visits 42644
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
使用背景图片定位的坑 background-position:
魏先生的博客
Original
827 people have browsed it

<div style="background-image: url(images/ser5.png);"  class="zhuanli">
</div>

这是html页面

请注意:这里的background-image 不能写成background:  不然是不管用的! 切记.

然后就可以去css文件定义了


Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post