<html><head><title>边框风格属性 border-style </title><style type="text/css">.d1 {border-style:none;}.d2 {border-style:solid;}.d3 {border-style:dotted;}.d4 {border-style:dashed;}.d5 {border-style:double;}.d6 {border-style:groove;}.d7 {border-style:ridge;}.d8 {border-style:inset;}.d9 {border-style:outset;}</style></head><body><div>这个div的CSS边框风格(border-style)属性缺省值是none。</div><br><div class = "d1">这个div的CSS边框风格(border-style)属性是none。</div><br><p class = "d2">这个div的CSS边框风格(border-style)属性是solid。</p><br><p class = "d3">这个div的CSS边框风格(border-style)属性是dotted。</p><br><div class = "d4">这个div的CSS边框风格(border-style)属性是dashed。</div><br><div class = "d5">这个div的CSS边框风格(border-style)属性是double。</div><br><div class = "d6">这个div的CSS边框风格(border-style)属性是groove。</div><br><div class = "d7">这个div的CSS边框风格(border-style)属性是ridge。</div><br><div class = "d8">这个div的CSS边框风格(border-style)属性是inset。</div><br><div class = "d9">这个div的CSS边框风格(border-style)属性是outset。</div><br></body></html> 把前面的div改成p 效果是一样的就是间距 有点变化 还有什么别的什么不同么 请高手指教
- 2 回答
- 0 关注
- 546 浏览
添加回答
举报
0/150
提交
取消