height:auto;高度auto是自动 line-height:36px; 行高,就是每个行里字的行高 margin:0 auto; 外边距,顺时针四个方向比如:margin:1xp 2px 3px 4px分别代表上1 左2 下3 右4 background:url(../images/footer_1_bg.jpg) no-repeat left center; 背景图片,不平铺,水平居左,垂直居中 color...
css不懂 这句是什么意思
text-align:left;字体对齐方式
width:1002px;宽度
height:auto;高度auto是自动
line-height:36px; 行高,就是每个行里字的行高
margin:0 auto; 外边距,顺时针四个方向比如:margin:1xp 2px 3px 4px分别代表上1 左2 下3 右4
background:url(../images/footer_1_bg.jpg) no-repeat left center; 背景图片,不平铺,水平居左,垂直居中
color:#6f4b0d字体颜色
.footer_1 a{padding-left:15px;}.表示在用了.footer_1样式的元素里面的A标签的左边内边距是15PX。
footer_1 a:link,.footer_1 a:visited,.footer_1 a:active{color:#6f4b0d;}表示在用了.footer_1样式的元素里面的A三种状态时候的字体颜色。其它这里有点多余,你只需要设置A就可以了,其它的会继承
.footer_1 a:hover{color:#c07d00;}这个是鼠标移上去的时候,字体颜色。
PS:其实这些都是CSS中基本的东西,,,建议,下载一份CSS的帮助文件,或者上W3C去看看每个属性的用法,,2014-03-06
文本靠左对齐
text-align:left;
宽度为1002像素
width:1002px;
高度是自动调节的
height:auto;
文本每行的高度为36像素
line-height:36px;
上下外边距为0, 左右自动(出来效果是居中)
margin:0 auto;
背景设置:
用../images/footer_1_bg.jpg这张照片作为背景,不重复使用,靠左,背景颜色(没有图片的部分)为#6F4B0D
background:url(../images/footer_1_bg.jpg) no-repeat left center; color:#6f4b0d;}2014-03-06
text-align:left(文本对其:左); width:1002px(宽度:1002像素); height:auto(高度:自动); line-height:36px(行高:36像素); margin:0 auto(外边距:[上下]0 [左右]自动); background:url(../images/footer_1_bg.jpg) no-repeat left center(背景图片); color:#6f4b0d(颜色:#6f4b0d);2014-03-06
text-align:left; //字体左对齐width:1002px; //宽度为1002像素height:auto; //高度自增line-height:36px; //行高为36像素margin:0 auto; //margin上下为零,左右自动计算。(通常用来设置模块居中) background:url(../images/footer_1_bg.jpg) no-repeat left center; //背景图不平铺,靠左对其,垂直居中color:#6f4b0d; //设置字体颜色2014-03-06