CSS Examples: border

Examples

Here is an example of some text in a table cell with a one pixel, solid, black border.

Styles Used

.black {
	padding: 10px;
	width: 300px;
	border: 1px solid #000;
}