News
Map
About

HTML Drop Cap

Author David Carter-Tod
Version 1.0
Last Modified 7/13/1998; 12:00:00 AM
More Info http://www.chre.vt.edu/dtod/frontier/htmldropCap.html
Download http://www.chre.vt.edu/dtod/frontier/htmldropCap.html
Description While it's easy in HTML to create a larger font, the trick to a drop cap is the alignment with the rest of the text and allowing that text to wrap nicely. Some people (e.g. the NY Times) do this with an image of a letter, but that seems excessive. Here's another way to do it -- essentially you create a borderless table, just for the first letter of your first word. The version I have here also capitalizes the rest of the first word. The usage is dropCap("Some Text String, but it can be only one word too"). It's handy because I can do this with my bodytext in a template, i.e. dropCap(bodyText)

News - Map - About ScriptMeridian

Copyright © 1998 ScriptMeridian. All rights reserved
All trademarks are the property of their respective owners.
4:19:49 PM Sunday, July 12, 1998