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

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 UTC