首页>问答>问答首页
好奇怪的事情,用着IE7的网页高手进来看看,解决再加分
有一个源码如下:
#ulist ul{list-style:none;height:auto}
#ulist li{float:left;width:140px;margin-left:3px;line-height:40px;border-bottom:1px dotted #e1e1e1;}
#ulist a:hover{ font-weight:bold;}
.grayBg{ background:gray center top; padding:0px 0px 0;}
.grayBg div{ padding:3px 7px;border:1px solid gray;}
.grayBg div.on{ background:#fff; border:1px solid #e1e1e1;}
1
2
3
4
4
5
6
7
8
9
10
11
12
13
14
15
我想的是让鼠标滑过后全白,可它为何下面要留一点是什么原理.
有个方法是把ulist ul设成40px,然后每四个用ul列一遍就可以实现,
现在问题是我要列的东西很多,我只想用一个ul列出所有的,这就不能把ulist ul设成40px,这样的话后面出不来.
所以不知咋办,这是在ie7里,在6里好象还好.
为您推荐: