473,388 Members | 1,408 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,388 software developers and data experts.

FireFox and Opera

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?
Nov 19 '05 #1
16 1410
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.

--
Terry Burns
http://TrainingOn.net
"Aurelio" <corcharelliARROBAhotmail.com> wrote in message
news:O6**************@TK2MSFTNGP14.phx.gbl...
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?

Nov 19 '05 #2
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.va...09/15/25635.as
px

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

--
Amedee Van Gasse
Nov 19 '05 #3
Aurelio wrote:
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
Nov 19 '05 #4
Agreed.

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

http://slingfive.com/pages/code/brow...aps_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.

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

"Hans Kesting" <ne***********@spamgourmet.com> wrote in message
news:ec**************@TK2MSFTNGP15.phx.gbl...
Aurelio wrote:
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

Nov 19 '05 #5
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 Burns
http://TrainingOn.net
"Amedee Van Gasse" <nz**************@rztebhc.or> wrote in message
news:eX**************@TK2MSFTNGP10.phx.gbl...
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.va...09/15/25635.as
px

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

--
Amedee Van Gasse

Nov 19 '05 #6
Also, using HTML tables will almost gaurantee the same positioning rather
than relying on ASP.NET spitting out browser dependent code.

--
Terry Burns
http://TrainingOn.net
"Amedee Van Gasse" <nz**************@rztebhc.or> wrote in message
news:eX**************@TK2MSFTNGP10.phx.gbl...
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.va...09/15/25635.as
px

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

--
Amedee Van Gasse

Nov 19 '05 #7
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/brow...aps_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***

--
Amedee Van Gasse
Nov 19 '05 #8
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.

--
Amedee Van Gasse
Nov 19 '05 #9
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.

--
Amedee Van Gasse
Nov 19 '05 #10
Good for you !

--
Terry Burns
http://TrainingOn.net
"Amedee Van Gasse" <nz**************@rztebhc.or> wrote in message
news:em**************@TK2MSFTNGP09.phx.gbl...
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.

--
Amedee Van Gasse

Nov 19 '05 #11
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 Burns
http://TrainingOn.net
"Amedee Van Gasse" <nz**************@rztebhc.or> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
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.

--
Amedee Van Gasse

Nov 19 '05 #12
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.
--
Amedee Van Gasse
Nov 19 '05 #13
On Thu, 16 Jun 2005 08:12:07 -0400, "Juan T. Llibre"
<no***********@nowhere.com> wrote:
Agreed.

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

http://slingfive.com/pages/code/brow...aps_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'".

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

"Hans Kesting" <ne***********@spamgourmet.com> wrote in message
news:ec**************@TK2MSFTNGP15.phx.gbl...
Aurelio wrote:
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


Nov 19 '05 #14
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:
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.


Terry,

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

--
Amedee Van Gasse
Nov 19 '05 #15
lol

"Amedee Van Gasse" <nz**************@rztebhc.or> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
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:
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.


Terry,

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

--
Amedee Van Gasse

Nov 19 '05 #16
gerry shared this with us in microsoft.public.dotnet.framework.aspnet:
lol


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?

--
Amedee Van Gasse
Nov 19 '05 #17

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

Similar topics

3
by: Boris | last post by:
Please open http://www.highscore.de/opera/floatleft.html in Opera 7.54 and Firefox 1.0 Preview. Who is right? In my humble opinion Opera 7.54 is right: According to CSS 2.1 a "floating box must...
2
by: Sharon | last post by:
Can I use request.servervariables("HTTP_USER_AGENT") to determine if the user has Firefox or Internet Explorer? Is the return string differentiated enough? Thanks for any input.
15
by: 50295 | last post by:
Hi everyone, This one is better experienced than explained, so I'm including a code sample below. Please and save (as an html file) and view with NN or Firefox (or maybe even Mozilla), and then...
9
by: VK | last post by:
if ((window)&&(window.netscape)&&(window.netscape.security)) { // OK, this is Gecko/Firefox or someone mimicing it so well // that there is no way to catch it on the act. } But I need Firefox...
11
by: Hymer | last post by:
Hello, I have a small table that works fine in IE6 but does not render at all in Opera or Firefox. Can anyone see what might be needed to get this to work in all three browsers? The code...
2
by: André Wagner | last post by:
I'm trying to get all the "divs" that have a given NAME using getElementsByName(). For example, the following code: <html> <head> <script type="text/javascript"> function on_load() { var...
5
by: VK | last post by:
On the demo at <http://www.geocities.com/schools_ring/tmp/demo01/index.xml> the table caption has 1px(?) indentation from the left in Firefox 1.5 and I'm running out of ideas how to kill it - if...
2
by: Hymer | last post by:
Hello, I have a footer at the end of each article in my blog at http://www.usernomics.com/news/user-interface-design-news.html . The footer looks perfect in IE but has smaller text in Firefox...
1
by: SunshineInTheRain | last post by:
My project has 3 files, File1 has included master page. file1 consists of iframe1 that load file2. File2 consists of iframe2 that load file3. Javascript used on each file to resize the iframe...
6
by: raknin | last post by:
I am creating a dynamic list on the server using php file,when I run the PHP script in all 4 browsers (IE 6, Firefox 2, opera and safari 3) every think go Ok and the list is created. but when I call...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
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
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...
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...

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.