Re: [CSS] Would be nice if...

On 11 Jan 2008, at 19:11, Andrew Fedoniouk wrote:
> David Dorward wrote:

> overflow:auto;  may trigger scrollbars. This scrollbar... is it  
> form of function?

It is form, it just refers to the way data is presented, it doesn't  
limit what data can be entered as the previous suggestion would.

> And yet consider following:
>
> input[type="currency"]

Is this an HTML5 proposal?

> {
>    color:black;
>    @format:"$n,nnn.nn";
> }
> input[type="currency"]:negative
> {
>    color:blue;
>    @format:"$(n,nnn.nn)";
> }
>
> Could you try to define 'color' and '@format' in terms of form/ 
> function ?

Both just describe the way it looks.

The data is a positive or negative number.
The stylesheet describes how that number is presented to the user.

-- 
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/

Received on Friday, 11 January 2008 21:18:38 UTC