1. Computing

Discuss in my forum

border-bottom

By , About.com Guide

border-bottom Description:

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

border-bottom in CSS Versions:

border-bottom Syntax:

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

border-bottom Initial Value:

Not defined for shorthand properties.

border-bottom Applies To:

All elements.

border-bottom Inheritance:

This property is not inherited.

border-bottom Browser Support:

border-bottom Examples:

standard border-bottom

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

border-bottom Special Notes:

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

More border-bottom Information:

©2013 About.com. All rights reserved.