view website in IE

Last Reply on Jan 31, 2012 02:03 AM By Mudassar

Posted on Jan 30, 2012 03:20 AM

hello

I've designed a site that will be displayed correctly in Firefox But Internet Explorer does not properly display For example, a text box will change.
What should I do to fix this problem?

tanx

Results 1 - 5 of 7 12
Posted on Jan 31, 2012 02:03 AM

If you want to align all controls inside TD cell valign = "middle" for the TD. Also make sure all TDs have same height

You can also set valign as Top, Bottom


Posted on Jan 31, 2012 12:15 AM

of course i did it

i used table

 

 

<table   id="tablerm" >
<tr>
                <td style="height:100px;"><br /><div id="divuser">
                
                 <asp:Label ID="Label3" runat="server" Text="Login" CssClass="lablerm"></asp:Label></td></div></tr>
 <tr><td id="tduser" style="height:200px;"><table> <tr><br /><br /><td style="height:30px;"> <asp:Label ID="Label4" runat="server" Text="Label" CssClass="labeleuser">Email Address </asp:Label></td></tr>

  <tr> <td style="height:40px;"> <asp:TextBox ID="TextBox1" runat="server" CssClass="textuser" ></asp:TextBox></td></tr> <tr><td style="height:30px;"> <asp:Label ID="Label5" runat="server" Text="Label" CssClass="labeleuser">password:</asp:Label></td></tr> <tr> <td style="height:50px;"><asp:TextBox ID="TextBox2" runat="server" CssClass="textuser" TextMode="Password" ></asp:TextBox></td></tr> <tr><td style="height:50px;"> <asp:ImageButton ID="user_button" runat="server" ImageUrl="images/btnuser.jpg" CssClass="btnuser" onclick="user_button_Click"/></td></tr> </table></td></tr> </table>

 


Posted on Jan 31, 2012 12:07 AM

You will need to use some container controls like DIV or Table so that your controls remain in static position.


Posted on Jan 31, 2012 12:04 AM

ok i correct it and Clean  position:absolute but there is no change

i think i should write another css for IE &Google chrome and put in into IF Condition  but i dont know how i can do it

thanks


Posted on Jan 30, 2012 10:35 PM

Why are you setting position:absolute ?