Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET VB.NET Browser
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:
<%@ 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 4-Mar-12 2:27am
Edited 4-Mar-12 3:18am
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Your problem is the empty space after the line "Here after is the HTML code:"
  Permalink  
Comments
dgthecodeproject at 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!!!....
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

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.
  Permalink  
Comments
dgthecodeproject at 4-Mar-12 23:44pm
   
Thanks Sachin for your advise.....But is there any other alternatives...

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

  Print Answers RSS
0 OriginalGriff 295
1 Maciej Los 280
2 Afzaal Ahmad Zeeshan 224
3 BillWoodruff 205
4 Sergey Alexandrovich Kryukov 195
0 OriginalGriff 6,499
1 Sergey Alexandrovich Kryukov 6,048
2 DamithSL 5,193
3 Manas Bhardwaj 4,657
4 Maciej Los 4,120


Advertise | Privacy | Mobile
Web01 | 2.8.1411019.1 | Last Updated 4 Mar 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100