I'm not a fan of the other techniques on this site using behaviour (javascript) to tweak presentation (css/images), but this one had me looking twice. It requires ZERO changes to the HTML markup, the script just runs and creates Drop Caps. If I were to impliment this on a project I'd probably have to make 2 changes:
- Only add a dropcap to the first paragraph (could be accomplished via CSS from Applied to the Web and my next point).
- Embed the dropcap via an image replaced span (<span class="dropCapA">) rather than an actual image element so that I can control the context in which they appear i.e., #content .dropCapA but not #sidebar .dropCapA.
No comments:
Post a Comment