473,416 Members | 1,564 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,416 software developers and data experts.

Asp.net for safari browser?

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
4 2684
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Martin! | last post by:
hi all, yesterday i checked some of my sites with safari on a mac with os x and saw that some things didnt show up as they do in IE and FF. these things include a css_roll_menu and a suckerfish...
5
by: Foreman | last post by:
Using ASPFileUpload (http://support.microsoft.com/default.aspx?scid=kb;en-us;299692) and works for IE6 and FireFox but not Safari. Thanks in advance for your assistance.
2
by: laredotornado | last post by:
Hi, Is it possible to fool Javascript running on a Mac Safari web browser into believing it is a PC IE browser? We have the following JS code that is detecting both Mac and Safari. Sadly, we do...
2
by: JThomas | last post by:
Hello! I'm having trouble with a page apparently causing my client's Safari browser to time out. I don't actually have access to a Mac & Safari, and haven't been able to physically see this...
5
by: Bill Cohagan | last post by:
I'm having some serious difficulties with my ASP.Net 2.0 app rendering in Safari 2.0.3. The most immediate problem is that the menu control doesn't seem to work at all, particularly the use of...
34
by: Simon Wigzell | last post by:
document...focus() will scroll the form to move the specified text field into view on everything I have tried it with except Safari on the MAC. The form doesn't move. Any work around? Thanks.
21
by: Edward | last post by:
Hi All, I feel frustrated with one of my Customers who wants me to ensure that a dotnet web site I am building for them must be compatible to Apple's Safari browser! Safari is buggy and it...
16
by: Edward | last post by:
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...
7
by: David Stone | last post by:
Run into something recently that has left me a little puzzled. According to the examples in section 13.6.1 of html 4.01... <http://www.w3.org/TR/html401/struct/objects.html#h-13.6.1.1> I...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.