Could anyone explain why the leading "M" of the following paragraph :
<p style="margin-top: 2.3em"><!-- #BeginLibraryItem "/Library/Ugandan infant in a laundry basket.lbi" --><img id="Infant-Uganda-001"
src="Resources/Images/Photographs/Web/Scaled/240/Infant-Uganda.001.jpg" longdesc="../Resources/Images/Photographs/Web/Longdesc/Infant-Uganda-001.html" alt="Ugandan infant in a laundry
basket" width="320" height="240"><!-- #EndLibraryItem -->M<span class="Keyphrase">any of us</span> are lucky enough to take anaesthesia for granted. Surely a world
without safe anaesthesia has long been confined to the history books ? Not in the developing world, where hospitals lack suitable equipment, medicines and trained staff.</p>
is not matched by this CSS rule :
DIV.Content P:first-letter {color: red; letter-spacing: 0.075em}
whereas the leading "M" of the following paragraph is ?
<p style="margin-top: 2.3em">M<span class="Keyphrase">any of us</span> are lucky
enough to take anaesthesia for granted. Surely a world without safe anaesthesia has long been confined to the history
books ? Not in the developing world, where hospitals lack suitable equipment, medicines and trained
staff.</p>
The obvious difference is that an <IMG> element intervenes,
but should that really cause the "M" not to be classed as
the first /letter/ of the paragraph ?
Live URLs for those wishing to investigate further :
With intervening image : http://safe4all.org.uk/Index-images.html
(Valid HTML 4.01 Strict, valid CSS Level 3,
one error at CSS Level 2.1)
Without intervening image : http://safe4all.org.uk/Index.html
(Valid HTML 4.01 Strict, valid CSS Level 3,
one error at CSS Level 2.1)
Philip Taylor
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/