untitled

(John Hannent) #1
CSS2 includes a drop-shadowproperty, but mercifully, no browser on earth
has implemented this feature. If you want to create a drop-shadow, do it in
your graphics application, save it as a .jpg file, and then put the resulting
<img>element into your Web page. Figure 5-12 illustrates the 3D effect you
can get by adding a drop-shadow effect to text:

Figure 5-12:
Drop
shadows
can be a
great visual
effect, but
create them
in a
graphics
application
(like this),
not with
CSS.

106 Part II: Looking Good with CSS

Free download pdf