两个栏目同样的列表数却对不齐,该怎么办?
时间:2011-05-13
来源:互联网
好像是左边列表的行与行之间的间距比右边的小,但是我不知道怎么调
下面是css代码:
.rightc h2 span a, .leftc h2 span a, #sidebar h2 span a { color:#fff; }
.rightc h2 span a:hover, .leftc h2 span a:hover, #sidebar h2 span a:hover { color:#fff; text-decoration:none; }
.rightc ul { width:420px; border:1px solid #e3e3e3; margin-bottom:8px; padding:6px 10px; background:#fff; }
.rightc ul li { height:26px; line-height:26px; padding-left:10px; background:url(li_arrow.png) no-repeat left center; text-align:right; }
.rightc ul li span { font-size:11px; color:#999; }
.leftc ul, #sidebar ul { margin:0 0 8px; }
.box { width:228px; border:1px solid #e3e3e3; margin:8px 0; padding:6px 10px; background:#fff; }
.box li { height:26px; line-height:26px; padding-left:10px; background:url(li_arrow.png) no-repeat 0 9px; overflow:hidden; }
box和leftc都是左侧的,rightc是右侧的,求大虾帮忙解决一下,在线等。
页面是这个:http://zscgreat.gotoip4.com/
推荐签名和个性签名这两个栏目
下面是css代码:
.rightc h2 span a, .leftc h2 span a, #sidebar h2 span a { color:#fff; }
.rightc h2 span a:hover, .leftc h2 span a:hover, #sidebar h2 span a:hover { color:#fff; text-decoration:none; }
.rightc ul { width:420px; border:1px solid #e3e3e3; margin-bottom:8px; padding:6px 10px; background:#fff; }
.rightc ul li { height:26px; line-height:26px; padding-left:10px; background:url(li_arrow.png) no-repeat left center; text-align:right; }
.rightc ul li span { font-size:11px; color:#999; }
.leftc ul, #sidebar ul { margin:0 0 8px; }
.box { width:228px; border:1px solid #e3e3e3; margin:8px 0; padding:6px 10px; background:#fff; }
.box li { height:26px; line-height:26px; padding-left:10px; background:url(li_arrow.png) no-repeat 0 9px; overflow:hidden; }
box和leftc都是左侧的,rightc是右侧的,求大虾帮忙解决一下,在线等。
页面是这个:http://zscgreat.gotoip4.com/
推荐签名和个性签名这两个栏目

作者: zscgreat 发布时间: 2011-05-13
有没有大虾懂这个的,小弟等很急啊!!!!!!
作者: zscgreat 发布时间: 2011-05-13
你这样试试:
.rightc UL LI {
TEXT-ALIGN: right; --(改为)--->left
}
.rightc UL LI A {
float:left; ---------这个去掉
}
.rightc UL LI {
TEXT-ALIGN: right; --(改为)--->left
}
.rightc UL LI A {
float:left; ---------这个去掉
}
作者: yanguiqingcheng 发布时间: 2011-05-13
你之前那样其实在IE8,IE9、FF里是对齐的,应该就是IE6、IE7不行。。。
作者: yanguiqingcheng 发布时间: 2011-05-13
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28