Skip to Content


CSS Reference / border

border

A shorthand property for setting the same width, color and style on all four borders of an element.

Values:

Examples:

  1. border: 1px;
  2. border: 1px dotted;
  3. border: thick solid #aaa;

Browser support:

  • Internet Explorer 4+
  • Netscape 4+
  • Opera 3.6+

Related properties:

back to list



Search

Sponsors

Logo design for $149

Advertise here