I have two labels with the same class. It is my css of this class:
.required
{
background-image:url(/img/required.png);
background-position: right;
background-repeat:no-repeat;
padding-right:10px;
}
In all browsers two elements has red star in right-top. But in IE 7 only first element has this star. What I am doing wrong? Please help me.
@Alexander.Plutov: Using a
required.pngwhich I borrowed for the exercise, the following code sample seems to work fine (I just condensed yourCSSrules to the shorthand version):Do you perhaps employ any
floatorpositionrules for anything in your form? These are usually the things that misbehave in IE6/7.