FireFox and Opera

A

Aurelio

I'm developing a Web application with ASP.NET and C# and i'm having problems
with Opera and FireFox. The controls don't appear situated correctly. Why?.
What ca i do?
 
T

Terry Burns

Probably because you are using MS Positioning Mode rather than flow mode on
the designer. I have not done much to support theses browsers, but I would
not mind betting that they do not user the MS positioning attributes
required to absolutley position things.

Your best bet is to uses html tables or something with no borders to
position your controls, this way it wont matter which browser you use.
 
A

Amedee Van Gasse

Terry Burns shared this with us in
microsoft.public.dotnet.framework.aspnet:
Probably because you are using MS Positioning Mode rather than flow
mode on the designer. I have not done much to support theses
browsers, but I would not mind betting that they do not user the MS
positioning attributes required to absolutley position things.

Your best bet is to uses html tables or something with no borders to
position your controls, this way it wont matter which browser you use.

Did you know asp.net generates different html for different browsers?
And did you know the default browser detection method is outdated?

Imho this is relevant:
http://codebetter.com/blogs/peter.van.ooijen/archive/2004/09/15/25635.as
px

More info can be found when googling for firefox and asp.net.
 
H

Hans Kesting

Aurelio said:
I'm developing a Web application with ASP.NET and C# and i'm having
problems with Opera and FireFox. The controls don't appear situated
correctly. Why?. What ca i do?

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

By the way, I don't think it is possible to get the various browsers to display
your pages identical to the pixel. The best you can hope for is "similar".

Hans Kesting
 
T

Terry Burns

Interesting as Firefox was not released until 2002. So can you explain how
ASP.NET would generate the code For Firefox differently to Netscape
Navigator in this instance ?
 
T

Terry Burns

Also, using HTML tables will almost gaurantee the same positioning rather
than relying on ASP.NET spitting out browser dependent code.
 
A

Amedee Van Gasse

Aurelio shared this with us in microsoft.public.dotnet.framework.aspnet:
I'm developing a Web application with ASP.NET and C# and i'm having
problems with Opera and FireFox. The controls don't appear situated
correctly. Why?. What ca i do?

Read elsewhere in this group:

***PASTE***

I strongly recommend that everybody update
their BrowserCaps section per the code at this link :

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

Modifying the site's web.config per the code at that page will send HTML
which Firefox, Mozilla, Konqueror, Opera and Mac's Safari can
understand.

That makes for a huge difference in accessibility.

***PASTE***
 
A

Amedee Van Gasse

Terry Burns shared this with us in
microsoft.public.dotnet.framework.aspnet:
Interesting as Firefox was not released until 2002. So can you
explain how ASP.NET would generate the code For Firefox differently
to Netscape Navigator in this instance ?

Terry,

Hans and Juan already answered that question.
 
A

Amedee Van Gasse

Terry Burns shared this with us in
microsoft.public.dotnet.framework.aspnet:
Also, using HTML tables will almost gaurantee the same positioning
rather than relying on ASP.NET spitting out browser dependent code.

Agreed, although in an ideal world one would use browser independent
style sheets for presentation.
Just my humble opinion as a PHP web developer. I have nothing against
ASP.NET, on the contrary.
 
T

Terry Burns

Oh how silly of me, I didnt see their replies. Do forgive my travesty. I'll
try not to be so very dumb again.
 
A

Amedee Van Gasse

Terry Burns shared this with us in
microsoft.public.dotnet.framework.aspnet:
Oh how silly of me, I didnt see their replies. Do forgive my
travesty. I'll try not to be so very dumb again.

Terry,

It wasn't my intention at all to be sarcastic or witty.
Please accept my apologies.
 
W

Wilbur Slice

Agreed.

The page with the specific changes needed for web.config is

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

Modifying web.config per the code at that page will allow better browsing
with Firefox, Mozilla, Konqueror, Opera and Mac's Safari browser,
because they will be sent HTML they understand.


Where is this <browserCaps> code supposed to go? I tried adding it to
the web.config file just inside the <configuration> tag, but I get an
error saying "Unrecognized configuration section 'browserCaps'".
 
A

Amedee Van Gasse

Amedee Van Gasse shared this with us in
microsoft.public.dotnet.framework.aspnet:
Terry Burns shared this with us in
microsoft.public.dotnet.framework.aspnet:


Terry,

It wasn't my intention at all to be sarcastic or witty.
Please accept my apologies.

Terry,

Could you please acknowledge that you have read my previous message?
I'm not getting any impression of "closure" of this "incident".
 
G

gerry

lol

Amedee Van Gasse said:
Amedee Van Gasse shared this with us in
microsoft.public.dotnet.framework.aspnet:


Terry,

Could you please acknowledge that you have read my previous message?
I'm not getting any impression of "closure" of this "incident".
 
A

Amedee Van Gasse

gerry shared this with us in microsoft.public.dotnet.framework.aspnet:

Gerry,

It's OK with me if you think this is funny - or at least absurd.
But look at it from my point of view.

I seem to have offended Terry Burns in some way, which resulted in his
sarcastic remark. Or at least I interpreted it as sarcastic.
I think it is only polite to apologize if one makes a mistake. So I
did. But my apology isn't worth a lot if it isn't accepted by the
person who was offended. So now I feel really confused.

I don't have Terry's personal address. If I had, I would have
apologised to him directly, outside of this newsgroup. Now I'm just
making white noise trying to do The Right Thing. Perhaps I can try to
reach him via the TrainingOn website?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,565
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top