.aspx page not rendered correctly in alternate browsers

Discussion in 'ASP .Net' started by Assimalyst, Mar 24, 2006.

  1. Assimalyst

    Assimalyst Guest

    Hi,

    I am trying to form a simple page template, it has a logo and css file
    loaded into it using relative file paths. The page has essesntially
    been automatically generated using asp.net as part of visual studio.NET
    2003 and displays correctly in Explorer. However when i view using a
    different browser, firefox, netscape, opera, the logo does not load and
    the DIV section does not display??? Any ideas why? Here's the code:

    <%@ Page language="c#" Codebehind="pagetest.aspx.cs"
    AutoEventWireup="false" Inherits="YLCPDTdb.FormsNS.pagetest" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
    <HTML>
    <HEAD>
    <title>pagetest</title>
    <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
    <meta name="CODE_LANGUAGE" Content="C#">
    <meta name="vs_defaultClientScript" content="JavaScript">
    <meta name="vs_targetSchema"
    content="http://schemas.microsoft.com/intellisense/ie5">
    <LINK href="../style.css" type="text/css" rel="stylesheet">
    </HEAD>
    <body MS_POSITIONING="GridLayout">
    <form id="Form1" method="post" runat="server">
    <TABLE id="Table1" cellSpacing="0" cellPadding="0" width="100%"
    border="1">
    <TR>
    <TD>
    <TABLE id="Table2" cellSpacing="0" cellPadding="0" width="100%"
    border="0">
    <TR>
    <TD style="WIDTH: 341px; HEIGHT: 64px"><asp:image id="Image1"
    ImageUrl="..\Images\logo.jpg" AlternateText="YLC Logo"
    ImageAlign="Left"
    runat="server"></asp:image>
    </TD>
    <TD><asp:Label id="pageHeader" runat="server"
    Font-Size="X-Large">Header</asp:Label>
    </TD>
    </TR>
    </TABLE>
    </TD>
    <TR>
    <TR>
    <TD><DIV class="color">
    <TABLE id="Table3" cellSpacing="0" cellPadding="0" width="430"
    border="0">
    <TR>
    <TD></TD>
    </TR>
    </TABLE>
    </DIV>
    </TD>
    </TR>
    <TR>
    <TD>
    Page text...
    </TD>
    </TR>
    </TABLE>
    </form>
    </body>
    </HTML>


    Thanks.
     
    Assimalyst, Mar 24, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jeff
    Replies:
    2
    Views:
    7,080
    Eirik
    Dec 17, 2005
  2. Chris
    Replies:
    2
    Views:
    701
    Chris
    Mar 4, 2007
  3. Jeff
    Replies:
    1
    Views:
    1,043
    bruce barker
    Apr 20, 2009
  4. Steve Nobody

    Dynamic controls not rendered correctly....

    Steve Nobody, Feb 11, 2010, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    723
    Steve Nobody
    Feb 11, 2010
  5. Replies:
    10
    Views:
    342
    Sean O'Halpin
    Jul 17, 2006
Loading...

Share This Page