1. Home
  2. Computing & Technology
  3. Web Design / HTML

border-bottom-width

By Jennifer Kyrnin, About.com

border-bottom-width Description:

The border-bottom-width property defines the width of the bottom border of the element.

border-bottom-width in CSS Versions:

border-bottom-width Syntax:

border-bottom-width: thin | medium | thick | <length> | inherit

  • thin, medium, or thick
    The length of these keywords is user-agent dependent, but thin <= medium <= thick.
  • <length>
    A specific length (include unit of measure).
  • inherit
    The element should have the same border-bottom-width setting as the parent.

border-bottom-width Initial Value:

medium

border-bottom-width Applies To:

All elements.

border-bottom-width Inheritance:

This property is not inherited.

border-bottom-width Browser Support:

border-bottom-width Examples:

standard border-bottom-width

<p style="border-bottom-width : 2em;">
This paragraph has a 2 em bottom border.
</p>

border-bottom-width Special Notes:

  • Negative values are permitted.
  • If you don't set the border-style, the border will not display.

More border-bottom-width Information:

Return to the Style Library

Explore Web Design / HTML

More from About.com

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. CSS
  5. Style Properties
  6. CSS Style Property: border-bottom-width

©2008 About.com, a part of The New York Times Company.

All rights reserved.