Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Jan 2013
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    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…

  • #2
    New to the CF scene
    Join Date
    Jan 2013
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts
    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.

  • #3
    Regular Coder LearningCoder's Avatar
    Join Date
    Jan 2011
    Location
    The Pleiades
    Posts
    923
    Thanks
    76
    Thanked 29 Times in 29 Posts
    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.

  • Users who have thanked LearningCoder for this post:

    wayadisi (01-21-2013)

  • #4
    Senior Coder jerry62704's Avatar
    Join Date
    Oct 2007
    Location
    Springfield, IL
    Posts
    1,100
    Thanks
    13
    Thanked 87 Times in 87 Posts
    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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •