该CSS属性用来设定下边框宽度,风格和颜色。边框区域的定义,请参见CSS 盒子模式 (Box Model) 。
值: [ <'border-width'> || <'border-style'> || <color> ] | inherit
| 可用值 | 值的说明 |
| width | border-bottom-width 值 |
| style | border-bottom-style 值 |
| color | border-bottom-color 值 |
border-bottom 是 border-bottom-width, border-bottom-style, border-bottom-color 的一种快捷的综合写法。
如果 color 值没有设,则采用文本的颜色。
.d1 {border-bottom:solid red;}
.d2 {border-bottom:5px solid #FF0000;}
.d3 {border-bottom:thick solid;}
否
所有元素
作者或编者:布啦布啦 最近更新日期:2007-05-01 参考来源:www.BlaBla.cn 布啦布啦网页教程与代码© 2005-2008 BlaBla.cn 版权所有