[thelist] Value of Input with CSS
Alex Beston
alex at deltatraffic.co.uk
Sun Sep 12 17:35:06 CDT 2004
Andy Budd wrote:
>> Is it at all possible to use CSS to fill in the empty (and now
>> highlighted)
>> text filed with a message say something like "You must fill this in"
>> I am
>> pretty sure that CSS cannot set text field values, but that is pretty
>> much
>> what I am looking for.
>
>
> I'm starting to see a worrying trend here. People looking to do in CSS
> something which is obviously a Javascript thing. Remember, CSS is the
> presentation layer, JS is the behaviour layer.
>
> That's what JS was designed to do!
but what do you say about this? - http://www.w3.org/TR/becss
DIV.header > H1.TOCtitle {
color : red ;
*onclick* : "fold_or_unfoldTOC(event)"
}
Alex
More information about the thelist
mailing list