<html>
<head>
<title>演示border的style属性</title>
<meta http-equiv="content-type" content="text/html;charset=gb2312" />
<style type="text/css">
div{
border-width:6px;
border-color:#66CC33;
margin:20px;
padding:5px;
background-color:#CCCCCC
}
</style>
</head>
<body>
<div style="border-style:dashed">the border-style of dashed</div>
<div style="border-style:dotted">the border-style of dotted</div>
<div style="border-style:double">the border-style of double</div>
<div style="border-style:groove">the border-style of groove</div>
<div style="border-style:hidden">the border-style of hidden</div>
<div style="border-style:inherit">the border-style of inherit</div>
<div style="border-style:inset">the border-style of inset</div>
<div style="border-style:none">the border-style of none</div>
<div style="border-style:outset">the border-style of outset</div>
<div style="border-style:ridge">the border-style of ridge</div>
<div style="border-style:solid">the border-style of solid</div>
</body>
</html>
<!--其中none和hidden都不会显示border,二者的效果完全相同,只是运用在表格中,hidden可以用来解决表格冲突的问题-->