asp.net - Asp RadioButtonList rendering differently in same browser on different sites -
ie11 rendering radiobuttonlist differently depending on site serving it. both sites utilize iis7 , asp.net 4.0.
the radiobuttonlist html follows:
<div style="font-size:larger; font-weight:bold; text-decoration: underline; text-align:center"> please rate quality of service provided project manager/service delivery team in delivering order </div> <p></p> <div style="width:100%; margin-left:120px"> <asp:radiobuttonlist id="radiobuttonlist1" runat="server" repeatdirection="vertical" cssclass="surveyradiobuttonlist" repeatlayout="table"> <asp:listitem text="unacceptable" value="unacceptable"></asp:listitem> <asp:listitem text="poor" value="poor"></asp:listitem> <asp:listitem text="fair" value="fair"></asp:listitem> <asp:listitem text="good" value="good"></asp:listitem> <asp:listitem text="excellent" value="excellent"></asp:listitem> <asp:listitem text="exceeds expectations" value="exceeds expectations"></asp:listitem> </asp:radiobuttonlist> </div>
the related css follows:
.surveyradiobuttonlist label { margin-top: -3px; } .surveyradiobuttonlist td { border:0; padding:0; }
a screen image of how it's supposed look, , indeed on 1 of 2 sites follows: [hmm.. not allowed post image due lack of reputation! basically, radio buttons , labels nicely listed vertically underneath each other]
a screen image how looks when rendering other server follows: [this image have shown radio buttons , labels spewed diagonally on towards right, messy, nil lining up. if repeatlayout="table" isn't working @ all]
remember, both images come same browser (ie11, not in compatibility mode) running on same pc (win7), 2 different websites. both websites running windows, both sites hosted on iis7 , asp.net 4.0.
does have ideas? have searched quite exhaustively without success. many thanks. bob
asp.net radiobuttonlist
No comments:
Post a Comment