网页设计css解释
来源:百度知道 编辑:UC知道 时间:2024/05/26 18:09:23
BODY {
FONT-SIZE: 12px; BACKGROUND: url(images/bg.png) #fff repeat-x
}
请问这段代码什么意思
FONT-SIZE: 12px; BACKGROUND: url(images/bg.png) #fff repeat-x
}
请问这段代码什么意思
BODY {
FONT-SIZE: 12px; BACKGROUND: url(images/bg.png) #fff repeat-x
}
BODY 整个页面设置
FONT-SIZE:字体大小 12象素
BACKGROUND 背景url(images/bg.png)url连接地址为images目录下 bg.png做为背景图片
#fff repeat-x 背景颜色为白 repeat-x时,图象横向重复
repeat-x :把图象向横向平铺。
repeat-有,为纵向
text-decoration:none
body 设置整个页面CSS样式
font:字体大小 12象素
background 背景url(images/bg.png)url连接地址为images目录下 bg.png做为背景图片 #FFF背景颜色,repeat-x 如果背景图片横向小那就重复,还有就是repeat-y;
text-decoration:none;去掉下划线