CSS Tutorial (borders)

In CSS you can add a border to almost anything;
table { }, div { }, h1 { }, tr { } td { }, p { }... etc.

border-style:

This section is all about border-style:, there are 9 border styles that i know of, and here they are:

border-style:dashed;

border-style:dotted;

border-style:double;

border-style:groove;

border-style:hidden;

border-style:inset;

border-style:outset;

border-style:ridge;

border-style:solid;

Thats it! everything you need to know about border-style:!
back to top

border-width:

This section is all about border-width: it's dead simple as there arn't that many properties to change it to! You can set your border-width: in pixels, for example:

border-width:2px;

border-width:4px;

border-width:6px;


Or you can use the following terms to determine the border-width:

border-width:thin;

border-width:meduim;

border-width:thick;

Thats it! everything you need to know about border-width:!
back to top

border-(position):

You don't have to have your border all the way around the text, you can have it in just the position you want it.
You can use the term border-left: border-right: border-top: border-bottom: in place of border: to determine what you want for just that specific position.
Here are some examples:

border-top:

border-bottom:

border-left:

border-right: