Click here to Skip to main content
15,886,025 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Greetings,

I am very new to ASP.Net programming. I had designed a webpage that contains many controls such as labels, heperlinks, images and etc.. using Visual Studio 2003 (Vb.Net syntax).

Now this webpage is loaded perfectly in the Internet Exlporer browser but it loads incorrectly and without the images in other browsers (i.e. Google Chrome).

Here after is the HTML code:
ASP.NET
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="Home.aspx.vb" Inherits="DG_Solution.Home" debug="True"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
    <HEAD>
        <title>DG-Solution | Home</title>
        <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
        <meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
        <meta name="vs_defaultClientScript" content="JavaScript">
        <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
    </HEAD>


Please advise me what to include in my website to have it loaded into different browsers in perfect way...

Thanks in advance.
Posted
Updated 4-Mar-12 2:18am
v2

Hi do you have used layout "absolute" from tools -> options -> layout manager (i didn't remember the exact place for the "layout manager" option right now because it is obsolete in VS2010) ? I too faced the same problem when creating a web form using drag drop in designer view in VS2005. If this is the case then i strongly recommend you to use CSS styles to posotion your elements (labels, heperlinks, images etc) in your web page.
 
Share this answer
 
Comments
dgthecodeproject 4-Mar-12 23:44pm    
Thanks Sachin for your advise.....But is there any other alternatives...
Your problem is the empty space after the line "Here after is the HTML code:"
 
Share this answer
 
Comments
dgthecodeproject 4-Mar-12 8:20am    
Thanks John for your remark:

Please find hereafter my HTML syntax and kindly advise me how to fix my issue:

Collapse | Copy Code
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="Home.aspx.vb" Inherits="DG_Solution.Home" debug="True"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>DG-Solution | Home</title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>

Is this clear enough or you want another portion of the HTML.

Help!!!....

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900