Home All Groups Group Topic Archive Search About

Dotnet under Apple Safari browser

Author
16 Oct 2006 7:21 AM
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

Author
16 Oct 2006 6:20 PM
Gaurav Vaish (www.EdujiniOnline.com)
> Safari does not handle CSS and DIV's properly! What bugs me, is that there

It's not the case.
Infact, Safar is based on Mozilla rendering engine -- the same on which
Firefox is built.

Can I have a look at your project -- the output, don't need your code. Let
me see in Safari here...


--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujinionline.com
http://eduzine.edujinionline.com
-----------------------------------------
Author
16 Oct 2006 6:32 PM
Carl Daniel [VC++ MVP]
"Gaurav Vaish (www.EdujiniOnline.com)"
<gaurav.vaish.nospam@nospam.gmail.com> wrote in message
news:ODV3L$U8GHA.4116@TK2MSFTNGP03.phx.gbl...
>> Safari does not handle CSS and DIV's properly! What bugs me, is that
>> there
>
> It's not the case.
> Infact, Safar is based on Mozilla rendering engine -- the same on which
> Firefox is built.

.... except that Safari is branched from an older drop of the Mozilla core
and retains many bugs that have been fixed in Firefox (and no doubt a few
that Apple have added on their own).

-cd
Author
16 Oct 2006 6:45 PM
Gaurav Vaish (www.EdujiniOnline.com)
> ... except that Safari is branched from an older drop of the Mozilla core
> and retains many bugs that have been fixed in Firefox (and no doubt a few
> that Apple have added on their own).

:))


--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujinionline.com
http://eduzine.edujinionline.com
-----------------------------------------

AddThis Social Bookmark Button