我的asp.net网页无法正确加载到Google Chrome中 [英] my asp.net webpage is loading incorrectly in google chrome

查看:293
本文介绍了我的asp.net网页无法正确加载到Google Chrome中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问候,

我对ASP.Net编程非常陌生.我使用Visual Studio 2003(Vb.Net语法)设计了一个包含许多控件(例如标签,超级链接,图像等)的网页.

现在,此网页已完美地加载到Internet Exlporer浏览器中,但加载不正确,并且其他浏览器(例如Google Chrome)中也没有图像.

以下是HTML代码:

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.

推荐答案

您的问题是此处是HTML代码:"行之后的空白区域.
Your problem is the empty space after the line "Here after is the HTML code:"


您使用过工具中的布局绝对"吗?选项->布局管理器(我现在不记得布局管理器"选项的确切位置,因为它在VS2010中已过时了)?在VS2005中的设计器视图中使用拖放创建Web表单时,我也面临相同的问题.如果是这种情况,那么我强烈建议您使用CSS样式在网页中放置您的元素(标签,超链接,图像等).
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.


这篇关于我的asp.net网页无法正确加载到Google Chrome中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆