背景图片居中
来源:互联网 发布:垃圾回收算法 编辑:程序博客网 时间:2024/06/11 05:45
<!doctype html>
<
html
>
<
head
>
<
meta
charset
=
"utf-8"
>
<
title
>标题</
title
>
</
head
>
<
body
style
=
" background:url(psb.jpg) top center no-repeat #000"
>
</
body
>
</
html
>
.bgcolor{background:url("images/image.jpg") no-repeat top #999;}top是给图片定位的 当然你也可以改成left、right或者bottom背景图片和背景颜色是可以共存的。{background:#000 url(img/img.jpg) center top no-repeat;}w3cbackground-image:url("images/image.jpg") no-repeat center center;background-color:#000;这样就行。第一是背景图片 不重复平铺 左右居中 上下居中 第二句背景色黑色
0 0
- 背景图片居中
- 背景图片居中
- 背景图片居中
- 永远居中的背景图片
- div背景图片居中
- DIV背景图片居中
- 背景图片的居中显示
- 表格背景图片居中
- 让背景图片居中
- 背景图片永远居中
- CSS 背景图片 设置居中
- 背景图片等比缩放居中
- 背景图片全屏居中
- 让背景图片居中
- css背景图片居中的方法
- 背景图片居中全屏自适应显示
- JavaScript 11 永远居中的背景图片
- 图片居中问题---适用于主页的背景图片
- 多人联机射击游戏中的设计模式应用(二)
- 继续大数据研究---Storm Spark Hadoop比较
- whu Problem 1464 - Deal with numbers
- Hello World!
- mysql操作数据库语句整理(方便以后使用)
- 背景图片居中
- switch 语句的使用范围
- Codeforces 429D Tricky Function 最近点对
- Entity Framework 实体关系总结:one-to-one, one-to-many, many-to-many
- objective c 字符串各种处理
- 她放一百个心,一千个心,一万个心……
- 通过Java反射在运行时修改TimerTask的执行周期并且立即生效
- Oracle常用命令大全
- js拼接字符串时,字符串的事件参数需要传对象或对象数组的处理方法