CSS3 is developing a border-radiusproperty that allows you to further
refine the appearance of borders by rounding the corners; a border-image
property that you could use with fancy graphics to build ornate frames; and
some associated properties to rotate and otherwise transform ornate bor-
ders. Progress marches on.
Mixing and matching styles .............................................................
If you like, you can use only a one-sided border (or two- or three-sided). You
can even to mix and match styles so that, for example, one side is dotted and
the rest are double lines. Why you would ever want to do this is another
issue, but here’s an example of a graphic bordered on the top and right with
the dotted style, the bottom with no border, and the left side the dashed
style:
Figure 10-3:
The Mozilla
Firefox
browser
displays
border
styles
slightly
differently
from
Internet
Explorer, but
it’s all good.
188 Part III: Adding Artistry: Design and Composition with CSS