Wednesday, March 24, 2004

With Mozilla (FireFox, Netscape, etc) becoming a more viable alternative to Internet Explorer, we've had a push for Gecko (the Mozilla rendering engine) compatibility at work, so we've been going back and redoing some things to layout correctly.

We noticed a few things that just weren't working.  When we looked at the HTML source using FireFox, I was intrigued by the fact that all my div tags had become tables.  Turns out, the ASP.NET browser capability detection identifies Gecko as a down-level browser, and gives you an Html32TextWriter rather than a regular HtmlTextWriter.  And, sure enough, digging around using the Reflector confirmed that div tags are replaced by tables when using Html32TextWriter.

This guy, has a solution.  Just thought some of you would be interested.

The browser capabilities section is extremely powerful and insulates you from alot of headaches, but the default configuration is very annoying.  Take a look at your machine.config and you'll see what I mean.

posted on Wednesday, March 24, 2004 3:14:30 PM (Pacific Standard Time, UTC-08:00)  #    Comments [0]
Related posts:
LinqToStdf now on CodePlex
Image Slicer for Deep Zoom in Silverlight 2
Silverlight limitations and Constrained Callvirt in IL
What are the generic Delegates in the framework for?
What is System.__Canon and why is it on my stack?
Adding support for .ashx-based views in ASP.net MVC
Tracked by:
"diet information ionamin pill" (diet information ionamin pill) [Trackback]
"diet pills chart" (diet pills chart) [Trackback]
"fifth third banking online" (fifth third banking online) [Trackback]
"ski boats used" (ski boats used) [Trackback]
"will glutamine help reduce kidney dysfunction" (will glutamine help reduce kidn... [Trackback]
"home depot opinion" (home depot opinion) [Trackback]
"furnace filter" (furnace filter) [Trackback]
"wedding reception facilities Des MOINes%2C IA" (wedding reception facilities De... [Trackback]
"Lou Gehrig%27s disease" (Lou Gehrig%27s disease) [Trackback]
"naughty chat" (naughty chat) [Trackback]
"career consultants and vancouver" (career consultants and vancouver) [Trackback]
"iowa city press citizen" (iowa city press citizen) [Trackback]
"aaa travel agency" (aaa travel agency) [Trackback]
"dr030 warranty return items" (dr030 warranty return items) [Trackback]
"computer history" (computer history) [Trackback]
"nast ass whore" (nast ass whore) [Trackback]
"tag heuer ayrton senna" (tag heuer ayrton senna) [Trackback]
"free clip art and sleeping bag" (free clip art and sleeping bag) [Trackback]
"author jeremy deangelo" (author jeremy deangelo) [Trackback]
"antique carousel horse" (antique carousel horse) [Trackback]
"10-year reunion invitation" (10-year reunion invitation) [Trackback]
"Sinus Infection" (Sinus Infection) [Trackback]
"fundraising events" (fundraising events) [Trackback]
"home schooling programs" (home schooling programs) [Trackback]
"masturbating boy" (masturbating boy) [Trackback]
"ge microwave" (ge microwave) [Trackback]
"Paris Hilton Pussy" (Paris Hilton Pussy) [Trackback]
"Plaster Corbel" (Plaster Corbel) [Trackback]
"new homes colorado" (new homes colorado) [Trackback]
"new postage stamp" (new postage stamp) [Trackback]
"dust mask" (dust mask) [Trackback]
"l.a. fitness trainer" (l.a. fitness trainer) [Trackback]
"autumn wallpaper" (autumn wallpaper) [Trackback]
"after hours formal wear" (after hours formal wear) [Trackback]
"vitamin c smile" (vitamin c smile) [Trackback]