"Shabam" <blislecp (AT) hotmail (DOT) com> wrote
Quote:
I was told that dotnet generates classes for input tags like this:
span class="hello"><input type= "checkbox"></span
The problem here is, the "input" class is overriding the "hello" class. |
What do you mean? If you define
.hello input { ... }
you should get what you want.
Quote:
Ideally I wanted the html to be this way:
input type= "checkbox" class="hello"
However since dotnet insists on doing it the first way, it's not working
for
me.
My question now is, how do I make it work so that "input" isn't overriding
"hello"? Actually, I'm trying to set a particular style for text boxes,
and
another for radio buttons, and another for check boxes. Is this possible?
That way I don't even have to designate a class in my html. |
CSS provides attribute selectors:
input[type="checkbox"]
but unfortunately IE doesn't support them.