HTML and CSS Reference
In-Depth Information
Figure 8-16. The border-style property nicely frames
images
8.4.7.6. Borders in shorthand
Specifying a complex border can get tedious, so the CSS2 standard
provides five shorthand properties that accept any or all of the width,
color, and style values for one or all of the border edges. The border-
top, border-bottom, border-left , and border-right properties affect
their respective borders' sides; the comprehensive border property con-
trols all four sides of the border simultaneously. For example:
border-top: thick solid blue
border-left: 1ex inset
border-bottom: blue dashed
border: red double 2px
Search WWH ::




Custom Search