On Sep 28, 2011, at 8:29 AM, Philip TAYLOR (Webmaster, Ret'd) wrote:

> 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&nbsp;?&nbsp; 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&nbsp;?&nbsp; 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 ?

Have you tested this in anything beside a Gecko browser ?
See https://bugzilla.mozilla.org/show_bug.cgi?id=159403

WFM in WebKit and Opera.

Philippe
--
Philippe Wittenbergh
http://l-c-n.com/






______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
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/

Reply via email to