border property


What it does:
This property controls the width, style, and color of borders on an element. However, it only controls the borders all around. For more control, use the border-left, border-right, border-top, and border-bottom for each side.

HTML Equivalent:
<img src="URL" border="***">, <img src="URL" border="***">

Values:
border-width: Uses a border-width value to make the border
border-style: Uses a border-style value to make the border
border-color: Specify a hex color code to use as the border color.

Syntax:
class.name {border: border-width border-style border-color}

Example:
External Style Sheet: table.announcement {border: 2px dashed black;}
In-line: <table style="border: medium solid #669966">

CSS Properties: Contents

::Fonts
font-style
font-weight
font-family
color
::Text
text-align
text-decoration
text-transform
text-shadow
::Backgrounds
background-color
background-image
background-repeat
background-attachment
::Scrollbars ::Dimensions ::Margins and Padding
::Borders
Border
Border-width
Border-style