1. Computing & Technology

Discuss in my forum

border-left

By , About.com Guide

border-left Description:

The border-left property is a shorthand tag to define all the left border style properties of an element.

border-left in CSS Versions:

border-left Syntax:

border-left: [ <border-left-width> || <border-style> || <color> ] | inherit

border-left Initial Value:

Not defined for shorthand properties.

border-left Applies To:

All elements.

border-left Inheritance:

This property is not inherited.

border-left Browser Support:

border-left Examples:

standard border-left

<p style="border-left : 2em solid #c00;">
 This paragraph has a 2 em solid red left border.
 </p>

border-left Special Notes:

  • If you omit the color value, the color will be the same as the color value for the element.

More border-left Information:

©2012 About.com. All rights reserved.

A part of The New York Times Company.