473,789 Members | 2,447 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.NET in Firefox


I've been developing ASP.NET 1.1 application, testing it in IE 6.0 on my
development machine. Of course, everything looks normal in IE as it should.
Well, since it's going to be released to cross-browser user base, I wanted to
see what it would look like in Firefox... well I am terrified how badly
firefox renders practiclly all the pages to the point where app is unusable
in firefox. I am not even sure where/how to begin addressing these issues.

I should note that that the web app is pretty much straight forward HTML
with a stylesheet, of course I am using server side asp controls but those
should produce cross-browser html.
Did anyone have simillar issues with Firefox?, your thoughts?
Thanks.

Feb 17 '06 #1
9 1556
sorry charlie , but the fact of the matter is that the problem is with ie
and not with firefox - you will most likely find the same issues with every
other current browser as well.
with any css / scripting ie is the last browser that you should be testing
with , not the first.
if you get things working in virtually any browser other than ie , it will
work in virtually all browsers other than ie.
then you need to look at the work arounds required for acceptable
performance in ie.
hopefully ie7 with remedy this situation and it will just be a matter of
time until ie pre-v7 fade away into the sunset.


"WebMatrix" <We*******@disc ussions.microso ft.com> wrote in message
news:B3******** *************** ***********@mic rosoft.com...

I've been developing ASP.NET 1.1 application, testing it in IE 6.0 on my
development machine. Of course, everything looks normal in IE as it should. Well, since it's going to be released to cross-browser user base, I wanted to see what it would look like in Firefox... well I am terrified how badly
firefox renders practiclly all the pages to the point where app is unusable in firefox. I am not even sure where/how to begin addressing these issues.

I should note that that the web app is pretty much straight forward HTML
with a stylesheet, of course I am using server side asp controls but those
should produce cross-browser html.
Did anyone have simillar issues with Firefox?, your thoughts?
Thanks.

Feb 17 '06 #2
Replying to a reply, since I can't see the original

gerry wrote:
"WebMatrix" <We*******@disc ussions.microso ft.com> wrote in message
news:B3******** *************** ***********@mic rosoft.com...

I've been developing ASP.NET 1.1 application, testing it in IE 6.0 on my
development machine. Of course, everything looks normal in IE as it

should.
Well, since it's going to be released to cross-browser user base, I wanted

to
see what it would look like in Firefox... well I am terrified how badly
firefox renders practiclly all the pages to the point where app is

unusable
in firefox. I am not even sure where/how to begin addressing these issues.

I should note that that the web app is pretty much straight forward HTML
with a stylesheet, of course I am using server side asp controls but those
should produce cross-browser html.
Did anyone have simillar issues with Firefox?, your thoughts?
Thanks.

sorry charlie , but the fact of the matter is that the problem is with ie
and not with firefox - you will most likely find the same issues with every
other current browser as well.
with any css / scripting ie is the last browser that you should be testing
with , not the first.
if you get things working in virtually any browser other than ie , it will
work in virtually all browsers other than ie.
then you need to look at the work arounds required for acceptable
performance in ie.
hopefully ie7 with remedy this situation and it will just be a matter of
time until ie pre-v7 fade away into the sunset.


First things first - this is ASP.NET 1.1, which out of the box does a
*shocking* job with browsers other than IE. The first question is, have
you updated your browsercaps? If not (or if you don't know what I'm
talking about), go to http://slingfive.com/pages/code/browserCaps/ and
read about what you need to do (also talks about the problem of reading
the information about browsercaps in machine.config)

Once that's in place, then you can start fixing the rest using
additional styles in your stylesheets.

Damien

Feb 17 '06 #3
I don't really care whose fault it is. I looked at the html source of 1
particular page that firefox completely messed up rendering, it's nothing
more than a couple of nested tables with styles dictating cell colors, border
width colors, etc. And firefox messed it up beyond recognition. Now I do find
it strange that firefox chokes a simple html like that.
I am not sure if it's worth time or effort messing with html and browser cap
files to support firefox.
Feb 17 '06 #4
have you tried this same page in netscape , opera , konquerer , safari ....
my guess is that you'll find as many problems with these browsers as well.
as soon as ie and css are involved most problems you run into can be linked
to ie.

setting up your browser caps does go a long way to sorting out these
problems.
not worth the time ? cut and paste from
http://slingfive.com/pages/code/brow...aps_spaces.txt , for
example, into your web.config - that's it - maybe, what, 2 minutes tops ?

can you post a link to the page in question so we can see what this 'simple
html' actually look like ?
you're problem could be juat a small css or html modification, bit it is
impossible to say based on 'looks good in ie but firefox completely messes
it up - what do I do' .

"WebMatrix" <We*******@disc ussions.microso ft.com> wrote in message
news:A3******** *************** ***********@mic rosoft.com...
I don't really care whose fault it is. I looked at the html source of 1
particular page that firefox completely messed up rendering, it's nothing
more than a couple of nested tables with styles dictating cell colors, border width colors, etc. And firefox messed it up beyond recognition. Now I do find it strange that firefox chokes a simple html like that.
I am not sure if it's worth time or effort messing with html and browser cap files to support firefox.

Feb 18 '06 #5
For 1.1, except for IE6, all other browsers are treated as downlevel
browsers, meaning that the HTML rendered in these browsers is based on HTML
3.2 instead of HTML 4.0. With HTML 3.2, there is no CSS support.

I believe that you can use the ClientTarget property for the Page class to
force a browser to be uplevel, thus supporting CSS. Look at the MSDN
documentation for this property.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"WebMatrix" <We*******@disc ussions.microso ft.com> wrote in message
news:B3******** *************** ***********@mic rosoft.com...

I've been developing ASP.NET 1.1 application, testing it in IE 6.0 on my
development machine. Of course, everything looks normal in IE as it
should.
Well, since it's going to be released to cross-browser user base, I wanted
to
see what it would look like in Firefox... well I am terrified how badly
firefox renders practiclly all the pages to the point where app is
unusable
in firefox. I am not even sure where/how to begin addressing these issues.

I should note that that the web app is pretty much straight forward HTML
with a stylesheet, of course I am using server side asp controls but those
should produce cross-browser html.
Did anyone have simillar issues with Firefox?, your thoughts?
Thanks.

Feb 18 '06 #6
AFAIK Firefox is not handled correctly by the initial browser capabilities
file (likely considered as an old Mozilla browser). You should find an
updated file on Google that will be able to better handle Firefox.
--
Patrice

"WebMatrix" <We*******@disc ussions.microso ft.com> a écrit dans le message de
news:B3******** *************** ***********@mic rosoft.com...

I've been developing ASP.NET 1.1 application, testing it in IE 6.0 on my
development machine. Of course, everything looks normal in IE as it should. Well, since it's going to be released to cross-browser user base, I wanted to see what it would look like in Firefox... well I am terrified how badly
firefox renders practiclly all the pages to the point where app is unusable in firefox. I am not even sure where/how to begin addressing these issues.

I should note that that the web app is pretty much straight forward HTML
with a stylesheet, of course I am using server side asp controls but those
should produce cross-browser html.
Did anyone have simillar issues with Firefox?, your thoughts?
Thanks.

Feb 20 '06 #7
gerry wrote:
sorry charlie , but the fact of the matter is that the problem is with ie
and not with firefox - you will most likely find the same issues with every
other current browser as well.


IE is very forgiving with crap code. How is that a problem? The problem
is with the code, not the only browser capable of rendering it! ;o)
Feb 20 '06 #8
well , that was my point, you can't target & test exclusively using ie. and
then expect everything to work in other browsers.

but on belligerent side : therein lies the problem with a forgiving browser
that gladly accepts crap code while at the same time either mangling or
completely ignoring standards compliant html/css that every other current
browser on the market handles just fine.
you have a choice - a browser that can handle garbage code while mishandling
good code or a browser that can handle good code while mishandling the
garbage.

personally I would rather have a browser handle the good, standards
compliant code and choke on the garbage than one that handle some of bad
code and chokes on a lot of the good code.

imagine a c++ compiler that forgivingly allowed relapses into vb - what a
mess that would be.
and of course then all other c++ compilers would then be considered inferior
by your reasoning because they generated syntax errors when encoutering the
vb code.

"Danny Tuppeny" <gr****@dantup. me.uk.remove> wrote in message
news:43******** *************** @ptn-nntp-reader03.plus.n et...
gerry wrote:
sorry charlie , but the fact of the matter is that the problem is with ie and not with firefox - you will most likely find the same issues with every other current browser as well.


IE is very forgiving with crap code. How is that a problem? The problem
is with the code, not the only browser capable of rendering it! ;o)

Feb 21 '06 #9
Hi,

gerry wrote:
well , that was my point, you can't target & test exclusively using ie. and
then expect everything to work in other browsers.

but on belligerent side : therein lies the problem with a forgiving browser
that gladly accepts crap code while at the same time either mangling or
completely ignoring standards compliant html/css that every other current
browser on the market handles just fine.


To be fair, IE6 is much, much better at accepting standard code than its
previous versions. It is now possible to write HTML, JavaScript and
(though it is more difficult) CSS code that will work in a standard way
without too big an expense. Before, it was almost impossible, or needed
at best object detection, at worst browser detection.

I agree totally with you, though, when you say that the fact that IE
accepts non-standard code is a shame and a problem.

<snip>

Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch
Feb 22 '06 #10

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

Similar topics

3
9292
by: Jeremy Epstein | last post by:
I've got a 4-page form that lets users enter a whole lot of information, which is then submitted and emailed at the end. All the fields are stored as session data. The whole thing works fine: 1. On my local box (WinXP / Apache2 / PHP4) using IE6 2. On my local box using Firefox1 3. On my hosted server (RHLinux / Apache1.3 / PHP4) using IE6
6
5029
by: Geoff | last post by:
When trying to focus a field in Firefox, I get the following error: Error: " nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "JS frame :: file:///C:/Documents%20and%20Settings/Edd/Desktop/test.html :: valText :: line 24" data: no] Source File: file:///C:/Documents%20and%20Settings/Edd/Desktop/test.html Line: 24 Anyone have any ideas as to why this is happening?
87
9630
by: expertware | last post by:
Dear friends, My name is Pamela, I know little about CSS, but I would like to ask a question I have an image on a web page within a css layer: <DIV ID=MyLayer STYLE = "position: absolute;top:68px; left:563px; width:640px;height:480px;"> <IMG src="ReportImageBox_12.54.52.png" width=640 height=480></IMG>
14
2327
by: expertware | last post by:
Ok! to avoid confusion I will start a new argument. Thanks!! FIREFOX 1.0.7 AND IE6 viewed through DATATIME: a summary REPORT =============================================================== by Pamela Datatime Team -----------------
5
3120
by: SPE - Stani's Python Editor | last post by:
Hi, During optimizing SPE for Ubuntu, I found something strange. I have Ubuntu 5.10 "The Breezy Badger" and unfortunately this code is not working: >>> import webbrowser >>> webbrowser.open("http://www.python.org") It does not throw an exception, but is not able to launch a browser.
7
9617
by: Coder | last post by:
Hi I have the following code in java script, it is not giving proper output in FIREFOX but running fine in IE... can anybody help me out to make this run in FIREFOX . <script language="JavaScript"> var cntlName; var eleTarget = document.getElementById('hiding'); function showOrHide(){
12
1776
by: amit | last post by:
Hello group, I'm kinda skeptical about a code is being used in my js program. All it does is checking what browser is being run and finds out if FLASH is installed or not. This code works just fine withe IE but as far as Firefox I'm not sure. Using the firefox I can see flash pages easily but when this code says firefox is not installed in my firefox!!!
6
5834
by: scotty | last post by:
I have a script that loops through an existing table list and prepares each href element node to trigger a function when an image is clicked. The function that will be run passes a property value to the function upon clicking. The property value is one of the attributes defined for each respective href in the property list. In IE and Netscape, the property values pass correctly, but in Firefox, only the last property value in the list...
7
2540
by: Carlos Mendonça | last post by:
Has anyone managed to get ClickOnce to work with Firefox? It seems to me that it still has the same issues VS 2K5 had. I appreciate any comments or tips.
3
2433
by: SAL | last post by:
Hello, I did google this issue and found some stuff related to BrowserCaps section of either web.config or machine.config but it didn't work. It seems that most pages in my webapp are okay but a couple of the Firefox is munging up. So, on my information page there is a gridview in the content section of the page. The masterpage contains searching capabilities for the gridview. The masterpage has controls contained in a panel control,...
0
9656
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
10177
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
10121
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
9969
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
8995
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7519
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5404
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...
0
5539
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2898
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.