Introduction To CSS
Box Properties
The following properties deal with the dimensions of box elements. If applied to table tags (eg <td>) they will specify sizes and borders. If applied to paragraph or link tags they add features which are not available in HTML alone.
width: length in pixels or percentage;
height: length in pixels or percentage;
width: 200px;
border: border-width border-style border-colour;
border: 2px solid red;
Individual borders can be defined using the following,
border-top:
border-bottom:
border-left:
border-right: