Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Layout and FireFox
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
ASP.NET
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
00963792
Message ID:
00964145
Vues:
9
Hi Kevin!

Thanks a lot - works GREAT!!!

>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,
robert.oh.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform