EditWrx Knowledge Base Home
 Search       Login   Register   Members   Help   Home 
Search by username


Code Checker Warnings
 Moderated by: Keith  
 New Topic   Reply   Print 
AuthorPost
skools
Member
 

Joined: Sat Nov 26th, 2005
Location:  
Posts: 4
 Posted: Sun Jan 29th, 2006 02:41 pm
 Quote  Reply 
When I do a code check on my asp web pages with this;

<div excludeblock="one">
page content
</div><!--excludeblock="one" -->


code in them, I get this message;
'The tag "div" doesn't have an attribute: "excludeblock" in currently active versions.'

Is there any way I can change the code to make it more acceptable?

Keith
Moderator
 

Joined: Fri Apr 8th, 2005
Location:  
Posts: 578
 Posted: Sun Jan 29th, 2006 09:30 pm
 Quote  Reply 
The purpose of your "code checker" is to alert you to a possible misspelling, such as aligm="left".  The basic rule for browser rendering is, and always will be, "tags and attributes that the browser does not understand are ignored by the browser".

The same kind of warning would appear for editblocks and includeblocks.

Your code checker may let you set which attributes 1) to automatically remove without warning, 2) to remove with warning, 3) to warn only, 4) or completely ignore. Make certain, at minimum, that you do not allow your code checker to remove that attribute.

Last edited on Sun Jan 29th, 2006 09:32 pm by Keith


 Current time is 05:05 pm




Powered by WowBB 1.62 - Copyright © 2003-2004 Aycan Gulez