September 2014
Intermediate to advanced
148 pages
2h 15m
English
CHAPTER 17
![]()
Border
The border properties are used to format the border around elements. They can be applied to any element and they do not inherit.
border-style
To make the border visible around an element, the border-style property has to be set to a value other than none, which is the default value.
border-style (1-4) | border-top-style |border-right-style | border-bottom-style |border-left-style : none | dashed | dotted | double | groove | hidden | inset | outset | ridge | solid
The solid border style is the one most commonly used, but there are several other options for displaying a border, as seen in Figure 17-1. The hidden value removes ...
Read now
Unlock full access