Border Style
The border style is the most important of the border qualities because, according to the CSS specification, if there is no border style specified, the border does not exist. In other words, you must always declare the style or other border settings will be ignored.
Figure 19-7 shows the nine border styles you have to choose from.
Figure 19-7. The nine available border styles
Warning
There is a bug in Internet Explorer 6 for Windows that causes
borders specified as dotted
to
render as dashed
.
Border styles can be applied one side at a time or by using the
border-style
shortcut
property.
Get Web Design in a Nutshell, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.