Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-20-2013, 11:01 PM   PM User | #1
wayadisi
New to the CF scene

 
Join Date: Jan 2013
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
wayadisi is an unknown quantity at this point
Validation errors

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 is offline   Reply With Quote
Old 01-20-2013, 11:30 PM   PM User | #2
wayadisi
New to the CF scene

 
Join Date: Jan 2013
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
wayadisi is an unknown quantity at this point
Quote:
Originally Posted by wayadisi View Post
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.
wayadisi is offline   Reply With Quote
Old 01-20-2013, 11:45 PM   PM User | #3
LearningCoder
Regular Coder

 
LearningCoder's Avatar
 
Join Date: Jan 2011
Location: The Pleiades
Posts: 849
Thanks: 67
Thanked 28 Times in 28 Posts
LearningCoder is an unknown quantity at this point
I presume you're writing XHTML because the standard is to add quotes to ALL of your XHTML attributes.

So this:
Code:
value=336
Should be:
Code:
value="336"
OR:
Code:
value='336'
Hope it helps.

Regards,

Lc.
LearningCoder is offline   Reply With Quote
Users who have thanked LearningCoder for this post:
wayadisi (01-21-2013)
Old 01-22-2013, 02:59 PM   PM User | #4
jerry62704
Senior Coder

 
jerry62704's Avatar
 
Join Date: Oct 2007
Location: Springfield, IL
Posts: 1,048
Thanks: 9
Thanked 81 Times in 81 Posts
jerry62704 is on a distinguished road
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.
__________________
.
.
...and gladly would he learn and gladly teach

Visit www.LiberalsWin.com for humor and the unique Bush/Obama Approval Polls
jerry62704 is online now   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:40 PM.


Advertisement
Log in to turn off these ads.