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

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 14 Jan 2008 13:34:04 -0500
Message-ID: <478BAB1C.5040309@inkedblade.net>
To: Keryx Web <webmaster@keryx.se>
CC: WWW Style <www-style@w3.org>

Keryx Web wrote:
>
> HTML:
> <tr>
>   <td>12</td>
>   <td>21</td>
> </tr>
> 
> CSS:
> td:after {
>     content: " USD";
> }
> 
> I thought a browser could make that look exactly like:
> 
> <tr>
>   <td>12 USD</td>
>   <td>21 USD</td>
> </tr>

Yes, that should work. The td::before pseudo-element is inside
the td.

~fantasai
Received on Monday, 14 January 2008 18:34:33 GMT

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