Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Layout and FireFox
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
ASP.NET
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00963792
Message ID:
00964069
Views:
9
This message has been marked as the solution to the initial question of the thread.
Robert,

>Another question concerning MM.NET Framework 1.2.
>
>I've a web application containing lots of controls (textboxes,...). I've resized these controls into the appropriate size.
>
>When running IE or Opera the controls are of the correct size but with FireFox the size of the controls is reset to default.
>With the eval version of the MM.NET Framework this problem didn't occur.

I asked Rick about this and he said:

ASP.NET doesn't consider these browsers downlevel browsers so it doesn't use styles on them. You have to do some adjusting of the browsercaps in web.config. I usually do:
<browserCaps>
     TagWriter=System.Web.UI.HtmlTextWriter
</browserCaps>
Which forces all output to HTML 4.0 (ie. it ignores older browsers which is essentially no differnt than what ASP.NET sends back anyway). There are more complicated ways to do this by explicitly defining which browser supports what but the above works for me...

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform