Mobile app version of vmapp.org
Login or Join
Martha945

: DIfference between IE and FF. Colors I have a problem with my CSS code. Buttons look differently in IE7 and FF Here are my buttons: Here is my code: .list-common-wrapper .button-unfixed .button-unfixed-normal[disabled]

@Martha945

Posted in: #Color #Css

I have a problem with my CSS code. Buttons look differently in IE7 and FF

Here are my buttons:


Here is my code:

.list-common-wrapper .button-unfixed .button-unfixed-normal[disabled] .button-background, #id -chart-editor-active-event .button-unfixed .button-unfixed-normal[disabled] .button-background, .three-lists .button-unfixed .button-unfixed-normal[disabled] .button-background {
background: url("../images/button/btn_var_bg.gif") no-repeat scroll left -120px transparent;
color: #777777 ;
cursor: default;
text-decoration: none;
}
list.css (line 122)
.list-common-wrapper .button-unfixed .button-unfixed-normal .button-background, #id -chart-editor-active-event .button-unfixed .button-unfixed-normal .button-background, #id-profile-editor-move-attributes-buttons .button-unfixed .button-unfixed-normal .button-background {
color: #333333;
cursor: pointer;
}
list.css (line 132)
.button-unfixed-normal .button-background {
background: url("../images/button/btn_var_bg.gif") no-repeat scroll left 0 transparent;
display: block;
padding: 2px 8px 4px 12px;
}
button.css (line 111)
Inherited froma.button-unfixed-def #
.list-common-wrapper .button-unfixed .button-unfixed-normal[disabled], #id-chart-editor-active-event .button-unfixed .button-unfixed-normal[disabled], #id-profile-editor-move-attributes-buttons .button-unfixed .button-unfixed-normal[disabled] {
color: #777777;
cursor: default;
text-decoration: none;
}
list.css (line 142)
.list-common-wrapper .button-unfixed .button-unfixed-def {
font-size: 12px;
line-height: 130%;
}
list.css (line 163)
.button-unfixed .button-unfixed-normal {
color: #333333;
text-decoration: none;
}
button.css (line 104)
.button-unfixed .button-unfixed-def {
cursor: default;
font-size: 12px;
line-height: 130%;
}
button.css (line 93)
a {
color: #175DB5;
text-decoration: underline;
}


It shows that the color #777777 is displayed differently in IE7 and FF (look at the arrow):

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Martha945

1 Comments

Sorted by latest first Latest Oldest Best

 

@Murray976

Firefox is a color managed browser. Internet Explorer is not.

There's nothing you can do to force IE to be color managed. You can merely complain to Microsoft that their browser (like always) is behind the times.

You can try removing the color profile (or convert to sRGB) for the button background. The reason you're getting a mismatch is IE is not managing the image color, so it fails to match the standard hex color.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme