Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > .aspx page not rendered correctly in alternate browsers

Reply
Thread Tools

.aspx page not rendered correctly in alternate browsers

 
 
Assimalyst
Guest
Posts: n/a
 
      03-24-2006
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.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic controls not rendered correctly.... Steve Nobody ASP .Net Web Controls 1 02-11-2010 06:49 PM
firefox problem, html not rendered correctly Jeff ASP .Net 1 04-20-2009 02:07 AM
what's 'alternate' in <link rel=alternate>? Chris ASP .Net 2 03-04-2007 04:45 PM
Alternate initializers or alternate class? transfire@gmail.com Ruby 10 07-17-2006 03:20 AM
Textbox Width Issue (Rendered differently for different browsers) Jeff ASP .Net 2 12-17-2005 04:56 PM



Advertisments