473,385 Members | 1,610 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Trouble rendering form panels in firefox and netscape

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 <browsercaps> 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.

Please, can anyone tell me if it can be made to work in these browsers
without a major rehaul?

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">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
<style type="text/css"> legend {color:#2c5eb1} </style>
</head>
<body>
<form id="form1" runat="server">
<div style="text-align: left">
&nbsp;&nbsp;
<br />
<table width="587" align="center">
<tr>
<td><asp:Table ID="Table1" runat="server"
BackColor="#D8E7EF" Height="3px" Width="587px">
<asp:TableRow runat="server">
<asp:TableCell runat="server"></asp:TableCell>
</asp:TableRow>
</asp:Table>
<asp:Panel ID="Panel1" runat="server"
BackColor="#FBF1EC" EnableTheming="True"
Font-Bold="True" Font-Italic="False" Font-Names="Arial"
Font-Size="Large" ForeColor="#2C5EB1"
GroupingText="Fieldset Legend" Height="50px" Width="587px">
<br />
<table>
<tr>
<td style="height: 30px">
&nbsp;<asp:Label ID="Label3"
runat="server" Text="Field 1:" Width="80px"></asp:Label>
<asp:TextBox ID="TextBox6"
runat="server" Width="188px"></asp:TextBox>
&nbsp;&nbsp; &nbsp;
<asp:Label ID="Label4" runat="server"
Text="Field 2:"></asp:Label>
<asp:TextBox ID="TextBox7"
runat="server"></asp:TextBox></td>
</tr>
<tr>
<td style="height: 30px">
&nbsp;<asp:Label ID="Label5"
runat="server" Text="Field 3:"></asp:Label>
<asp:TextBox ID="TextBox8"
runat="server" Width="24px"></asp:TextBox>
&nbsp;&nbsp;
<asp:Label ID="Label6" runat="server"
Text="Field 4:"></asp:Label>
<asp:TextBox ID="TextBox9"
runat="server"></asp:TextBox></td>
</tr>
<tr>
<td style="height: 30px">
&nbsp;<asp:Label ID="Label7"
runat="server" Text="Field 5:"></asp:Label>
<asp:TextBox ID="TextBox10"
runat="server" Width="430px"></asp:TextBox></td>
</tr>
</table>
</asp:Panel>
</td>
</tr>
<tr>
<td style="height: 33px">
</td>
</tr>
<tr>
<td><asp:Table ID="Table3" runat="server"
BackColor="#D8E7EF" Height="3px" Width="587px">
<asp:TableRow runat="server">
<asp:TableCell runat="server"></asp:TableCell>
</asp:TableRow>
</asp:Table>
<asp:Panel ID="Panel3" runat="server"
BackColor="#FBF1EC" EnableTheming="True"
Font-Bold="True" Font-Italic="False" Font-Names="Arial"
Font-Size="Large" ForeColor="#2C5EB1"
GroupingText="Fieldset Legend" Height="50px" Width="587px">
<br />
<table>
<tr>
<td style="height: 30px">
&nbsp;<asp:Label ID="Label8"
runat="server" Text="Field 1:" Width="80px"></asp:Label>
<asp:TextBox ID="TextBox11"
runat="server" Width="188px"></asp:TextBox>
&nbsp;&nbsp; &nbsp;
<asp:Label ID="Label9" runat="server"
Text="Field 2:"></asp:Label>
<asp:TextBox ID="TextBox12"
runat="server"></asp:TextBox></td>
</tr>
<tr>
<td style="height: 30px">
&nbsp;<asp:Label ID="Label10"
runat="server" Text="Field 3:"></asp:Label>
<asp:TextBox ID="TextBox13"
runat="server" Width="24px"></asp:TextBox>
&nbsp;&nbsp;
<asp:Label ID="Label11" runat="server"
Text="Field 4:"></asp:Label>
<asp:TextBox ID="TextBox14"
runat="server"></asp:TextBox></td>
</tr>
<tr>
<td style="height: 30px">
&nbsp;<asp:Label ID="Label12"
runat="server" Text="Field 5:"></asp:Label>
<asp:TextBox ID="TextBox15"
runat="server" Width="430px"></asp:TextBox></td>
</tr>
</table>
</asp:Panel>
</td>
</tr>
<tr>
<td>
&nbsp;
</td>
</tr>
</table>
<br />
&nbsp;
<br />
</div>
</form>
</body>
</html>
Mar 21 '06 #1
0 1185

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: fleemo17 | last post by:
IE5 (5.2.3) for the Mac seems to be having problems displaying page elements using Position attributes. If I place the position of my form box (shown at http://tinyurl.com/cz5xd ) using "absolute,"...
2
by: clintonG | last post by:
I'm hoping somebody has started a table documenting Firefox rendering anomalies or can refer to this type of document. Neither text nor textboxes are not being sized the same as IE and there are...
17
by: George Hester | last post by:
http://tinyurl.com/5uj6w The lower middle icon the "block" should not drop down when the mouse is over it. How can I stop that? Also the navigation divs both top and bottom should follow the...
4
by: David R | last post by:
Using this CSS: ------------------------ button { border: none; background: url("Button-LU.gif") center center; padding: 0; text-align: center; margin: 0.5em;
5
by: SPE - Stani's Python Editor | last post by:
Hi, During optimizing SPE for Ubuntu, I found something strange. I have Ubuntu 5.10 "The Breezy Badger" and unfortunately this code is not working: >>> import webbrowser >>>...
12
by: Brad | last post by:
Does anyone have any other solutions to the Firefox rendering problems with ASP.NET? I've tried the <browsercaps> web.config trick. It didn't work. Am I overlooking something else? Thanks!
3
by: UJ | last post by:
I had somebody (who was an idiot) tell me that tables are slow in rendering? That you shouldn't do things like tables inside of tables. Is that true? I think she didn't know what she was...
2
by: Thom Little | last post by:
In ASP.NET 2.0 I have a number of pages with panels that I want horizontally centered on the page. These are currently rendered correctly in Internet Explorer and Opera and incorrectly in...
9
by: johnd126 | last post by:
I have a cgi program which outputs a fairly hefty amount of html/javascript for doing a complex slide show sorta thing in a variety of areas in the browser. I accomplish this by creating a series...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.