A
Assimalyst
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.
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.