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

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Feb 2003
Posts: 793
Reputation: Paladine has a spectacular aura about Paladine has a spectacular aura about Paladine has a spectacular aura about 
Solved Threads: 27
Team Colleague
Paladine's Avatar
Paladine Paladine is offline Offline
Master Poster

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

 
0
  #1
Jul 14th, 2003
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?
Assistant Manager, Pharmacy Informatics
Wordpress Learning Blog
Updated : ASP.Net Login Code
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 898
Reputation: Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light 
Solved Threads: 28
Moderator
Tekmaven's Avatar
Tekmaven Tekmaven is offline Offline
The C# Man, Myth, Legend

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

 
0
  #2
Dec 6th, 2003
Do a quick search on Web.Config's BrowserCaps section. Here's my BrowserCaps section for #Portal:

  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.
-Ryan Hoffman

.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the ASP.NET Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC