XHTML & CSS Text Drop Shadows

Everything happens for a reason. Whether or not you understand the reason is irrelevant.
Dec
5

Overview:


Working a lot with Drupal and Magento, I figured out a cool way to have drop shadows on system generated text without having to use GD or ImageMagick to create text images, which can be less SEO friendly and more resource intensive.
Edit: Also, the CSS3 property for text shadows isn't very cross browser compatible at this point.

Using simple XHTML and CSS, it is easy to make a cool drop shadow on any text you want. It does look better on larger text.

Example:


Test Shadow
Test Shadow


Test Shadow
Test Shadow


Wrap Shadow
Wrap Shadow


Link Shadow


The Code:



Download:


Download the CSS and HTML files in a few different formats:

Compressed:
.tar.gz | .zip

Decompressed:
markup.html | style.css | markup_styles_inline.html