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

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. Robin Dindayal

    Print rendered .aspx page to server's printer

    Robin Dindayal, Jul 23, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    729
    Robin Dindayal
    Jul 25, 2003
  2. Jon Maz
    Replies:
    10
    Views:
    874
    Jon Maz
    Feb 11, 2004
  3. Arnold Franke
    Replies:
    2
    Views:
    388
    Arnold Franke
    Feb 10, 2004
  4. Jeff
    Replies:
    2
    Views:
    7,343
    Eirik
    Dec 17, 2005
  5. Chris
    Replies:
    2
    Views:
    1,073
    Chris
    Mar 4, 2007
  6. Jeff
    Replies:
    1
    Views:
    1,228
    bruce barker
    Apr 20, 2009
  7. Steve Nobody

    Dynamic controls not rendered correctly....

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