FireFox和Opera [英] FireFox and Opera

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

问题描述

我正在使用ASP.NET和C#开发一个Web应用程序,而且我遇到问题

使用Opera和FireFox。控件看起来没有正确定位。为什么?。

我该怎么办?

I''m developing a Web application with ASP.NET and C# and i''m having problems
with Opera and FireFox. The controls don''t appear situated correctly. Why?.
What ca i do?

推荐答案

可能是因为你使用的是MS定位模式而不是流量模式

设计师。我没有做太多支持这些浏览器,但我会不会打赌他们没有使用绝对定位属性所需的MS定位属性




你最好的选择是使用html表格或没有边框的东西

定位你的控件,这样你使用哪个浏览器都没关系。
< br $> b $ b -

Terry Burns
http:/ /TrainingOn.net

" Aurelio" < corcharelliARROBAhotmail.com>在消息中写道

新闻:O6 ************** @ TK2MSFTNGP14.phx.gbl ...
Probably because you are using MS Positioning Mode rather than flow mode on
the designer. I have not done much to support theses browsers, but I would
not mind betting that they do not user the MS positioning attributes
required to absolutley position things.

Your best bet is to uses html tables or something with no borders to
position your controls, this way it wont matter which browser you use.

--
Terry Burns
http://TrainingOn.net
"Aurelio" <corcharelliARROBAhotmail.com> wrote in message
news:O6**************@TK2MSFTNGP14.phx.gbl...
我正在开发使用ASP.NET和C#的Web应用程序,我在Opera和FireFox上遇到了问题。控件似乎没有正确显示。为什么?。我该怎么办?
I''m developing a Web application with ASP.NET and C# and i''m having
problems with Opera and FireFox. The controls don''t appear situated
correctly. Why?. What ca i do?



Terry Burns与我们分享了这一点

microsoft.public.dotnet.framework.aspnet:
Terry Burns shared this with us in
microsoft.public.dotnet.framework.aspnet:
可能是因为您在设计器上使用MS定位模式而不是流程模式。我没有做太多支持这些浏览器,但我不介意打赌他们没有使用absolutley定位所需的MS
定位属性。

你最好的选择是使用html表格或没有边框的东西来定位你的控件,这样你使用哪个浏览器都没关系。
Probably because you are using MS Positioning Mode rather than flow
mode on the designer. I have not done much to support theses
browsers, but I would not mind betting that they do not user the MS
positioning attributes required to absolutley position things.

Your best bet is to uses html tables or something with no borders to
position your controls, this way it wont matter which browser you use.




你知道asp吗? net为不同的浏览器生成不同的html?

您是否知道默认的浏览器检测方法已过时?


Imho这是相关的:
< a rel =nofollowhref =http://codebetter.com/blogs/peter.van.ooijen/archive/2004/09/15/25635.astarget =_ blank> http://codebetter.com /blogs/peter.va...09/15/25635.as

px


在Google上搜索Firefox时可以找到更多信息和asp.net。


-

Amedee Van Gasse



Did you know asp.net generates different html for different browsers?
And did you know the default browser detection method is outdated?

Imho this is relevant:
http://codebetter.com/blogs/peter.va...09/15/25635.as
px

More info can be found when googling for firefox and asp.net.

--
Amedee Van Gasse


Aurelio写道:
Aurelio wrote:
我正在开发一个Web应用程序使用ASP.NET和C#,我在使用Opera和FireFox时遇到了问题。控件似乎没有正确显示。为什么?。我该怎么做?
I''m developing a Web application with ASP.NET and C# and i''m having
problems with Opera and FireFox. The controls don''t appear situated
correctly. Why?. What ca i do?



http: //slingfive.com/pages/code/browserCaps/


顺便说一下,我认为不可能让各种浏览器显示出来/>
您的网页与像素相同。你可以期待的最好的是相似。


Hans Kesting



http://slingfive.com/pages/code/browserCaps/

By the way, I don''t think it is possible to get the various browsers to display
your pages identical to the pixel. The best you can hope for is "similar".

Hans Kesting


这篇关于FireFox和Opera的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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