Apple Safari浏览器下的Dotnet [英] Dotnet under Apple Safari browser

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

问题描述

大家好,


我在一个非常简单的dotnet框架网页上遇到了大问题

www.gbab.net/ztest3.aspx ),它无法正确呈现Apple的

Safari。 DIV不会像他们应该的那样对齐amd float,并且在Dotnet中做。

页面非常非常简单,它有一个CSS并且没有母版页。


我尝试使用以下作为此前面的建议

新闻组: -


1)将以下代码添加到page're Page_PreInit方法:

if(Request.Browser.Browser.Contains(" Safari"))){

this.ClientTarget =" uplevel"; <
}


2)根据以下内容在web.config中加入Browsercap部分:
http://slingfive.com/pages/code/browserCaps/


3确保页面被验证为符合XHTML的标准TML(使用
http:// validator .w3.org /


但我仍然遇到问题!


Safari无法处理C SS和DIV'正确!什么让我感到困惑的是,那里有一些非常精致的Dotnet网站在那里工作得非常漂亮

在Safari下!我想知道我做错了什么!


请帮忙!


谢谢


Edward

Hi All,

I am having huge problems with a very simple dotnet framework web page
(www.gbab.net/ztest3.aspx) , it does NOT render correctly under Apple''s
Safari. The DIV''s do not align amd float as they should, and do in Dotnet.
The page is really, really simple, and it has a CSS and with NO masterpage.

I have tried using the following as recommendations made earlier in this
Newsgroup:-

1) Adding the following code to the page''s Page_PreInit method:
if (Request.Browser.Browser.Contains("Safari")){
this.ClientTarget = "uplevel";
}

2) incorporating a Browsercap section in the web.config as per:
http://slingfive.com/pages/code/browserCaps/

3) Ensuring the page is validated as XHTML-compliant standard TML (used
http://validator.w3.org/)

BUT I STILL GET THE PROBLEM!

Safari does not handle CSS and DIV''s properly! What bugs me, is that there
are some pretty sophisticated Dotnet sites out there that work beautifully
under Safari! And I left wondering what it is that I am doing wrong!

Please help!

Thank you

Edward

推荐答案

" Edward" < aR ****** @ hotmail.comwrote in message

新闻:请******************* @ news-server。 bigpond.net.au ...
"Edward" <aR******@hotmail.comwrote in message
news:Do*******************@news-server.bigpond.net.au...

Safari无法正常处理CSS和DIV!什么让我感到困惑的是,那里有一些非常精致的Dotnet网站在那里工作得非常漂亮

在Safari下!我想知道我做错了什么!
Safari does not handle CSS and DIV''s properly! What bugs me, is that there
are some pretty sophisticated Dotnet sites out there that work beautifully
under Safari! And I left wondering what it is that I am doing wrong!



我已经告诉过你,你的网站在Safari上显示完全相同,

FireFox,Netscape和Opera在我的Mac上,所以无论你有什么'这样做,它不是特别是Safari问题的b $ b ...


顺便提一下,它在Mozilla,Camino和它上也显示完全一样

SeaMonkey ......

I already told you that your site displays EXACTLY THE SAME on Safari,
FireFox, Netscape and Opera on my Mac so, whatever you''re doing, it''s not
specifically a Safari issue...

Incidentally, it also displays exactly the same on Mozilla, Camino and
SeaMonkey...


我已经告诉过你,你的网站在Safari上显示完全相同

怎么能你说它没有显示相同的东西!在我测试过的Safari浏览器和IE'之间我看到了差异

,它正确地显示了



" Mark RAE" < ma ** @ markNOSPAMrae.com写信息

新闻:%2 **************** @ TK2MSFTNGP03.phx.gbl ...
I already told you that your site displays EXACTLY THE SAME on Safari
how can you say it displays the same when it does not! I see differences
between the Safari browsers I have tested it and the IE''s, where it displays
correctly?
"Mark Rae" <ma**@markNOSPAMrae.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...

" Edward" < aR ****** @ hotmail.comwrote in message

新闻:请******************* @ news-server。 bigpond.net.au ...
"Edward" <aR******@hotmail.comwrote in message
news:Do*******************@news-server.bigpond.net.au...

> Safari无法正常处理CSS和DIV!让我烦恼的是,
有一些非常精致的Dotnet网站在Safari下工作得非常漂亮!我想知道我做错了什么!
>Safari does not handle CSS and DIV''s properly! What bugs me, is that
there are some pretty sophisticated Dotnet sites out there that work
beautifully under Safari! And I left wondering what it is that I am doing
wrong!



我已经告诉过你,你的网站在Safari上显示完全相同,

FireFox,Netscape和Opera在我的Mac上,所以,不管你有什么'这样做,它不是特别是Safari问题的b $ b ...


顺便提一下,它在Mozilla,Camino和它上也显示完全一样

SeaMonkey ......


I already told you that your site displays EXACTLY THE SAME on Safari,
FireFox, Netscape and Opera on my Mac so, whatever you''re doing, it''s not
specifically a Safari issue...

Incidentally, it also displays exactly the same on Mozilla, Camino and
SeaMonkey...



Marks告诉你的是他在很多不同的地方看到它没有问题

浏览器,这意味着它可以本地化到你的机器和浏览器。

我很惊讶他为你做了如此全面的测试,所以简单地不同意

与他的发现肯定不会给你一个解决方案 - 去测试一个

不同的mac环境,因为Marks的调查结果告诉我你的问题不是

在每个浏览器中被复制。你可能会看到类似的发现!


如果你没有一个在线测试服务,如果你看一下或建立一个虚拟mac并通过它进行测试。


-

-

问候


John Timney(MVP) )

访问我的网站:
http://www.johntimney .com

" Edward" < aR ****** @ hotmail.comwrote in message

news:Tl ******************* @ news-server。 bigpond.net.au ...
What Marks telling you is that he sees it without problems on many different
browsers, which means it may be localised to your machines and browsers.
I''m suprised he tested so comprehensively for you, so simply disagreeing
with his findings certainly wont get you a solution - go and test on a
different mac environment as Marks findings tell me your problem is not
being reproduced in every browser. You may see similar findings!

If you dont have one there are some online testing services if you look
about or build a virtual mac and test through that.

--
--
Regards

John Timney (MVP)
VISIT MY WEBSITE:
http://www.johntimney.com
"Edward" <aR******@hotmail.comwrote in message
news:Tl*******************@news-server.bigpond.net.au...

>我已经告诉过你,你的网站在Safari上显示的完全相同
>I already told you that your site displays EXACTLY THE SAME on Safari



你怎么能说它没有显示相同的东西!在我测试过的Safari浏览器和IE'之间我看到了差异

,它在哪里显示正确的?b


$ bMark Rae < ma ** @ markNOSPAMrae.com写信息

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

how can you say it displays the same when it does not! I see differences
between the Safari browsers I have tested it and the IE''s, where it
displays correctly?
"Mark Rae" <ma**@markNOSPAMrae.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...


>" Edward" < aR ****** @ hotmail.comwrote in message
新闻:请******************* @ news-server.bigpond.net。 au ...
>"Edward" <aR******@hotmail.comwrote in message
news:Do*******************@news-server.bigpond.net.au...

>> Safari无法正常处理CSS和DIV!让我烦恼的是,
有一些非常精致的Dotnet网站在Safari下工作得非常漂亮!我想知道我做错了什么!
>>Safari does not handle CSS and DIV''s properly! What bugs me, is that
there are some pretty sophisticated Dotnet sites out there that work
beautifully under Safari! And I left wondering what it is that I am
doing wrong!


我已经告诉过你,你的网站在我的Mac上显示的信息与FireFox,Netscape和Opera完全相同,所以无论你在做什么,它都是''不是特别是Safari问题......

顺便提一下,它在Mozilla,Camino和
SeaMonkey上也显示完全一样......


I already told you that your site displays EXACTLY THE SAME on Safari,
FireFox, Netscape and Opera on my Mac so, whatever you''re doing, it''s not
specifically a Safari issue...

Incidentally, it also displays exactly the same on Mozilla, Camino and
SeaMonkey...




这篇关于Apple Safari浏览器下的Dotnet的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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