| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| gsbUser 
 
 
 Joined: 12 Oct 2006
 Posts: 2
 
 
 | 
			
				|  Posted: Thu Oct 12, 2006 4:54 pm    Post subject: HTML code not valad, causing validation errors |   |  
				| 
 |  
				| I am using a doctype of XHTML 1.0 Transitional. I receive a validation error for having the "name" attribute in the iframe tag. I am using this exactly from the user's guide: <iframe name="gToday:normal:agenda.js" id="gToday:normal:agenda.js" src="ipopeng.htm" scrolling="no" frameborder="0"
 style="visibility:visible; z-index:999; position:absolute; top:-500px; left:-500px;">
 <LAYER name="gToday:normal:agenda.js" src="npopeng.htm" background="npopeng.htm">     </LAYER>
 </iframe>
 
 If it matters, it is used in a ASP.Net 2.0 page.
 
 Will this be updated so the code validates? Thank you.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| calendarxp Site Admin
 
 
 Joined: 30 Jan 2005
 Posts: 409
 
 
 | 
			
				|  Posted: Thu Oct 12, 2006 7:33 pm    Post subject: |   |  
				| 
 |  
				| The name attribute is required for Mozilla based browsers - you may simply remove it if you don't care about FireFox support. 
 The name attribute is a standard element of XHTML 1.0,  as per http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_XHTML-1.0-Transitional .
 
 Which validator were you using? Maybe you should just ignore the validation warning as it's a false alarm.
 _________________
 Copyright 2003-2011 Idemfactor Solutions, Inc. All rights reserved.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| gsbUser 
 
 
 Joined: 12 Oct 2006
 Posts: 2
 
 
 | 
			
				|  Posted: Thu Oct 12, 2006 9:50 pm    Post subject: |   |  
				| 
 |  
				| Thank you for the fast response. It's coming from the built in Visual Studio 2005 validator when a build is done. It gives it as a warning, that 'name' is considered outdated and that a newer construct is recommended. I was trying to remove all warnings. I'll just ignore this warning. |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  |