Re: [css-d] Query on P:First-letter

2011-09-28 Thread Philip TAYLOR (Webmaster, Ret'd)
Philippe Wittenbergh wrote: Have you tested this in anything beside a Gecko browser ? To be honest, no. I develop using solely Seamonkey, and only when the site renders successfully in that do I look to see how it might render in other browsers. See

Re: [css-d] Query on P:First-letter

2011-09-28 Thread Jukka K. Korpela
28.9.2011 10:04, Philip TAYLOR (Webmaster, Ret'd) kirjoitti: See https://bugzilla.mozilla.org/show_bug.cgi?id=159403 I.e. text-indent and :first-letter don't work with a img before the first letter. Thank you, that is an interesting and useful lead. Since I /need/ it to work in

Re: [css-d] Query on P:First-letter

2011-09-28 Thread Philip TAYLOR (Webmaster, Ret'd)
Jukka K. Korpela wrote: Since you already have markup like Mspan class=Keyphraseany of us/span it would seem natural to put the initial letter in a classed span, making it trivial to refer to it in CSS. Assuming, of course, that you can affect the markup. Yes, I can indeed; I was just

Re: [css-d] Query on P:First-letter

2011-09-28 Thread Jukka K. Korpela
28.9.2011 10:54, Philip TAYLOR (Webmaster, Ret'd) wrote: And yes, I'd love to be able to add kern-pairs in CSS, but I don't think CSS has evolved that far yet :-) But you _can_ do that - just use markup like span class=T_before_oT/spano and CSS like .T_before_o { margin-right: -0.15em;

Re: [css-d] Query on P:First-letter

2011-09-28 Thread Philippe Wittenbergh
On Sep 28, 2011, at 4:54 PM, Philip TAYLOR (Webmaster, Ret'd) wrote: And yes, I'd love to be able to add kern-pairs in CSS, but I don't think CSS has evolved that far yet :-) I personally hope it won't be possible anytime soon. Considering how text is handled by different OS and even by

[css-d] Query on P:First-letter

2011-09-27 Thread Philip TAYLOR (Webmaster, Ret'd)
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

Re: [css-d] Query on P:First-letter

2011-09-27 Thread Philippe Wittenbergh
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

Re: [css-d] Query on P:First-letter

2011-09-27 Thread Ingo Chao
On Wednesday, September 28, 2011, Philip TAYLOR (Webmaster, Ret'd) p.tay...@rhul.ac.uk 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

Re: [css-d] Query on P:First-letter

2011-09-27 Thread David Laakso
On 9/27/11 7:29 PM, Philip TAYLOR (Webmaster, Ret'd) wrote: Could anyone explain why the leading M of the following paragraph : Philip Taylor Dunno. But, this will do...:-) /*SPAN.Keyphrase {text-transform: uppercase; font-size: 1.4ex; font-weight: bold; letter-spacing: 0.075em; color:

Re: [css-d] Query on P:First-letter

2011-09-27 Thread Philippe Wittenbergh
On Sep 28, 2011, at 9:10 AM, Ingo Chao wrote: http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#first-letter The ::first-letter pseudo-element represents the first letter of an element, if it is not preceded by any other content (such as images or inline tables) on its line. Yes,

[css-d] Query on P:First-letter

2011-09-27 Thread Ingo Chao
On Wednesday, September 28, 2011, Philippe Wittenbergh e...@l-c-n.com wrote: On Sep 28, 2011, at 9:10 AM, Ingo Chao wrote: http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#first-letter The ::first-letter pseudo-element represents the first letter of an element, if it is not preceded by