Παρατήρησα πρόσφατα ότι ο IE7 εμφανίζει διαφορετικά αποτελέσματα ανάλογα με το λειτουργικό που τρέχει
 |
 |
 |
IE7 σε Vista |
IE7 σε Win Server 2003 (sp2) |
firefox 2 |
Η προφανής διαφορά είναι στο χρώμα του button (αλλά υπάρχουν και άλλες μικρότερες σε άλλα σημεία της σελίδας)
Ο κώδικας που παράγει το επίμαχο σημείο είναι:
<asp:LoginView ID="lgView" runat="server" >
<AnonymousTemplate>
<asp:Login ID="loginId" runat="server" meta:resourceKey="login"
TextBoxStyle-Width=80 TitleText="" LoginButtonType=button LoginButtonStyle-Width=71 LoginButtonStyle-Height=33 BorderWidth=0 LoginButtonStyle-CssClass="smallButton" LoginButtonImageUrl="~/graphics/BUTTONsmall.jpg"
CssClass="grayLightsmall" CreateUserUrl="~/newUser.aspx" PasswordRecoveryUrl="~/remindPass.aspx" />
</AnonymousTemplate>
</asp:LoginView>
και το style:
.smallButton
{
background-image: url(graphics/BUTTONsmall.jpg);
background-position: center center;
vertical-align: middle;
background-repeat: no-repeat;
text-align: center;
border-top-style: none;
border-right-style: none;
border-left-style: none;
border-bottom-style: none;
}
καμιά ιδέα;