当前位置: 首页 > 网络学院 > 网页制作基础教程 > CSS > CSS Border属性

CSS
CSS 介绍
CSS 语法
使用 CSS
CSS 背景
CSS 文字
CSS 字体
CSS 边框
CSS 边距
CSS 填充
CSS 列表
CSS 尺寸
CSS 类别
CSS 定位
CSS 伪类
CSS 伪元素
CSS2 Media类型
CSS 摘要
CSS 实例
CSS2 参考资料
CSS2 打印

CSS Border属性


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 355 ::
收藏到网摘: n/a

The border property is a shorthand property for setting all of the properties for the four borders in one declaration.
border属性是一种可以用一句声明就能色绘制所有四条边框属性的速记法。

Note: This property can not set a different value for each side of the border, like "margin" and "padding".
注意:这个属性不能针对每一个不同位置的边框进行设置,像"margin"和"padding"

继承性:

举例

p

border: thin dotted #00FF00
}

span

border: solid #0000FF

可用值

描述
border-width
border-style
border-color
Sets the properties for the four borders
设置四边的属性

评论 (0) All

登陆 | 还没注册?