border-top (CSS2)

Defines the properties for the top border for the element.

Syntax

[ border-width ] [ border-style ] [ border-color ] | inherit

Examples having uses of: 'border-top'

1 votes
1k views

List Columns

Unordered or ordered lists can be arranged in two, three, or more columns using nothing more than css. We force the list to break at the right point. If We want two columns, you need to float the list items left and set them at 50% width and for three columns would require a width of 33% and floated left, four would be 25% and so on.