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

border-left-width

By Jennifer Kyrnin, About.com

border-left-width Description:

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

border-left-width in CSS Versions:

border-left-width Syntax:

border-left-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-left-width setting as the parent.

border-left-width Initial Value:

medium

border-left-width Applies To:

All elements.

border-left-width Inheritance:

This property is not inherited.

border-left-width Browser Support:

border-left-width Examples:

standard border-left-width

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

border-left-width Special Notes:

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

More border-left-width Information:

Return to the Style Library

Explore Web Design / HTML

More from About.com

  1. Home
  2. How does the vertical-align style property work?
  3. Playing with the Cursor
  4. CSS
  5. Style Properties
  6. CSS Style Property: border-left-width

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

All rights reserved.