Connecting Tech Pros Worldwide Forums | Help | Site Map

Asp.net for safari browser?

Paul W
Guest
 
Posts: n/a
#1: Nov 19 '05
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.



clintonG
Guest
 
Posts: n/a
#2: Nov 19 '05

re: Asp.net for safari browser?


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" <qqq@qqq.com> wrote in message
news:eRChFOMiFHA.1048@tk2msftngp13.phx.gbl...[color=blue]
> 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.
>[/color]


Juan T. Llibre
Guest
 
Posts: n/a
#3: Nov 19 '05

re: Asp.net for safari browser?


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" <qqq@qqq.com> wrote in message news:eRChFOMiFHA.1048@tk2msftngp13.phx.gbl...[color=blue]
> 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.
>[/color]


clintonG
Guest
 
Posts: n/a
#4: Nov 19 '05

re: Asp.net for safari browser?


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" <nomailreplies@nowhere.com> wrote in message
news:eeh2%23TNiFHA.3056@TK2MSFTNGP10.phx.gbl...[color=blue]
> 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" <qqq@qqq.com> wrote in message
> news:eRChFOMiFHA.1048@tk2msftngp13.phx.gbl...[color=green]
>> 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.
>>[/color]
>
>[/color]


Juan T. Llibre
Guest
 
Posts: n/a
#5: Nov 19 '05

re: Asp.net for safari browser?


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" <nomailreplies@nowhere.com> wrote in message
news:OBHWF6UiFHA.1248@TK2MSFTNGP12.phx.gbl...[color=blue]
> 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" <csgallagher@REMOVETHISTEXTmetromilwaukee.com> wrote in message
> news:u7QesqUiFHA.3448@TK2MSFTNGP10.phx.gbl...[color=green]
>> 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" <nomailreplies@nowhere.com> wrote in message
>> news:eeh2%23TNiFHA.3056@TK2MSFTNGP10.phx.gbl...[color=darkred]
>>> 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" <qqq@qqq.com> wrote in message
>>> news:eRChFOMiFHA.1048@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.
>>>>
>>>
>>>[/color]
>>
>>[/color]
>
>
>[/color]


Closed Thread