From Web Education Community Group
< CSS‎ | Properties
Revision as of 11:24, 20 November 2011 by Rworth (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


The border-bottom-width property sets the width of the bottom border of a box.


Values [[thin | medium | thick] | <length>] | inherit
Initial value medium
Applies to all elements
Inherited No


  • thin
    A thin border.

  • medium
    A medium border.

  • thick
    A thick border.

  • <length>

  • inherit
    Takes the same specified value as the property for the element's parent.


Example A


 h1 {
   border-top-width: 1px;
   border-right-width: 0px;
   border-bottom-width: 1px;
   border-left-width: 0px;
   border-style: solid;


    <h1>CSS border property example</h1>

Csslist2 border-width.png

CSS Reference

The CSS specification defines the border-bottom-width property in 8.5.1 Border width.

See also