border
英 [ˈbɔ:də(r)] 美 [ˈbɔ:rdə(r)]
n.边界;边;镶边;包边
vt.& vi.与…接界,在…的边上
vt.沿…的边,环绕…,给…镶边
vi.近似,毗邻
第三人称单数: borders 复数: borders 现在分词: bordering 过去式: bordered 过去分词: bordered
style
英 [staɪl] 美 [staɪl]
n.方式;样式;时髦;仪表,品位
vt.设计;称呼;为…造型
vi.使符合流行式样;用刻刀作装饰画
第三人称单数: styles 复数: styles 现在分词: styling 过去式: styled 过去分词: styled
css border-style属性 语法
作用:用于设置元素所有边框的样式,或者单独地为各边设置边框样式。
说明:只有当这个值不是 none 时边框才可能出现。
注释:任何的版本的 Internet Explorer (包括 IE8)都不支持属性值 "inherit" 或 "hidden"。
css border-style属性 示例
<html>
<head>
<style type="text/css">
p.dotted {border-style: dotted}
p.dashed {border-style: dashed}
p.solid {border-style: solid}
p.double {border-style: double}
p.groove {border-style: groove}
p.ridge {border-style: ridge}
p.inset {border-style: inset}
p.outset {border-style: outset}
</style>
</head>
<body>
<p class="dotted">A dotted border</p>
<p class="dashed">A dashed border</p>
<p class="solid">A solid border</p>
<p class="double">A double border</p>
<p class="groove">A groove border</p>
<p class="ridge">A ridge border</p>
<p class="inset">An inset border</p>
<p class="outset">An outset border</p>
</body>
</html>运行实例 »
点击 "运行实例" 按钮查看在线实例