Link to home
Start Free TrialLog in
Avatar of whiwex
whiwex

asked on

Page doesn't display properly in firefox

Can anyone tell me why this page doesn't display properly when using FireFox. It works fine with IE.
The text is seems to lined up on the left side of the page and the gridview doesn't expand.
Thanks
%@ Page Language="VB" MasterPageFile="~/maintenance/Administrator.master" AutoEventWireup="false" CodeFile="Family Order History.aspx.vb" Inherits="maintenance_Family_Order_History" title="St Al's Manna Family History" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table>
        <tr>
            <td align="left" style="width: 83px; text-align: left;">
                <asp:Label ID="Label1" runat="server" Font-Bold="True" Text="Family" style="text-align: right" Width="360px"></asp:Label></td>
            <td style="width: 80px" align="right">
                <asp:DropDownList ID="ddlFamily" runat="server" AutoPostBack="True" Width="250px">
                </asp:DropDownList></td>
            <td style="width: 100px" align="left">
            </td>
        </tr>
        <tr>
            <td align="left" style="width: 83px; text-align: left;">
                <asp:Label ID="Label2" runat="server" Font-Bold="True" Text="School Year" style="text-align: right" Width="360px"></asp:Label></td>
            <td style="width: 80px" align="left">
                <asp:DropDownList ID="ddlSchoolYear" runat="server" AutoPostBack="True" Width="104px">
                </asp:DropDownList></td>
            <td style="width: 100px" align="left">
            </td>
        </tr>
        <tr>
            <td style="width: 83px">
                &nbsp;</td>
            <td style="width: 80px">
            </td>
            <td style="width: 100px">
            </td>
        </tr>
        <tr>
            <td style="width: 83px">
                <asp:Label ID="lblTotalManna" runat="server" Font-Bold="True" Width="360px"></asp:Label></td>
            <td style="width: 80px">
                <asp:Label ID="lblTotalPurchases" runat="server" Font-Bold="True" Width="400px"></asp:Label></td>
            <td style="width: 100px">
            </td>
        </tr>
        <tr>
            <td style="width: 83px; height: 21px">
                <asp:Label ID="lblMarketDay" runat="server" Font-Bold="True" Width="360px"></asp:Label></td>
            <td style="width: 80px; height: 21px">
                <asp:Label ID="lblTuitioncredit" runat="server" Font-Bold="True" Width="400px"></asp:Label></td>
            <td style="width: 100px; height: 21px">
            </td>
        </tr>
        <tr>
            <td style="width: 83px; height: 21px">
                <asp:Label ID="lblMannaGold" runat="server" Font-Bold="True" Width="360px"></asp:Label></td>
            <td style="width: 80px; height: 21px">
            <asp:Label ID="lblCreditPercent" runat="server" Font-Bold="True" Width="400px"></asp:Label></td>
            <td style="width: 100px; height: 21px">
            </td>
        </tr>
        <tr>
            <td style="width: 83px; height: 28px;">
                <asp:Label ID="lblWalMart" runat="server" Font-Bold="True" Width="360px"></asp:Label></td>
            <td style="width: 80px; height: 28px;">
            </td>
            <td style="width: 100px; height: 28px;">
            </td>
        </tr>
        <tr>
            <td style="width: 83px">
                <asp:Label ID="lblFundraisingFee" runat="server" Font-Bold="True" Visible="False"
                    Width="360px"></asp:Label></td>
            <td style="width: 80px">
            </td>
            <td style="width: 100px">
            </td>
        </tr>
        <tr>
            <td style="width: 83px">
            </td>
            <td style="width: 80px">
            </td>
            <td style="width: 100px">
            </td>
        </tr>
        <tr>
            <td colspan="3">
                &nbsp;</td>
        </tr>
    </table>
    <table style="width: 800px">
        <tr>
            <td style="width: 100px">
            </td>
            <td style="width: 100px">
            </td>
        </tr>
    </table>
    <table>
        <tr>
            <td style="width: 100px">
            </td>
            <td style="width: 100px">
            </td>
            <td style="width: 100px">
            </td>
        </tr>
        <tr>
            <td colspan="3">
                <asp:GridView ID="GridView1" runat="server" BackColor="LightGoldenrodYellow" BorderColor="Tan"
                    BorderWidth="1px" CellPadding="2" ForeColor="Black" GridLines="None">
                    <FooterStyle BackColor="Tan" />
                    <Columns>
                        <asp:CommandField SelectText="Details" ShowSelectButton="True" />
                    </Columns>
                    <SelectedRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
                    <PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue" HorizontalAlign="Center" />
                    <HeaderStyle BackColor="Tan" Font-Bold="True" />
                    <AlternatingRowStyle BackColor="PaleGoldenrod" />
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td style="width: 100px">
            </td>
            <td style="width: 100px">
            </td>
            <td style="width: 100px">
            </td>
        </tr>
    </table>
</asp:Content>
ASKER CERTIFIED SOLUTION
Avatar of NazoUK
NazoUK
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of whiwex
whiwex

ASKER

Thanks
I set the table cells widths to equal the label control width and it works fine.
Thanks