473,659 Members | 3,348 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Apple Safari and Dotnet

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 does not support lots of things (xhtml etcc).

However, what puzzles me is that there are some dotnet Framework 2 web sites
out there that work perfectly well under Safari, whereas my website does not
while it is a simple one! I don't know what I am doing wrong and how those
sites manage to work ok.... so obviously Safari is not a limitation for
dotnet framework V2.

Is anyone able to explain to me if there is something that I can do to
ensure my site works under Safari?

Thank you so much.

Edward Re
Melbourne Australia
Oct 12 '06 #1
21 4403
Hi Again,

I forgot to mention that my dotnet framework V2 web site uses the plainest
and simplest dotnet code (no javascript nor vb script) yet, it still FAILS
to render corrently under Safari! Looks like Safari does not handle too well
the <DIVelement!

thanks for your precious feedback

Edward

"Edward" <aR******@hotma il.comwrote in message
news:IR******** ***********@new s-server.bigpond. net.au...
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 does not support lots of things (xhtml etcc).

However, what puzzles me is that there are some dotnet Framework 2 web
sites out there that work perfectly well under Safari, whereas my website
does not while it is a simple one! I don't know what I am doing wrong and
how those sites manage to work ok.... so obviously Safari is not a
limitation for dotnet framework V2.

Is anyone able to explain to me if there is something that I can do to
ensure my site works under Safari?

Thank you so much.

Edward Re
Melbourne Australia

Oct 12 '06 #2
Can you give more specific information about how your application is
failing in Safari, and which controls you have used?

Edward wrote:
Hi Again,

I forgot to mention that my dotnet framework V2 web site uses the plainest
and simplest dotnet code (no javascript nor vb script) yet, it still FAILS
to render corrently under Safari! Looks like Safari does not handle too well
the <DIVelement!

thanks for your precious feedback

Edward

"Edward" <aR******@hotma il.comwrote in message
news:IR******** ***********@new s-server.bigpond. net.au...
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 does not support lots of things (xhtml etcc).

However, what puzzles me is that there are some dotnet Framework 2 web
sites out there that work perfectly well under Safari, whereas my website
does not while it is a simple one! I don't know what I am doing wrong and
how those sites manage to work ok.... so obviously Safari is not a
limitation for dotnet framework V2.

Is anyone able to explain to me if there is something that I can do to
ensure my site works under Safari?

Thank you so much.

Edward Re
Melbourne Australia
Oct 12 '06 #3
sure.... if you have a look at http://www.gbab.net/ under Safari the
alignment of the <DIV>s to the right of the sidebar and the footer are all
over the place! The site looks super under Internet Explorer though!

Is any other info that I can provide for our investigation?

thanks for your time on this

Ed
"Chris Fulstow" <ch**********@h otmail.comwrote in message
news:11******** **************@ m7g2000cwm.goog legroups.com...
Can you give more specific information about how your application is
failing in Safari, and which controls you have used?

Edward wrote:
>Hi Again,

I forgot to mention that my dotnet framework V2 web site uses the
plainest
and simplest dotnet code (no javascript nor vb script) yet, it still
FAILS
to render corrently under Safari! Looks like Safari does not handle too
well
the <DIVelement!

thanks for your precious feedback

Edward

"Edward" <aR******@hotma il.comwrote in message
news:IR******* ************@ne ws-server.bigpond. net.au...
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 does not support lots of things (xhtml etcc).

However, what puzzles me is that there are some dotnet Framework 2 web
sites out there that work perfectly well under Safari, whereas my
website
does not while it is a simple one! I don't know what I am doing wrong
and
how those sites manage to work ok.... so obviously Safari is not a
limitation for dotnet framework V2.

Is anyone able to explain to me if there is something that I can do to
ensure my site works under Safari?

Thank you so much.

Edward Re
Melbourne Australia

Oct 12 '06 #4
"Edward" <aR******@hotma il.comwrote in message
news:IR******** ***********@new s-server.bigpond. net.au...
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!
I feel your pain! I went through precisely the same thing about a year
ago...
Safari is buggy and it does not support lots of things (xhtml etcc).
Actually, it isn't, and it does - you just have to know how...

That said, neither Safari nor Camino support styles on buttons - no-one has
ever been able to explain to me why this is!
However, there's no point trying - styles on buttons are simply ignored by
Safari and Camino.
However, what puzzles me is that there are some dotnet Framework 2 web
sites out there that work perfectly well under Safari, whereas my website
does not while it is a simple one! I don't know what I am doing wrong and
how those sites manage to work ok.... so obviously Safari is not a
limitation for dotnet framework V2.
Again, it's not the Framework per se...
Is anyone able to explain to me if there is something that I can do to
ensure my site works under Safari?
1 ) Choose the webpage which looks the worst in Safari :-)

2) Add the following code to the page's Page_PreInit method:

if (Request.Browse r.Browser.Conta ins("Safari"))
{
this.ClientTarg et = "uplevel";
}

How does it look now...?
Oct 12 '06 #5
Hello Mark,

I have made the change to the Pre Init method but I will have to get into
work first to test it, as I do not have a Mac here at home where I am now!
Here in Melbourne Ausrtalia it's close to 1AM, so I'll need to wait a few
hours to see if it works .....

I am keeping my fingetrs crossed that it works .... and if it does .... I'll
be a happy chappy! :-)

More to come.

Cheers

Ed
"Mark Rae" <ma**@markNOSPA Mrae.comwrote in message
news:%2******** ********@TK2MSF TNGP02.phx.gbl. ..
"Edward" <aR******@hotma il.comwrote in message
news:IR******** ***********@new s-server.bigpond. net.au...
>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!

I feel your pain! I went through precisely the same thing about a year
ago...
>Safari is buggy and it does not support lots of things (xhtml etcc).

Actually, it isn't, and it does - you just have to know how...

That said, neither Safari nor Camino support styles on buttons - no-one
has ever been able to explain to me why this is!
However, there's no point trying - styles on buttons are simply ignored by
Safari and Camino.
>However, what puzzles me is that there are some dotnet Framework 2 web
sites out there that work perfectly well under Safari, whereas my website
does not while it is a simple one! I don't know what I am doing wrong and
how those sites manage to work ok.... so obviously Safari is not a
limitation for dotnet framework V2.

Again, it's not the Framework per se...
>Is anyone able to explain to me if there is something that I can do to
ensure my site works under Safari?

1 ) Choose the webpage which looks the worst in Safari :-)

2) Add the following code to the page's Page_PreInit method:

if (Request.Browse r.Browser.Conta ins("Safari"))
{
this.ClientTarg et = "uplevel";
}

How does it look now...?

Oct 12 '06 #6
Also have a look at this:

http://slingfive.com/pages/code/browserCaps/

this can be used to replace the default browser detection code.

If you want a good idea of what the site looks like in safari you can boot
up a linux boot cd like knoppix and try looking at the site with konquerer
which uses an only slightly different browser engine.

Another option is using:
http://www.danvine.com/icapture/

Or another service like it :)


"Edward" <aR******@hotma il.comwrote in message
news:8F******** ***********@new s-server.bigpond. net.au...
Hello Mark,

I have made the change to the Pre Init method but I will have to get into
work first to test it, as I do not have a Mac here at home where I am now!
Here in Melbourne Ausrtalia it's close to 1AM, so I'll need to wait a few
hours to see if it works .....

I am keeping my fingetrs crossed that it works .... and if it does ....
I'll be a happy chappy! :-)

More to come.

Cheers

Ed
"Mark Rae" <ma**@markNOSPA Mrae.comwrote in message
news:%2******** ********@TK2MSF TNGP02.phx.gbl. ..
>"Edward" <aR******@hotma il.comwrote in message
news:IR******* ************@ne ws-server.bigpond. net.au...
>>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!

I feel your pain! I went through precisely the same thing about a year
ago...
>>Safari is buggy and it does not support lots of things (xhtml etcc).

Actually, it isn't, and it does - you just have to know how...

That said, neither Safari nor Camino support styles on buttons - no-one
has ever been able to explain to me why this is!
However, there's no point trying - styles on buttons are simply ignored
by Safari and Camino.
>>However, what puzzles me is that there are some dotnet Framework 2 web
sites out there that work perfectly well under Safari, whereas my
website does not while it is a simple one! I don't know what I am doing
wrong and how those sites manage to work ok.... so obviously Safari is
not a limitation for dotnet framework V2.

Again, it's not the Framework per se...
>>Is anyone able to explain to me if there is something that I can do to
ensure my site works under Safari?

1 ) Choose the webpage which looks the worst in Safari :-)

2) Add the following code to the page's Page_PreInit method:

if (Request.Browse r.Browser.Conta ins("Safari"))
{
this.ClientTarg et = "uplevel";
}

How does it look now...?


Oct 12 '06 #7
I tried the code below and while it has improved the look and behaviour of
the menu control, the DIVs are still misbehaving:- they overlap whereas they
should lay one next to the other!

I would have thought Safari could understand DIV's being old contructs!

Help?

thanks

Ed
"Mark Rae" <ma**@markNOSPA Mrae.comwrote in message
news:%2******** ********@TK2MSF TNGP02.phx.gbl. ..
"Edward" <aR******@hotma il.comwrote in message
news:IR******** ***********@new s-server.bigpond. net.au...
>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!

I feel your pain! I went through precisely the same thing about a year
ago...
>Safari is buggy and it does not support lots of things (xhtml etcc).

Actually, it isn't, and it does - you just have to know how...

That said, neither Safari nor Camino support styles on buttons - no-one
has ever been able to explain to me why this is!
However, there's no point trying - styles on buttons are simply ignored by
Safari and Camino.
>However, what puzzles me is that there are some dotnet Framework 2 web
sites out there that work perfectly well under Safari, whereas my website
does not while it is a simple one! I don't know what I am doing wrong and
how those sites manage to work ok.... so obviously Safari is not a
limitation for dotnet framework V2.

Again, it's not the Framework per se...
>Is anyone able to explain to me if there is something that I can do to
ensure my site works under Safari?

1 ) Choose the webpage which looks the worst in Safari :-)

2) Add the following code to the page's Page_PreInit method:

if (Request.Browse r.Browser.Conta ins("Safari"))
{
this.ClientTarg et = "uplevel";
}

How does it look now...?

Oct 13 '06 #8
"Edward" <aR******@hotma il.comwrote in message
news:QO******** ***********@new s-server.bigpond. net.au...
>I tried the code below and while it has improved the look and behaviour of
the menu control, the DIVs are still misbehaving:- they overlap whereas
they should lay one next to the other!

I would have thought Safari could understand DIV's being old contructs!
Hmm - Safari is *VERY* XHTML

1) Are you writing your markup to XHTML-compliant standards and are you
using VS.NET 2005 to validate your markup properly?
Tools, Options, Text Editor, HTML, Validation, XHTML 1.0 / XHTML 1.1

2) Have you run your rendered markup through the XHTML validator?
http://validator.w3.org/
Oct 13 '06 #9
Hello Mark,

NO LUCK! I have made the page (www.gbab.net/zTest3.aspx) to be XHTML 1.0
compliant transitional using the http://validator.w3.org/ check syntax
parser and the necessary adjustments. I have also used the pre_init code
(this.ClientTar get = "uplevel";) HOWEVER the DIVs are still looking bad!

I don't understand why!

Maybe Safari does not apply the CSS properly to the DIVs.

I am determined to resolve this mystery though, I will keep on trying
different things.

Meanwhile, I appreciate immensely your help.

Edward
"Mark Rae" <ma**@markNOSPA Mrae.comwrote in message
news:OQ******** ******@TK2MSFTN GP04.phx.gbl...
"Edward" <aR******@hotma il.comwrote in message
news:QO******** ***********@new s-server.bigpond. net.au...
>>I tried the code below and while it has improved the look and behaviour of
the menu control, the DIVs are still misbehaving:- they overlap whereas
they should lay one next to the other!

I would have thought Safari could understand DIV's being old contructs!

Hmm - Safari is *VERY* XHTML

1) Are you writing your markup to XHTML-compliant standards and are you
using VS.NET 2005 to validate your markup properly?
Tools, Options, Text Editor, HTML, Validation, XHTML 1.0 / XHTML 1.1

2) Have you run your rendered markup through the XHTML validator?
http://validator.w3.org/

Oct 15 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1651
by: nick | last post by:
Hello, I am developing website using Windows/Linux. I don't have any Apple computers but I need to know how the html code looks like in Apple computer. What's the brower in Windows/Linux rendering html code mostly the same as Apples brower (Safari, I guess the most popular current?)? Konquerer?
1
1549
by: Thomas | last post by:
Hi, We have (must implement) an asp.net (2.0) solution, but the web clients are apples. Apple G5 has Safari, Firefox and MS IE installed. 1) Controls: Are there known problems with some browsers when using any standard asp.net 2.0 controls?
4
1516
by: dpomt | last post by:
Hello, I am using the ASP.NET menu control and I have two issues when the page containing the menu is displayed in Safari on Mac OS X: 1) The menu is not dynamic. Why (it seems that Safari is treated as downlevel browser)? 2) I run into the "DynamicMenuStyle" bug (see http://weblogs.asp.net/dannychen/archive/2005/11/21/431121.aspx) Any ideas when this bug will be fixed?
49
3962
by: Atul Chaturvedi | last post by:
If we use ASP.NET 2.0 Login Control, we are unable to click on Login and Reset Buttons on Safari running on Apple Mac OS X Version 10.3.2 . How can i resolve the problem.
16
2499
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 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:-
8
1628
by: Newbie19 | last post by:
I've been running some test on Safari and research as well. I've found it has many security flaws. Am I the only one that sees that Apple's attempt to compete against IE can be risky for users and their "security"?
2
8006
by: Atlan | last post by:
My page does not behave properly with Apple Safari (Mac and Windows) and I have difficulties to sort out the cause of the problem. The next link will open the page. On the top you will find one select box for the diagram and one for the zoom level. The zoom level is disabled so it can not be modified. But the diagram select box behaves as if it is disabled too. This does not happen on browsers like Mozilla and IE: ...
0
37990
digicrowd
by: digicrowd | last post by:
http://bytes.com/images/howtos/applemail_sig_icon.jpg At first glance, it may not appear that Apple Mail (otherwise known as Mail.app) supports the use of HTML signature emails. However, with a little terminal and Safari magic, you will be sending HTML signatures. 1. Prepare your HTML signature. Open TextEdit or your favorite HTML editor and create your signature just how you want it to look. Remember to keep it simple as most mail...
3
100026
digicrowd
by: digicrowd | last post by:
http://bytes.com/images/howtos/applemail_sig_icon.jpg You can make your emails fancy in Mail.app by using Rich Text formatting or even included Stationery. But, a simple way to send your own HTML creation (or any web page for that matter) is to use Safari. Follow these four easy steps. 1. Create the HTML Layout your HTML code including any images or graphics you'd like to include. In this example, we will make a simple birthday email to add...
0
8428
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8335
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8747
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8528
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8627
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4175
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2752
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1976
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.