白天 |  黑夜

CSS初级教程 边框

船长 发表于 2009-06-23 10:11 | 分类:css

边框可以应用到在主体元素body中的绝大部分HTML元素中。 

创建一个包围着元素的边框,你所需要的是边框样式border-style。它们的值可以是 solid、dotted、dashed、double、groove、ridge、 inset和outset。(你有必要每个值都试一试,看看效果如何——译者注)

边框宽度border-width为边框设置宽度,通常用像素来表示。当然,还可以单独设置四个方向的边框属性,它们是border-top-width、border-right-width、 border-bottom-width和border-left-width。

评论(1) 阅读全文 回到顶部

css教程:CSS边框border属性的应用

船长 发表于 2009-05-27 10:54 | 分类:css

The CSS border properties define the borders around an element.
CSS边框属性用来定义环绕元素的边框(样式)

设置四个边框的样式 Set the style of the four borders
This example demonstrates how to set the style of the four borders.
Examples 实例:

评论(0) 阅读全文 回到顶部

web集结号致力于

  • Css技巧及模板
  • Javascript技巧及特效
  • JQuery插件及应用
  • 建站图片资源
  • 网络休闲及生活感悟