We Recommend

CSS: The Definitive Guide CSS: The Definitive Guide
Provides you with a comprehensive guide to CSS implementation, along with a thorough review of all aspects of CSS 2.1. Updated to cover Internet Explorer 7, Microsoft's vastly improved browser, this new edition includes content on positioning, text wrapping (nowrap), lists and generated content, table layout, user interface, paged media, and more.


Posted By

luman on 09/04/06


Tagged

dropcaps capital letter


Versions (?)


Who likes this?

7 people have marked this snippet as a favorite

jonhenshaw
meth
dertimbo
rikaizm
icarus
vali29
tedoe


Drop Caps


Published in: CSS 


URL: http://www.citrusmoon.net/dropcaps.html

  1. .cap
  2. {
  3. float: left;
  4.  
  5. width: 42px;
  6.  
  7. font-size: 55px;
  8.  
  9. line-height: 45px;
  10.  
  11. font-weight: normal;
  12.  
  13. color:#2DA44A;
  14.  
  15. font-family: arial, sans-serif;
  16. }
  17.  
  18. Example: <span class="cap">E</span>psum factorial non deposit quid pro quo hic escorol. Olypian quarrels et gorilla congolium sic ad nauseum. Souvlaki ignitus carborundum e pluribus unum. Defacto lingo est igpay atinlay. Marquee selectus non provisio incongruous feline nolo contendre. Gratuitous octopus niacin, sodium glutimate.

Report this snippet 

You need to login to post a comment.