p:first-letter and first word

Giganews Newsgroups
Subject: p:first-letter and first word
Posted by:  emf (emfr…@gmail.com)
Date: Wed, 11 Sep 2019

p { text-align: justify; }
h2 + p:first-letter {
    font-size: 400%;
    font-weight: bold;
    padding: 0.08em 0.1em 0 0;
    float: left;
}

I have the paragraph justified, and its first letter big. When
the first letter, however, is the first letter of a word, I
don't want the rest of the word to be separated from its first
letter with space due to the justification. I want it to be like
if the first word (only) was aligned left. How can I do it?
Thanks, Eustace

--
It ain't me, babe - A radical reinterpretation
http://emf.neocities.org/bd/itaintmebabe.html

Replies