css - Finding stray <h2> tag to get W3C validated -
i have 1 error when validating joomla built site against w3c validator. it's closed tag without opening tag. problem i'm having tag appears unrelated other elements , can't see via firebug. know how can track down what's causing this? it's right pain. details validator:
line 403, column 5: end tag element "h2" not open
the validator found end tag above element, element not open. caused leftover end tag element removed during editing, or implicitly closed element (if have error related element being used not allowed, case). in latter case error disappear fix original problem.
if error occurred in script section of document, should read faq entry.
and snippet of how appears in html view source:
<div id="ja-current-content" class="column" style="width:100%"> <div class="ja-content-main clearfix"> </h2> <div class="article-content"> <h1>welcome swaysearch web design, cambridge</h1> the site is: http://www.swaysearch.com
any appreciated.
cheers
john
that's known bug when have title's disabled. you'll have open file manually , comment out if statement leaves stray closing h2 tag.
i believe opening h2 tag this:
<h2 class="contentheading clearfix"> search through code string , should find issue.
Comments
Post a Comment