Trouble rending form in firefox and netscape.

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Mar 2006
Posts: 4
Reputation: vic02 is an unknown quantity at this point 
Solved Threads: 0
vic02 vic02 is offline Offline
Newbie Poster

Trouble rending form in firefox and netscape.

 
0
  #1
Mar 21st, 2006
I've done extensive work developing a large on-line application form, only to find that it will not render properly in Firefox (1.5.0.1) or Netscape (8.0).

The panels are overlapping each other and style settings such as backcolor are not propagating to child elements. Yet, it renders nicely in IE.
I've already updated the section in my web.config file using Rob Eberhardt's implementation (http://slingfive.com/pages/code/browserCaps/), so the panel's are rendering as div's and not table's. Yet the problem persists.

How can I determine what webcontrols available within Visual Studio 2005 support which standards?

Can anyone tell me if my form can be made to work in these browsers? :cry:

Here's a simplified excerpt of my code:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Application.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<head runat="server">

<style type="text/css"> legend {color:#2c5eb1}
</head>
<body>
<form id="form1" runat="server">




<table width="587" align="center">
<tr>
<td>





Font-Bold="True" Font-Italic="False" Font-Names="Arial" Font-Size="Large" ForeColor="#2C5EB1"
GroupingText="Fieldset Legend" Height="50px" Width="587px">


<table>
<tr>
<td style="height: 30px">




</td>
</tr>
<tr>
<td style="height: 30px">




</td>
</tr>
<tr>
<td style="height: 30px">

</td>
</tr>
</table>

</td>
</tr>
<tr>
<td style="height: 33px">
</td>
</tr>
<tr>
<td>





Font-Bold="True" Font-Italic="False" Font-Names="Arial" Font-Size="Large" ForeColor="#2C5EB1"
GroupingText="Fieldset Legend" Height="50px" Width="587px">


<table>
<tr>
<td style="height: 30px">




</td>
</tr>
<tr>
<td style="height: 30px">




</td>
</tr>
<tr>
<td style="height: 30px">

</td>
</tr>
</table>

</td>
</tr>
<tr>
<td>

</td>
</tr>
</table>

</form>
</body>

Thanks to anyone who can help...
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 4
Reputation: vic02 is an unknown quantity at this point 
Solved Threads: 0
vic02 vic02 is offline Offline
Newbie Poster

Re: Trouble rending form in firefox and netscape.

 
0
  #2
Mar 21st, 2006
Sorry, the code above was not properly tagged, and so was not all visible.
Here it is again...

Hope someone can help...

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Application.aspx.cs" Inherits="_Default" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3.  
  4. <html xmlns="http://www.w3.org/1999/xhtml" >
  5. <head runat="server">
  6. <title>Untitled Page</title>
  7. <style type="text/css"> legend {color:#2c5eb1} </style>
  8. </head>
  9. <body>
  10. <form id="form1" runat="server">
  11. <div style="text-align: left">
  12. &nbsp;&nbsp;
  13. <br />
  14. <table width="587" align="center">
  15. <tr>
  16. <td><asp:Table ID="Table1" runat="server" BackColor="#D8E7EF" Height="3px" Width="587px">
  17. <asp:TableRow runat="server">
  18. <asp:TableCell runat="server"></asp:TableCell>
  19. </asp:TableRow>
  20. </asp:Table>
  21. <asp:Panel ID="Panel1" runat="server" BackColor="#FBF1EC" EnableTheming="True"
  22. Font-Bold="True" Font-Italic="False" Font-Names="Arial" Font-Size="Large" ForeColor="#2C5EB1"
  23. GroupingText="Fieldset Legend" Height="50px" Width="587px">
  24. <br />
  25. <table>
  26. <tr>
  27. <td style="height: 30px">
  28. &nbsp;<asp:Label ID="Label3" runat="server" Text="Field 1:" Width="80px"></asp:Label>
  29. <asp:TextBox ID="TextBox6" runat="server" Width="188px"></asp:TextBox>
  30. &nbsp;&nbsp; &nbsp;
  31. <asp:Label ID="Label4" runat="server" Text="Field 2:"></asp:Label>
  32. <asp:TextBox ID="TextBox7" runat="server"></asp:TextBox></td>
  33. </tr>
  34. <tr>
  35. <td style="height: 30px">
  36. &nbsp;<asp:Label ID="Label5" runat="server" Text="Field 3:"></asp:Label>
  37. <asp:TextBox ID="TextBox8" runat="server" Width="24px"></asp:TextBox>
  38. &nbsp;&nbsp;
  39. <asp:Label ID="Label6" runat="server" Text="Field 4:"></asp:Label>
  40. <asp:TextBox ID="TextBox9" runat="server"></asp:TextBox></td>
  41. </tr>
  42. <tr>
  43. <td style="height: 30px">
  44. &nbsp;<asp:Label ID="Label7" runat="server" Text="Field 5:"></asp:Label>
  45. <asp:TextBox ID="TextBox10" runat="server" Width="430px"></asp:TextBox></td>
  46. </tr>
  47. </table>
  48. </asp:Panel>
  49. </td>
  50. </tr>
  51. <tr>
  52. <td style="height: 33px">
  53. </td>
  54. </tr>
  55. <tr>
  56. <td><asp:Table ID="Table3" runat="server" BackColor="#D8E7EF" Height="3px" Width="587px">
  57. <asp:TableRow runat="server">
  58. <asp:TableCell runat="server"></asp:TableCell>
  59. </asp:TableRow>
  60. </asp:Table>
  61. <asp:Panel ID="Panel3" runat="server" BackColor="#FBF1EC" EnableTheming="True"
  62. Font-Bold="True" Font-Italic="False" Font-Names="Arial" Font-Size="Large" ForeColor="#2C5EB1"
  63. GroupingText="Fieldset Legend" Height="50px" Width="587px">
  64. <br />
  65. <table>
  66. <tr>
  67. <td style="height: 30px">
  68. &nbsp;<asp:Label ID="Label8" runat="server" Text="Field 1:" Width="80px"></asp:Label>
  69. <asp:TextBox ID="TextBox11" runat="server" Width="188px"></asp:TextBox>
  70. &nbsp;&nbsp; &nbsp;
  71. <asp:Label ID="Label9" runat="server" Text="Field 2:"></asp:Label>
  72. <asp:TextBox ID="TextBox12" runat="server"></asp:TextBox></td>
  73. </tr>
  74. <tr>
  75. <td style="height: 30px">
  76. &nbsp;<asp:Label ID="Label10" runat="server" Text="Field 3:"></asp:Label>
  77. <asp:TextBox ID="TextBox13" runat="server" Width="24px"></asp:TextBox>
  78. &nbsp;&nbsp;
  79. <asp:Label ID="Label11" runat="server" Text="Field 4:"></asp:Label>
  80. <asp:TextBox ID="TextBox14" runat="server"></asp:TextBox></td>
  81. </tr>
  82. <tr>
  83. <td style="height: 30px">
  84. &nbsp;<asp:Label ID="Label12" runat="server" Text="Field 5:"></asp:Label>
  85. <asp:TextBox ID="TextBox15" runat="server" Width="430px"></asp:TextBox></td>
  86. </tr>
  87. </table>
  88. </asp:Panel>
  89. </td>
  90. </tr>
  91. <tr>
  92. <td>
  93. &nbsp;
  94. </td>
  95. </tr>
  96. </table>
  97. <br />
  98. &nbsp;
  99. <br />
  100. </div>
  101. </form>
  102. </body>
  103. </html>
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for ASP.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC