Netscape / IE兼容? [英] Netscape / IE compatible?

查看:64
本文介绍了Netscape / IE兼容?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI!

我有一个问题....

在vs.net中设计asp.net页面我总是看到标签是

转换为< span标签...

由于缺乏兼容性,我之前停止使用span和div

使用netscape ...


然而,在asp.net中它似乎不是一个选项...


你们知道asp.net页面是如何兼容的吗?与其他浏览器如

如IE,Netscape,Opera等..

和MAC / PC ...... ???


因为,我在一个相当大的页面上工作,女巫需要与尽可能多的浏览器兼容

...


有没有选项我可以设置在vs.net中,使页面与

更多的浏览器兼容,还是默认情况下?


(自从我使用以来已经有一段时间了)除IE以外的任何其他浏览器... ...

你的:Kristoffer

解决方案

如果你担心自动d etection不适用于你的目标,你可以手动处理目标:


覆盖浏览器类型检测

如果要显式控制页面的呈现方式?而不是

依靠自动浏览器检测?您可以设置页面的'ClientTarget

属性。您可以在属性窗口或HTML视图中执行此操作。

属性设置存储为该

页面的@Page指令的属性。

http://msdn.microsoft。 com / library / de ... pabilities.asp


" Kristoffer Arfvidson" < KR ******** @ spamtrap.com>在留言中写道

新闻:%2 **************** @ tk2msftngp13.phx.gbl ...

嗨!
我有一个问题....
在vs.net中设计asp.net页面时我总是看到标签被转换为< span标签......
我之前由于缺乏兼容性而使用span和div停止使用netscape ...

然而,在asp.net中它似乎不是一个选项...

你们是否知道asp.net页面与其他浏览器的兼容性如
IE,Netscape,Opera等......
和MAC / PC ...... ???

因为,我在一个相当大的页面上工作,女巫需要与尽可能多的浏览器兼容
...
我可以在vs.net中设置一个选项,使页面与更多浏览器兼容吗?或者是默认设置?

(自从我使用任何其他浏览器以来已经有一段时间了比IE)...

你的:Kristoffer




< blockquote>" Kristoffer Arfvidson" < KR ******** @ spamtrap.com>在新闻中写道:

#t ************** @ tk2msftngp13.phx.gbl:

你们是否知道如何兼容asp.net页面与IE,Netscape,Opera等其他浏览器一样。
和MAC / PC ... ???


你还需要支持Nestcape 4吗?或者只是更新版本?


使用HTML 3.2是一个选项吗?

我可以在vs.net中设置一个选项,使页面兼容
更多的浏览器还是默认情况下?

(自从我使用IE以外的任何其他浏览器已经有一段时间了)...



ASP.net" claim"浏览器独立。它确实是 - 但实际上你会发现很多高级选项通常都会麻烦。

在非IE浏览器和

你经常需要做很多调整才能使非IE浏览器全部工作

时间。


您的里程可能会有所不同,其中很多不是ASP.net,而是编辑器生成的HTML



-

Chad Z. Hower(又名Kudzu) - http:// www .hower.org / Kudzu /

编程是一种反击的艺术形式

ELKNews - 在 http://www.atozedsoftware.com


我建​​议你做什么...是

a。拥有至少IE 5.0,5.5,可能是最新的(你可以使用

,你可以拥有独立的IE版本)

b。从5安装版本的netscape,6个中的一个,可能是7个(虽然7

使用与6相同的引擎)

c。下载几个用于mac和linux的模拟器。

http://www.insert-title.com/web_desi...s/dev/multi_IE

http://www.thesitewizard.com/webdesi...browsers.shtml

span与ns 7完美配合但不确定早期的那些..(使用

iframes并且无法在早期的ms版本上测试我的管理页面)


希望它有所帮助


-

问候,

HD

一旦成为极客....永远是个极客

" Kristoffer Arfvidson" < KR ******** @ spamtrap.com>在留言中写道

新闻:%2 **************** @ tk2msftngp13.phx.gbl ...

嗨!
我有一个问题....
在vs.net中设计asp.net页面时我总是看到标签被转换为< span标签......
我之前由于缺乏兼容性而使用span和div停止使用netscape ...

然而,在asp.net中它似乎不是一个选项...

你们是否知道asp.net页面与其他浏览器的兼容性如
IE,Netscape,Opera等......
和MAC / PC ...... ???

因为,我在一个相当大的页面上工作,女巫需要与尽可能多的浏览器兼容
...
我可以在vs.net中设置一个选项,使页面与更多浏览器兼容吗?或者是默认设置?

(自从我使用任何其他浏览器以来已经有一段时间了比IE)...

你的:Kristoffer



HI!
I have a question....
when designing asp.net pages in vs.net I always see that labels are
transformed to <span tags...
I stopped using span and div before because of its lack of compatibility
with netscape...

However, in asp.net it dosn′t seem to be an option...

Do you guys know how compatible an asp.net page is with other browsers such
as IE,Netscape,Opera e.t.c...
and with MAC/PC... ???

Because, Im working on a fairly big page, witch needs to be compatible with
as many browsers as possible...

Is there an option I can set in vs.net that makes the page compatible with
more browsers or is it by default?

(It was a while since Ive been using any other browser than IE)...
Yours: Kristoffer

解决方案

If you''re concerned that auto-detection doesn''t work for your target, you
can handle the target manually:

"Overriding Browser Type Detection
If you want to explicitly control how the page is rendered ? instead of
relying on automatic browser detection ? you can set the page''s ClientTarget
property. You can do this in the Property window or in HTML view. The
property setting is stored as an attribute of the @ Page directive for that
page."

http://msdn.microsoft.com/library/de...pabilities.asp

"Kristoffer Arfvidson" <kr********@spamtrap.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...

HI!
I have a question....
when designing asp.net pages in vs.net I always see that labels are
transformed to <span tags...
I stopped using span and div before because of its lack of compatibility
with netscape...

However, in asp.net it dosn′t seem to be an option...

Do you guys know how compatible an asp.net page is with other browsers
such
as IE,Netscape,Opera e.t.c...
and with MAC/PC... ???

Because, Im working on a fairly big page, witch needs to be compatible
with
as many browsers as possible...

Is there an option I can set in vs.net that makes the page compatible with
more browsers or is it by default?

(It was a while since Ive been using any other browser than IE)...
Yours: Kristoffer




"Kristoffer Arfvidson" <kr********@spamtrap.com> wrote in news:
#t**************@tk2msftngp13.phx.gbl:

Do you guys know how compatible an asp.net page is with other browsers such
as IE,Netscape,Opera e.t.c...
and with MAC/PC... ???
Do you need to support Nestcape 4 as well? Or just newer versions?

Is using HTML 3.2 an option for you?
Is there an option I can set in vs.net that makes the page compatible with
more browsers or is it by default?

(It was a while since Ive been using any other browser than IE)...



ASP.net "claims" browser independent. And it is - but in practice you''ll find
that many advanced options often have "trouble" in non IE browsers and that
you often have to do a lot of tweaking to make the non IE browsers work all
the time.

Your mileage may vary and a lot of it is not so much ASP.net, but the HTML
that gets generated by the editor.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
ELKNews - Get your free copy at http://www.atozedsoftware.com


what i would advise you to do... is
a. have atleast IE 5.0, 5.5, and probably the lastest one (you have ways in
which you can have standalone IE versions)
b. Install version of netscape from 5, one of 6 and probably 7 (though 7
uses the same engine as 6)
c. Download a couple of emulators for mac and linux.

http://www.insert-title.com/web_desi...s/dev/multi_IE

http://www.thesitewizard.com/webdesi...browsers.shtml

span works perfectly with ns 7 but not sure bout earlier ones.. (using
iframes and couldnt test my admin pages on ealier ms versions)

hope it helps

--
Regards,
HD
Once a Geek.... Always a Geek
"Kristoffer Arfvidson" <kr********@spamtrap.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...

HI!
I have a question....
when designing asp.net pages in vs.net I always see that labels are
transformed to <span tags...
I stopped using span and div before because of its lack of compatibility
with netscape...

However, in asp.net it dosn′t seem to be an option...

Do you guys know how compatible an asp.net page is with other browsers
such
as IE,Netscape,Opera e.t.c...
and with MAC/PC... ???

Because, Im working on a fairly big page, witch needs to be compatible
with
as many browsers as possible...

Is there an option I can set in vs.net that makes the page compatible with
more browsers or is it by default?

(It was a while since Ive been using any other browser than IE)...
Yours: Kristoffer



这篇关于Netscape / IE兼容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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