空间模板CSS代码问题

来源:百度知道 编辑:UC知道 时间:2024/05/25 09:01:11
/*头部*/#header{height:150px;background:url(http://hiphotos.baidu.com/0454ldk/pic/item/50deabc28870d3040ef477bc.jpeg
?v=1) no-repeat 50% 0%;}#header div.lc{}#header div.rc{}代码各是什么意思?

#header 主体部分{height:89px;background:#3399CC}#header div.lc 左背景图{background:url(temp1/hdl.jpg) no-repeat}#header div.rc 右背景图{background:url(temp1/hdr.jpg) no-repeat top right}--------------------------------------------#header{height:150px;background:url(http://hiphotos.baidu.com/0454ldk/pic/item/50deabc28870d3040ef477bc.jpeg
?v=1) no-repeat 50% 0%;} /*主背景图*/#header div.lc{}/*左背景图*/#header div.rc{}/*右背景图*/(一般的模板,比较简单的,不需要左右背景图。括号内像你这段不填即可)-----------------------------------------------no-repeat 50% 0% /*背景图不重复,就像这样单独一个图出来不会横排平铺或者竖排平铺,一般模板都是这样*/height:150px /*模板头图高度,就像你这段代码里的那个图的一样,图片的高度是多少,这个就填写多少,可以大一点,但是不能小*/;background:url(填写图片地址,看到这段,一般都添加jpg/bmp/gif为结尾的图片)/*填写图片地址*/

#header{height:150px;background:url
空间标题栏图片,就是你空间名字那个地方的图片,下面的是图片地址链接
然后是不平铺

下面两个分别是,标题栏左边图片和标题栏右边图片