Scholar Repository
Home>Manual>CSS Border-bottom Property

CSS Border-bottom Property

From http://www.w3schools.com (Copyright Refsnes Data)

CSS border-bottom Property


CSS Reference Complete CSS Reference


Definition

The border-bottom property is a shorthand property for setting all the properties for the bottom border in one declaration.

Inherited: No


JavaScript Syntax

CSS properties can also be dynamically changed with a JavaScript.

Scripting Syntax: object.style.borderBottom="thick solid blue"

In our HTML DOM tutorial you can find more details about the borderBottom property.

In our HTML DOM tutorial you can also find a full Style Object Reference.


Example

table

border-bottom: thin dotted #00FF00
}

span

border-bottom: solid #0000FF

Possible Values

Value Description
border-bottom-width
border-style
border-color
Sets the properties for the bottom border



Try-It-Yourself Demos

All the bottom border properties in one declaration
This example demonstrates a shorthand property for setting all of the properties for the bottom border in one declaration.


CSS Reference Complete CSS Reference

From http://www.w3schools.com (Copyright Refsnes Data)

Home>Manual>CSS Border-bottom Property