Css 知识点
1:background-position
加之前:
background: url("../images/nav-bg.png") repeat-y scroll top left #e3e5e7; background-position: initial initial; background-repeat: initial;
加之后:
background: url("../images/nav-bg.png") repeat-y scroll top left #e3e5e7;
background-position: initial initial;
background-repeat: initial initial;
2:阴影图片(结合background和padding-bottom)
加之前:
background: url("../images/shadow-bottom.png") repeat-x scroll bottom left transparent;
position: relative;
z-index: 0;
加之后:
background: url("../images/shadow-bottom.png") repeat-x scroll bottom left transparent;position: relative;
z-index: 0;
padding-bottom: 14px;
2:z-index(dom层叠)
加之前:
z-index: 30;
加之后:
z-index: 0;