Skip navigation
lwbor
Currently Being Moderated

Bad value prettyPhoto[2376] for attribute rel...Does anyone know what this means?

May 10, 2012 9:24 PM

Hi, when checking my code with w3 validator the following message comes up for the prettyphoto widget:

 

Bad value prettyPhoto[2376] for attribute rel on element a: Keyword prettyphoto[2376] is not registered.

 

Does anyone know what this means?

 

Cheers

 
Replies
  • Currently Being Moderated
    May 10, 2012 10:57 PM   in reply to lwbor

    When you add the prettyPhoto gallery you put a rel="" attribute on the image.  There's something amiss with that but my guess is that you might not have included the quotes.  rel="prettyPhoto"

     

    I am not sure what the [2376] is but I'm assuming that will be the part that ties a bunch of images in to a gallery. rel="prettyPhoto[2376]"

     

    Much easier to see a live example so, it that doesn't sort it, please post a link.

     

    Martin

     
    |
    Mark as:
  • Currently Being Moderated
    May 11, 2012 10:04 PM   in reply to lwbor

    There's nothing obvious to me in the code there but that might not mean there isn't a problem only that I don't see one.

     

    What doctype are you using and/or is it properly declared?

     

    Martin

     
    |
    Mark as:
  • Currently Being Moderated
    May 11, 2012 10:59 PM   in reply to lwbor

    Back to your code:

     

    I presume in the page the ul is closed

     

    I think the img elements should be closed and the last one has no src=""

     

    Your first lid element class has singl quotes (') and a space I think it should be double quotes and no space class="even portfolio-entry illustration"

     

    Martin

     

    It might help to see the whole page

     
    |
    Mark as:
  • Currently Being Moderated
    May 13, 2012 10:52 PM   in reply to lwbor

    Well,

     

    I just had a look at the web site for Pretty Photo and notice that the page fails the validator for the same error as yours does.

     

    Martin

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points