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 dif

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 To and CSS like .T_before_o { margin-right: -0.15em; display: inline-block; } :-) Tho

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 Many of us 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 trying to avoid overt marku

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 Seamon

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 https://bugzilla.mozilla.org/show_bug.

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

2011-09-27 Thread Ingo Chao
On Wednesday, September 28, 2011, Philippe Wittenbergh 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 any

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,

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: r

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 : > >Many of us are lucky enough to take anaesthesia for granted. Surely a world without safe anaesthesia has long been conf

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 : > >src="Resources/Images/Photographs/Web/Scaled/240/Infant-Uganda.001.jpg" > longdesc="../Resources/Images/Photographs/Web/Longdesc/Infant-Uganda-

[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 : Many of us 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,