HTML Vs Markup Validation Service: attributes construct error -
why markup validator says has error in html code below?
line 287, column 80: attributes construct error …ion" value="set=1&page=2" /><ul><li><a href="http://campusfaithhub.org/vie…
<div id="pagination"> <!-- add fix ie whitespace bug. ie sees space inside empty div, , applies line-height it. div expanded in ie6 (and older) accommodate space. there's gap. simplest solution make sure ie6 understands empty div _is_ empty, putting comment inside , make sure there's no line-break. --> <input type="hidden" class="last-pagination" value="set=1&page=2" /> <ul> <li><a href="http://campusfaithhub.org/views/includes/layouts/items_comment.php?set=1&page=1"class="current-pagination" rel="1">1</a></li> <li><a href="http://campusfaithhub.org/views/includes/layouts/items_comment.php?set=1&page=2" rel="1">2</a></li> </ul> </div> <!--pagination-->
i have hidden input field store info. if take out, still validated errors! can't find else fix - can u see have done incorrectly? thanks!
edit: after viewing source of actual page, see problem...
<input type="hidden" class="last-pagination" value="set=1&page=2" /><ul><li><a href="http://campusfaithhub.org/views/includes/layouts/items_comment.php?set=1&page=1"class="current-pagination" rel="1">1</a></li><li><a href="http://campusfaithhub.org/views/includes/layouts/items_comment.php?set=1&page=2" rel="1">2</a></li></ul></div>
specifically: page=1"class="current
you need space between closing quote , opening attribute tag.
Comments
Post a Comment