W3C home > Mailing lists > Public > www-style@w3.org > January 2008

Re: [Fwd: Re: [whatwg] simple numbers]

From: Keryx Web <webmaster@keryx.se>
Date: Sat, 12 Jan 2008 11:50:50 +0100
Message-ID: <47889B8A.2050104@keryx.se>
To: WWW Style <www-style@w3.org>

Keryx Web skrev:
> fantasai skrev:
>> I'd like to put it here:
>>   http://csswg.inkedblade.net/ideas/content-formatting
>> (you can edit that yourself if you like)
> Done

Thinking about my suggestion I have realized that I don't know what will 
happen in this case:


td:after {
     content: " USD";

I thought a browser could make that look exactly like:

   <td>12 USD</td>
   <td>21 USD</td>

If I am wrong (somebody please inform!) I need to add some rules to my 
number formatting suggestion to accomodate percentage signs, currency 
and other units or symbols.

Alignment is also an area I haven't looked into yet. Not that formatting 
of numbers is exclusively the domain of tables, though.

Lars Gunther
Received on Saturday, 12 January 2008 10:51:06 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:33 UTC