Форумы / Cotonti / Core Labs / Archive / CSS-classes for buttons and fields

Trustmaster
#10954 03.04.2009 22:53
Can't it be achieved by just using CSS selectors?
input[type="button"] { }
textarea { }
select { }
input[type="radio"] { }
input[type="checkbox"] { }
I agree it's useful to detect elements, but it's a bad practice to overblow the markup.
May the Source be with you!