Border In CSS

Border Color

The CSS border properties allow us to specify the style and color of an element’s border.With CSS we can create styled border. In HTML we use tables to create borders around a text, but with the CSS border properties we can create borders with nice effects, and it can be applied to any element.   …

Border Color Read More »

Border Width

The width of elements borders is defined by the property border-width, which can have the values thin,medium, and thick, or a numeric value, indicated in pixels. The border width of any object can be set with any width using the tag/argument border-width. border-width will not take effect with out border style. Border style can be …

Border Width Read More »

Border Style

There are different types of borders to choose from. Below are shown 8 different types of borders asInternet Explorer 5.5 and Firefox 2 interprets them. All examples are shown with the color “gold” and the thickness “thick” but can naturally be shown in other colors and thicknesses.   Note: Some border style make not show …

Border Style Read More »

Side Border

Each side of the border can be handled separately using the these tags.   Usage: border-top: <border-top-width> || <border-style> || <border-color> ; border-left: <border-left-width> || <border-style> || <border-color> ; border-bottom: <border-bottom-width>|| <border-style> || <border-color> ; border-right: <border-right-width> || <border-style> || <border-color> ;   Each side of the border can be handled separately using this tags. …

Side Border Read More »

Border

borders: Instead of setting each side of borders separately, the whole thing can be done using the single property ( the border property).   Usage: border: <border-width> || <border-style> || <border-color>;   This will set the border to any object.   border : 5px dotted green – The border is set using the tag border. …

Border Read More »