T
Tester
Has anyone had this problem or know of a fix?
This code should result in a transparent Input box (i.e., should use the
'input.Info.Normal' rule) but instead it produces a while box (matching the
input.flat.Normal rule.) When I comment out the input.flat.Normal rule the
box displays as it should.
So the question is, why is IE matching on the wrong rule?
Also, when I change the order of the rules (flat before Info) it matches
correctly. But why is this input matching on the flat rule at all?
from html --
<input class="Info Normal" type=text size=8>
from external style sheet --
input.Info.Normal {
background-color: transparent;
}
input.flat.Normal {
background-color: #ffffff;
}
This code should result in a transparent Input box (i.e., should use the
'input.Info.Normal' rule) but instead it produces a while box (matching the
input.flat.Normal rule.) When I comment out the input.flat.Normal rule the
box displays as it should.
So the question is, why is IE matching on the wrong rule?
Also, when I change the order of the rules (flat before Info) it matches
correctly. But why is this input matching on the flat rule at all?
from html --
<input class="Info Normal" type=text size=8>
from external style sheet --
input.Info.Normal {
background-color: transparent;
}
input.flat.Normal {
background-color: #ffffff;
}