[thelist] quick css text layout float?

Ben Morrison ben.morrison at dogstardesign.co.uk
Thu Jul 17 05:41:13 CDT 2003


On 17/7/03 11:32 am, "Andrew" <andrew at humanbehaviour.co.uk> wrote:

> this looks like the solution, however is there something for the first two
> letters etc
>
> p {font-size: 12pt}
> p:first-letter {font-size: 200%; float: left}
> <p>The first words of an article.</p>

Havent tried multiples before...

This may get messy due to varying font-heights

#small{
font-size: 12pt;}

#big {
font-size: 24pt;
float: left;
margin-top:-12pt;
margin-right:5px;
 }

<div id="big">The</div><div id="small">first words of an article.</div>

benjer




More information about the thelist mailing list