Featured ProjectsPress Releases |
How to Make Drop Caps in HTML with Images or CSS
This technique is used to a great extent in magazine and newspaper articles, and in texts (denoting the beginning of a chapter). For that reason, many advertisers have adopted the technique in ads, with proven results. The technique has not been perpetuated to the web for a few reasons:
Image-Based Drop CapsDespite all of the problems outlined above, it is possible to make drop caps using images. For 10-12 pt. font (size="2") text on your site, I suggest making a series of drop caps - one for each letter of the alphabet, each number, and one quote - in 24 to 36 pt. text in a graphics software (the resulting image should be about 35 to 50 pixels high, and varying width). Load all of the images into a subdirectory of your images folder called "letters" and use them like this: <p> Drop caps can make your content look really nice. CSS Drop Caps
Here is a cool alternate way of creating XHTML drop caps using CSS2, supported by IE5.5+ and NS6+. In the future, this will become the definitive way to create this type of stylized text. <style> |
Design and content copyright Transio, LLC © 2007-2009. All rights reserved. Any and all reproduction without express written consent is strictly forbidden.
Transio
•
Software Development Miami
•
Web Design Miami
•
Web Marketing & SEO Miami
•
Serving Miami-Dade, Broward, and Palm Beach.