943,392 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 7978
  • ASP.NET RSS
Jul 14th, 2003
0

Question for ASP.NET/Mozilla Users...or anyone...

Expand Post »
I am dabbling in ASP.NET, and since I have switched to Mozilla Browser I have had coding problems. Partly because I know IE will load and display a page whether there are errors or not sometimes.

Anyhow, when I use something simple like this in ASP.NET, it is not displayed in Mozilla.

<asp:label BackColor="#000000" ForeColor="#FFFFFF" ID="lblHeader" runat="server" Text="Login Page" ToolTip="Welcome balh blah" width="100%" height="25px"></asp:label>

Any thoughts as too why? Mozilla renders based on Navigator HTML coding? Resolution?
Similar Threads
Team Colleague
Reputation Points: 211
Solved Threads: 27
Master Poster
Paladine is offline Offline
793 posts
since Feb 2003
Dec 6th, 2003
0

Re: Question for ASP.NET/Mozilla Users...or anyone...

Do a quick search on Web.Config's BrowserCaps section. Here's my BrowserCaps section for #Portal:

ASP.NET Syntax (Toggle Plain Text)
  1. <browserCaps>
  2. <!--NETSCAPE 6 & 7 -->
  3. <case match="^Mozilla/5\.0 \([^)]*\) (Gecko/[-\d]+ )?Netscape[6|7]/(?'version'(?'major'\d+)(?'minor'\.\d+)(?'letters'\w*)).*">
  4. tagwriter=System.Web.UI.HtmlTextWriter
  5. browser=Netscape
  6. version=${version}
  7. majorversion=${major}
  8. minorversion=${minor}
  9. frames=true
  10. tables=true
  11. cookies=true
  12. javascript=true
  13. javaapplets=true
  14. ecmascriptversion=1.5
  15. w3cdomversion=1.0
  16. css1=true
  17. css2=true
  18. xml=true
  19. <filter match="^b" with="${letters}">
  20. beta=true
  21. </filter>
  22. </case>
  23.  
  24. <!-- MOZILLA -->
  25. <case match="^Mozilla/(?'version'(?'major'\d+)(?'minor'\.\d+)(?'letters'\w*)).*">
  26. css1=true
  27.  
  28. <!-- is this negating? confirm -->
  29. <case match="^[5-9]\." with="${version}">
  30. css2=true
  31. tagwriter=System.Web.UI.HtmlTextWriter
  32. </case>
  33. </case>
  34. <!-- OPERA 5+ -->
  35. <case match="Opera[ /](?'version'(?'major'\d+)(?'minor'\.\d+)(?'letters'\w*))">
  36. browser=Opera
  37. version=${version}
  38. majorversion=${major}
  39. minorversion=${minor}
  40. frames=true
  41. tables=true
  42. cookies=true
  43. javascript=true
  44. ecmascriptversion=1.1
  45. <filter match="[4-9]" with="${major}">
  46. ecmascriptversion=1.3
  47. css1=true
  48. css2=true
  49. xml=true
  50.  
  51. <filter match="[5-9]" with="${major}">
  52. tagwriter=System.Web.UI.HtmlTextWriter
  53. w3cdomversion=1.0
  54. </filter>
  55. </filter>
  56.  
  57. <filter match="^b" with="${letters}">
  58. beta=true
  59. </filter>
  60. </case>
  61. </browserCaps>

The above REALLY helps with rendering in other browsers.
Moderator
Reputation Points: 322
Solved Threads: 28
The C# Man, Myth, Legend
Tekmaven is offline Offline
914 posts
since Feb 2002

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: Newsgroups in ASP.NET forums???
Next Thread in ASP.NET Forum Timeline: classmates portal





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC