By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,368 Members | 1,704 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,368 IT Pros & Developers. It's quick & easy.

Asp.net for safari browser?

P: n/a
Hi - can someone point me to info on the issues/resolutions of supporting
the safari browser?

To help me understand, if I was developing pages in say FrontPage, what
attributes would I set for 'target browser'?

I'm having a helluva time with table layouts etc and goin' stir crazy..

Thanks, Paul.
Nov 19 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
These resources [1],[2] should help you out.

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/

[1] http://www.garykeith.com/browsers/
[2]
http://staff.develop.com/ballen/blog...a-a2b01f5f8cff
"Paul W" <qq*@qqq.com> wrote in message
news:eR**************@tk2msftngp13.phx.gbl...
Hi - can someone point me to info on the issues/resolutions of supporting
the safari browser?

To help me understand, if I was developing pages in say FrontPage, what
attributes would I set for 'target browser'?

I'm having a helluva time with table layouts etc and goin' stir crazy..

Thanks, Paul.

Nov 19 '05 #2

P: n/a
Pauk,

See : http://word.mvps.org/MacWordNew/

Apparently, later versions of Safari are a bit buggy,
and cannot handle HTML 4.0 as well as they should.

Safari version 1.2.2. (build 125.7) and later have some issues.

There's quite a few versions of Safari :
http://developer.apple.com/internet/.../uamatrix.html

I'd check to see the level of support which Safari's different versions have,
and make a decision as to which versions of Safari you'll support.

Supporting them all will be a nightmare.
As far as the "target browser", that won't do very much unless
you can pin down Safari's exact capabilities, so you can create
an intelligent browsercaps definition for it.

You could setup a clientTarget element, per :
http://msdn.microsoft.com/library/de...getElement.asp
but doing that for the different flavors of Safari
will keep you working for quite a while.

Maybe a good way to make sure Safari can read your pages would be
to check Apple's recommendations for building web pages, particularly
the XHTML section, which both Safari and Visual Studio support :

http://developer.apple.com/internet/...estwebdev.html

Smart use of CSS classes will help a lot, too.
Again, both Safari and VS.NET support it. See the above doc.

Maybe this will help you, maybe not.
If you want to support Safari, you'll have to sweat hard anyway.

Now for the bad news: as of ASP.NET 2.0, the whole browser
discovery/capability assigning paradigm changes once more,
so we'll have to relearn everything.

:-)

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Paul W" <qq*@qqq.com> wrote in message news:eR**************@tk2msftngp13.phx.gbl...
Hi - can someone point me to info on the issues/resolutions of supporting the safari
browser?

To help me understand, if I was developing pages in say FrontPage, what attributes would
I set for 'target browser'?

I'm having a helluva time with table layouts etc and goin' stir crazy..

Thanks, Paul.

Nov 19 '05 #3

P: n/a
Nice job of scaring the hell out of everybody Juan :-)

Do you have any references to the 2.0 changes you referred to? This MSDN
article [1] is all I have so far.

<%= Clinton Gallagher

[1] http://msdn.microsoft.com/msdnmag/is...n/default.aspx


"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:ee****************@TK2MSFTNGP10.phx.gbl...
Pauk,

See : http://word.mvps.org/MacWordNew/

Apparently, later versions of Safari are a bit buggy,
and cannot handle HTML 4.0 as well as they should.

Safari version 1.2.2. (build 125.7) and later have some issues.

There's quite a few versions of Safari :
http://developer.apple.com/internet/.../uamatrix.html

I'd check to see the level of support which Safari's different versions
have,
and make a decision as to which versions of Safari you'll support.

Supporting them all will be a nightmare.
As far as the "target browser", that won't do very much unless
you can pin down Safari's exact capabilities, so you can create
an intelligent browsercaps definition for it.

You could setup a clientTarget element, per :
http://msdn.microsoft.com/library/de...getElement.asp
but doing that for the different flavors of Safari
will keep you working for quite a while.

Maybe a good way to make sure Safari can read your pages would be
to check Apple's recommendations for building web pages, particularly
the XHTML section, which both Safari and Visual Studio support :

http://developer.apple.com/internet/...estwebdev.html

Smart use of CSS classes will help a lot, too.
Again, both Safari and VS.NET support it. See the above doc.

Maybe this will help you, maybe not.
If you want to support Safari, you'll have to sweat hard anyway.

Now for the bad news: as of ASP.NET 2.0, the whole browser
discovery/capability assigning paradigm changes once more,
so we'll have to relearn everything.

:-)

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Paul W" <qq*@qqq.com> wrote in message
news:eR**************@tk2msftngp13.phx.gbl...
Hi - can someone point me to info on the issues/resolutions of supporting
the safari browser?

To help me understand, if I was developing pages in say FrontPage, what
attributes would I set for 'target browser'?

I'm having a helluva time with table layouts etc and goin' stir crazy..

Thanks, Paul.


Nov 19 '05 #4

P: n/a
I should have added that you must save
the attachment first, and then view it with
Notepad++, Notepad or any plain text reader.

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:OB**************@TK2MSFTNGP12.phx.gbl...
heh, heh...

The sidebar in the article link you sent,
has very good information of the details :

http://msdn.microsoft.com/msdnmag/is...px?side=true#a

All the browser information is removed from machine.config,
and is replaced by *.browser files which define the browsers.

"the machine-wide files are in the browsers subdirectory of the
.NET Framework configuration directory, and application-specific
files can be placed in a directory under the Web application root
with the same name ( /browsers )."

"One of the key changes in this version of the browserCaps feature is that
the .browser files are used to generate code for a factory type that, given
an HttpRequest, will produce an HttpBrowserCapabilities object.

In the previous version, the regular expressions were processed
in the order that they were parsed from the configuration files.

Take a look at the attached "ie.browser" file, and you'll see
how all the IE browsers are condensed into the one browser file.

It's easier to modify, since you can just add whatever new capabilities
a new browser version has by adding an updated tag and its capability.

For example :

<capability name="css1" value="true" />
<capability name="css2" value="true" />

To identify a browser, just ID it :

<browser id="IE6to9" parentID="IE5to9">
<identification>
<capability name="majorversion" match="[6-9]" />
</identification>

That will ID IE versions 6 through 9.

Working with browser elements and gateway elements,
make this system a lot simpler, and easier to program.

Give that article a thorough reading. It's spot on.

For more Beta 2 and later info, see :

http://msdn2.microsoft.com/library/3...us,vs.80).aspx
http://msdn2.microsoft.com/library/x...us,vs.80).aspx
http://msdn2.microsoft.com/library/0...us,vs.80).aspx ( JScript )

In code, the HttpCapabilitiesBase class is used :
http://msdn2.microsoft.com/library/5...us,vs.80).aspx

Here's how to detect whether a browser's IE, for example :

http://msdn2.microsoft.com/library/0...us,vs.80).aspx

Have fun!

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"clintonG" <cs*********@REMOVETHISTEXTmetromilwaukee.com> wrote in message
news:u7**************@TK2MSFTNGP10.phx.gbl...
Nice job of scaring the hell out of everybody Juan :-)

Do you have any references to the 2.0 changes you referred to? This MSDN
article [1] is all I have so far.

<%= Clinton Gallagher

[1] http://msdn.microsoft.com/msdnmag/is...n/default.aspx


"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:ee****************@TK2MSFTNGP10.phx.gbl...
Pauk,

See : http://word.mvps.org/MacWordNew/

Apparently, later versions of Safari are a bit buggy,
and cannot handle HTML 4.0 as well as they should.

Safari version 1.2.2. (build 125.7) and later have some issues.

There's quite a few versions of Safari :
http://developer.apple.com/internet/.../uamatrix.html

I'd check to see the level of support which Safari's different versions
have,
and make a decision as to which versions of Safari you'll support.

Supporting them all will be a nightmare.
As far as the "target browser", that won't do very much unless
you can pin down Safari's exact capabilities, so you can create
an intelligent browsercaps definition for it.

You could setup a clientTarget element, per :
http://msdn.microsoft.com/library/de...getElement.asp
but doing that for the different flavors of Safari
will keep you working for quite a while.

Maybe a good way to make sure Safari can read your pages would be
to check Apple's recommendations for building web pages, particularly
the XHTML section, which both Safari and Visual Studio support :

http://developer.apple.com/internet/...estwebdev.html

Smart use of CSS classes will help a lot, too.
Again, both Safari and VS.NET support it. See the above doc.

Maybe this will help you, maybe not.
If you want to support Safari, you'll have to sweat hard anyway.

Now for the bad news: as of ASP.NET 2.0, the whole browser
discovery/capability assigning paradigm changes once more,
so we'll have to relearn everything.

:-)

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Paul W" <qq*@qqq.com> wrote in message
news:eR**************@tk2msftngp13.phx.gbl...
Hi - can someone point me to info on the issues/resolutions of supporting
the safari browser?

To help me understand, if I was developing pages in say FrontPage, what
attributes would I set for 'target browser'?

I'm having a helluva time with table layouts etc and goin' stir crazy..

Thanks, Paul.



Nov 19 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.