css 溢出border 隐藏问题

来源:百度知道 编辑:UC知道 时间:2024/05/27 19:04:51
下面一段显示底边border,一段是虚线,一段是实线,谁可以帮忙弄出都是显示实线的!

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">

.left1_body{border:1px solid #7DC7ED;height:55px;width:728px;overflow:hidden;}
.left1_body ul {height:55px;width:728px;padding:0; margin:0;overflow:hidden;}
.left1_body ul li {float:left;height:27px;line-height:27px;width:120px; text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;position:re

去掉li里面的“position:relative;”

.left1_body ul {height:55px;width:728px;padding:0; margin:0;overflow:hidden;border:1px solid #7DC7ED;}
给ul一个边框,能出现实线,但也还有虚线。

定义一个类样式
.left1_body ul .aa{border-bottom:none;}
给最后一行的li都引用一下