background:url(../images/list01.png) no-repeat 0 center;是什么意思background:url(../images/list01.png) no-repeat 0 center;background:url(../images/bg.png) no-repeat -4px -3px;这里面的后面两个值是什么意思0 center和 -4px -3px?

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/12 20:32:12
background:url(../images/list01.png) no-repeat 0 center;是什么意思background:url(../images/list01.png) no-repeat 0 center;background:url(../images/bg.png) no-repeat -4px -3px;这里面的后面两个值是什么意思0 center和 -4px -3px?

background:url(../images/list01.png) no-repeat 0 center;是什么意思background:url(../images/list01.png) no-repeat 0 center;background:url(../images/bg.png) no-repeat -4px -3px;这里面的后面两个值是什么意思0 center和 -4px -3px?
background:url(../images/list01.png) no-repeat 0 center;是什么意思
background:url(../images/list01.png) no-repeat 0 center;
background:url(../images/bg.png) no-repeat -4px -3px;
这里面的后面两个值是什么意思0 center和 -4px -3px?

background:url(../images/list01.png) no-repeat 0 center;是什么意思background:url(../images/list01.png) no-repeat 0 center;background:url(../images/bg.png) no-repeat -4px -3px;这里面的后面两个值是什么意思0 center和 -4px -3px?
background:url(../images/list01.png) no-repeat 0 center;
的意思是 图像地址 不重复 水平位置0 垂直位置居中
0 center 的意思就是 水平位置0 垂直位置居中
-4px -3px 的意思就是 水平位置-4px 垂直位置-3px
这两个值和background-position 属性是一样的,即设置背景图像的起始位置.
这个属性设置背景原图像的位置,背景图像如果要重复,将从这一点开始.
默认值:0% 0%
可能的值
top left
top center
top right
center left
center center
center right
bottom left
bottom center
bottom right (以上,如果您仅规定了一个关键词,那么第二个值将是"center".)
x% y% ( 第一个值是水平位置,第二个值是垂直位置.左上角是 0% 0%.右下角是 100% 100%.如果您仅规定了一个值,另一个值将是 50%.)
mpx npx (第一个值是水平位置,第二个值是垂直位置.左上角是 0 0.单位是像素 (0px 0px) 或任何其他的 CSS 单位.如果您仅规定了一个值,另一个值将是50%.)
您可以混合使用 % 和 position 值.

background:transparent url(images/yqlj_r4_c1.gif)repeat scroll 0 0 background:url(tupian/main_bg.gif) top repeat-x;是什么意思? URL css background:url(../images/new_active.png) no-repeat scroll 0 0 transparent;scroll 0 0 transparent background:url(images/share.png) no-repeat -999px -999px;中-999px background:url(images/nav_bg.gif) right -132px no-repeat; 中定位应怎么理解?谢谢 background:url(http://www.vip400.cc/dede_admin_login/.png)请问是什么意思呢 background. background background里的数值是什么意思?看这段:background:url(test.png) 0 -35px;里面的 0 和-35px分别表示的是什么意思? IE6下position:fixed的Bug;以及闪动问题为什么加了这个 *html{background-image:url(about:blank);background-attachment:fixed;} 还似乎没用! CSS代码求解释:background:url(nav-bar.gif) no-repeat right center;帮忙说明下background:url(nav-bar.gif) no-repeat right center;中的right和center是何作用 CSS求解释.background:url(1.jpg) no-repeat 0 50%; 0 和 50%代表的含义. background:url(../images/list01.png) no-repeat 0 center;是什么意思background:url(../images/list01.png) no-repeat 0 center;background:url(../images/bg.png) no-repeat -4px -3px;这里面的后面两个值是什么意思0 center和 -4px -3px? background:url(../images/news/nav6.jpg) no-repeat scroll 0 0 transparent这段代码中0 0 代表什么意思? CSS中 .nav{background:url(img/bgli_left.gif) repeat-x scroll left bottom;}重点解释scroll重点解释scroll.X轴左下角平铺 a:hover span{ background:url(btn_bg.gif) no-repeat right -37px;}这段CSS代码中,属性right的含义? Im