Validating errors: for lightbox2
Hi I am just getting started using Lightbox2. I am using it for my portfolio. It works (even in IE) but when I validate it using web developer I get the following error message at bottom for every link. this is a sample of the code I'm using, it doesn't like the "rel" name, but when I changed it to "alternate" as suggested in explanantions, although it passed, it didn't work anymore. Does anyone have suggestions? I really want this to pass web developer, I would just feel better having it out there. thanks so much! m
This is sample of code, I can send more, error message bel
<div class="imageRow">
<div class="set">
<div class="single first">
<p><a href="../rescans/finCG/CGcovFin.jpg" rel="lightbox[cg]" title="Cover Girl Advertorial for SELF Magazine, press the right arrow key on image for next image; click X or anywhere outside the image to close">
<img src="../rescans/finCG/ThmbCovCG.jpg" alt="CG: image 1 0f 4 thumb" /></a>
</p>
</div>
<div class="single">
<p><a href="../rescans/finCG/FaceCGFin.jpg" rel="lightbox[cg]" title="Cover Girl Advertorial" >
<img src="../rescans/finCG/ThmbFaceCG.jpg" alt="CGs: image 2 0f 4 thumb" /></a>
</p>
</div>
error message sample
Line 87, Column 183
:
Bad value lightbox[cg] for attribute rel on element a: Illegal character in path component. The string lightbox[cg] is not a registered keyword or absolute URL.
…ight arrow key for next image; click X or anywhere outside the image to close">
-
Syntax of absolute IRI:
-
An absolute URL. For example:
http://example.org/hello, but not
/hello. Spaces should be escaped as
%20.
-
Syntax of link type valid for <a> and <area>:
-
A whitespace-separated list of link types listed as allowed on
<a> and
<area> in the
HTML specification or listed as an allowed on
<a> and
<area> on the
Microformats wiki without duplicate keywords in the list.
You can register link types on the Microformats wiki yourself.