...

View Full Version : Validation errors



wayadisi
01-20-2013, 11:01 PM
I have tried looking everywhere but I can not find what is wrong with this and all my categories keep getting a validation error.

Line 354, Column 47: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified…
<option value=336 class="txtBoxStyle">Catagory</opti…

wayadisi
01-20-2013, 11:30 PM
I have tried looking everywhere but I can not find what is wrong with this and all my brands keep getting a validation error.

Line 354, Column 47: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified…
<option value=336 class="txtBoxStyle">brands</opti…

My mistake, it is the brands not the categories that are pulling these errors, it is for every brand.

LearningCoder
01-20-2013, 11:45 PM
I presume you're writing XHTML because the standard is to add quotes to ALL of your XHTML attributes.

So this:


value=336
Should be:


value="336"
OR:


value='336'
Hope it helps.

Regards,

Lc.

jerry62704
01-22-2013, 02:59 PM
Could you post the code or give an URL? Some of us are blocked from certain URLs which is why I mentioned posting the code.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum