W3C home > Mailing lists > Public > www-style@w3.org > May 2011

Re: [css3-fonts] Styling per language

From: fantasai <fantasai.lists@inkedblade.net>
Date: Fri, 06 May 2011 13:59:55 -0700
Message-ID: <4DC4614B.5010104@inkedblade.net>
To: www-style@w3.org
On 05/06/2011 01:09 PM, Me wrote:
> With the popularisation of the goal to get web content that can exist universally, on all browsers, devices, and countries without writing an entire new site per each, I realised if it was possible or if the idea had been brought up to customise styling based on language?
> For example, text-aligned right if Hebrew or Arabic, bold for Chinese (Simplified), or a white colour if Spain-Spanish?
> The above were hypothetical ideas and in regards to the syntax, I am debating on what it could / would be because the CSS will not detect the language and convert the text, but would only check if a particular language is being used and style accordingly and if one can not be detected, then it defaults to english?.
> Do you guys have any ideas, comments, or suggestions?

I believe this was addressed in 1998.

See also

As for text alignment for rtl languages, it is handled automatically
if you specify the HTML 'dir' attribute like you're supposed to. See
existing documentation:

Received on Friday, 6 May 2011 21:00:24 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 11 February 2015 12:34:52 UTC