User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 374,021 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,789 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 6319 | Replies: 1
Reply
Join Date: Feb 2003
Location: Canada
Posts: 786
Reputation: Paladine has a spectacular aura about Paladine has a spectacular aura about Paladine has a spectacular aura about 
Rep Power: 9
Solved Threads: 26
Colleague
Paladine's Avatar
Paladine Paladine is offline Offline
Master Poster

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

  #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, Regional Pharmacy Information Systems
TLC Services Website (Under Construction)
Updated : ASP.Net Login Code
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Feb 2002
Location: New York
Posts: 862
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 
Rep Power: 12
Solved Threads: 16
Moderator
Tekmaven's Avatar
Tekmaven Tekmaven is offline Offline
The C# Man, Myth, Legend

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

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

		   <browserCaps> 
   <!--NETSCAPE 6 & 7 --> 
   <case match="^Mozilla/5\.0 \([^)]*\) (Gecko/[-\d]+ )?Netscape[6|7]/(?'version'(?'major'\d+)(?'minor'\.\d+)(?'letters'\w*)).*"> 
	tagwriter=System.Web.UI.HtmlTextWriter 
	browser=Netscape 
	version=${version} 
	majorversion=${major} 
	minorversion=${minor} 
	frames=true 
	tables=true 
	cookies=true 
	javascript=true 
	javaapplets=true 
	ecmascriptversion=1.5 
	w3cdomversion=1.0 
	css1=true 
	css2=true 
	xml=true 
	<filter match="^b" with="${letters}"> 
	 beta=true 
	</filter> 
   </case> 
   
   <!-- MOZILLA --> 
   <case match="^Mozilla/(?'version'(?'major'\d+)(?'minor'\.\d+)(?'letters'\w*)).*"> 
	css1=true 
	
	<!-- is this negating? confirm -->
	<case match="^[5-9]\." with="${version}">
	 css2=true 
	 tagwriter=System.Web.UI.HtmlTextWriter
	</case> 
   </case> 
   <!-- OPERA 5+ --> 
   <case match="Opera[ /](?'version'(?'major'\d+)(?'minor'\.\d+)(?'letters'\w*))"> 
	browser=Opera 
	version=${version} 
	majorversion=${major} 
	minorversion=${minor} 
	frames=true 
	tables=true 
	cookies=true 
	javascript=true 
	ecmascriptversion=1.1 
	<filter match="[4-9]" with="${major}"> 
	 ecmascriptversion=1.3 
	 css1=true 
	 css2=true 
	 xml=true
	 
	 <filter match="[5-9]" with="${major}"> 
	  tagwriter=System.Web.UI.HtmlTextWriter 
	  w3cdomversion=1.0 
	 </filter>
	</filter>
	 
	<filter match="^b" with="${letters}"> 
	 beta=true 
	</filter> 
   </case> 
  </browserCaps>


The above REALLY helps with rendering in other browsers.
-Ryan Hoffman

ASP.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  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb ASP.NET Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the ASP.NET Forum

All times are GMT -4. The time now is 11:18 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC