[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff] dropcap in HTML could be easier?
From: |
Dorai Sitaram |
Subject: |
[Groff] dropcap in HTML could be easier? |
Date: |
Wed, 30 Mar 2005 14:55:35 -0500 (EST) |
I was wondering why Gaius had to generate an image for .DC for the HTML output.
Using the following CSS declaration
.dropcap {
line-height: 90%;
font-size: 400%;
float: left;
}
and enclosing the letter to be dropped inside
<span class=dropcap> ... </span>
produces a decent dropcap. (The color argument can be added with another
enclosing <span>.)
I think this trick is from the authors of CSS themselves, Håkon Wium Lie
and Bert Bos.
- Re: [Groff] developers only?, (continued)
- Re: [Groff] developers only?, Jorgen Grahn, 2005/03/29
- Re: [Groff] developers only?, Otavio Exel, 2005/03/29
- Re: [Groff] developers only?, Heinz-Jürgen Oertel, 2005/03/29
- Re: [Groff] developers only?, Alejandro López-Valencia, 2005/03/29
- Re: [Groff] developers only?, Tadziu Hoffmann, 2005/03/29
- Re: [Groff] developers only?, Otavio Exel, 2005/03/30
- Re: [Groff] developers only?, Tadziu Hoffmann, 2005/03/30
- Re: [Groff] developers only?, Werner LEMBERG, 2005/03/30
- Re: [Groff] developers only?, Tadziu Hoffmann, 2005/03/30
- Re: [Groff] developers only?, Peter Schaffter, 2005/03/30
- [Groff] dropcap in HTML could be easier?,
Dorai Sitaram <=
- Re: [Groff] developers only?, Werner LEMBERG, 2005/03/30
- Re: [Groff] developers only?, Ted Harding, 2005/03/29
- Re: [Groff] developers only?, Ted Harding, 2005/03/30
- Re: [Groff] developers only?, Otavio Exel, 2005/03/30
- Re: [Groff] developers only?, Keith Marshall, 2005/03/30
- Re: [Groff] developers only?, Jorgen Grahn, 2005/03/30
- Re: [Groff] developers only?, Larry McVoy, 2005/03/30
- Re: [Groff] developers only?, Jorgen Grahn, 2005/03/30
- Re: [Groff] developers only?, M Bianchi, 2005/03/30
- Re: [Groff] developers only?, Otavio Exel, 2005/03/31