Hi,
Thanks, I'll look at my HTML a little closer. Maybe you've not encountered
any rendering problems yet, but there's a whole community of ASP.NET
developers who are hot on this topic. More and more people are using
Firefox--10-20% of the browser population. I had to find out about
ASP.NET/Firefox issues the rude way--via a demo with a client!
The issue is not with Firefox, which complies with standard much better
than IE. The issue is that IE, when confronted with non-standard HTML,
JavaScript or CSS code tries to interprete what IE thinks that the
developer might have wanted to say. In opposite, Firefox renders the
page according to the standard, and if there are non-standard things in
it, it considers it an error. The learning curve is higher in Firefox,
but at least you learn correctly. IE unfortunately created a whole
generation of lazy web developers.
Additionally, many custom controls on the market render non-standard
code, which IE in turns interprete according to what it thinks that
ASP.NET means. Two wrongs in that case make a right (well, more or less).
So the real issue is not with Firefox, but is really with IE.
What's the cure: When confronted with non-standard code, instead of
using built-in controls, write a user control which renders correct code
and test in both Mozilla (Firefox, Netscape, etc...) and IE. It's more
work, but at least you'll comply with the standards, and you'll be sure
that your page works right in other standard-compliants browsers too.
Researching the problem confirmed sneaking suspicions I've had about MS
development vs standards-based development. Microsoft's interpretation of
Web development is just not up to snuff. Using server controls is
convenient for the developer, but the HTML that gets produced is
non-standard in many cases.
Exactly ;-)
I might add that I'm using ASP.NET 1.1. In 2.0, they have supposedly taken
care of this problem. If you're using 2.0, you may not have seen this
anomaly. However, I can't yet afford to upgrade all my software, and making
developers responsible for their (MS's) problems isn't the solution. I'm
not going to keep throwing money at them, hoping to reach some kinda
development nirvana some day.
Sorry, just letting out some pent up frustration. I'm not sure how long I
can endure MS development paradigms any longer. I might have to leap to the
dark...uh, I mean....other side. ;-)
Nah... leaping to the other side is much more like walking in the bright
light... which doesn't mean you're dead, but that you're getting
enlightened ;-) Courage! it's worth it, and your page will also work in IE.
I want to add that IE renders standard code correctly (well, mostly,
with a few quirks in CSS). So standard code (including HTML, JavaScript)
*will* work in IE and in Firefox, while non-standard code will only work
in IE. The choice is easy to make, even if it means more work.
Any (more) solutions will be much appreciated. Thanks!
HTH,
Laurent