CSS使网页背景图片居中的三种方法
[ 2008-08-06 23:21:17 | Author: colacat ]
1、第一种:用像素设定,很多都用这种,但是也是最麻烦的:
[Ctrl+A to select all. Prompt:You can edit these codes before run.]2、第二种:用50%设定,很方便:
[Ctrl+A to select all. Prompt:You can edit these codes before run.]
3、第三种:用center设定(注:第2个center可以省略,因为默认就是center),不错吧,呵呵:
[Ctrl+A to select all. Prompt:You can edit these codes before run.]
Comments Feed: http://www.colacat.cn/feed.asp?q=comment&id=87
Runable Code:
[Ctrl+A to select all. Prompt:You can edit these codes before run.]
Runable Code:
[Ctrl+A to select all. Prompt:You can edit these codes before run.]
3、第三种:用center设定(注:第2个center可以省略,因为默认就是center),不错吧,呵呵:
Runable Code:
[Ctrl+A to select all. Prompt:You can edit these codes before run.]
Comments Feed: http://www.colacat.cn/feed.asp?q=comment&id=87
View Mode: Show All |
Comments: 3 |
Trackbacks: 0 | Toggle Order | Views: 1845
[ 2008-08-13 17:55:34 ]
兄弟,你好,我的BLOG换了域名,正在DMOZ上更新收录信息,麻烦你帮我改一下域名,原punker.info改为rocklau.com,谢谢了
[ 2008-08-14 17:17:57 ]
Quotes From lau
兄弟,你好,我的BLOG换了域名,正在DMOZ上更新收录信息,麻烦你帮我改一下域名,原punker.info改为rocklau.com,谢谢了
[ 2008-08-23 02:52:02 ]
看了你的日志,不错很好,受益匪浅,绝对的好。






