W3C home > Mailing lists > Public > www-style@w3.org > August 2004

Re: [css4-text] 'text-autospace' and French guillemets

From: Etan Wexler <ewexler@stickdog.com>
Date: Sat, 7 Aug 2004 10:53:59 -0700
To: www-style@w3.org
Message-Id: <C2B6D962-E89A-11D8-865C-000502CB1B77@stickdog.com>

Alexander Savenkov wrote to <mailto:www-style@w3.org> on 6 August 2004 
in "Re: [css4-text] 'text-autospace' and French guillemets" 
(<mid:1363665531.20040806124737@xmlhack.ru>):

> Aren't these to be solved with typesetting?

Do you mean using characters to produce certain glyphs? I can't answer 
the question because I don't understand it.

> I'm not asking to include a special CSS property to allow thinner 
> space between inline list items: 1, 2, 3.

Presumably, each list item is marked up, so margin or padding 
properties would be appropriate. Yes?

Say that I have a fragment of text:

«foo»

In HTML and in XHTML, I can mark that up as

<span class="Pi">«</span>foo<span class="Pf">»</span>

...and apply the CSS

span.Pi { margin-right: 0.2ex; }
span.Pf { margin-left: 0.2ex; }

Okay, so that's one solution. Or semi-solution. But it is cumbersome 
and doesn't work for markup languages which lack a "span"-like element 
type.

-- 
Etan Wexler. 
Received on Saturday, 7 August 2004 17:56:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:32 GMT