Funny drop caps...

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
nielsene
DevNet Resident
Posts: 1834
Joined: Fri Aug 16, 2002 8:57 am
Location: Watertown, MA

Funny drop caps...

Post by nielsene »

So along with the acronym stuff, I'm also fooling around with drop caps just to understand how they could work.

A same page with some debugging borders shown is at
http://compinabox.sourceforge.net/index-drop.php

I plan to only use the drop cap on the first paragrah after an h1, if I even decide to use them, but for now I have them on every paragrah. I don't understand why the latter paragraphs have their padding all screwed up nor why the text doesn't wrap properly. (At least on the MSIE 6 I have availible now to test on.... normally I text with NN 4, Mozilla 1.1 and MSIE 5.5 and 6, but today I only have IE 6).

I also had to do lots of messing with text-indent and margin-left to get the drop cap to not being halfway across the paragraph. If anyone knows why, or what's the better way, I'ld like to hear about it.

The style sheet is at http://compinabox.sourceforge.net/master-drop.css
Post Reply