Hello. I'm having an issue with validation. I'm getting 2 errors and I can not find the problem in my files. Any help would be appreciated. http://validator.w3.org/check?uri=h...Inline&group=0&user-agent=W3C_Validator/1.654
For the first, you cannot put a h2 tag here unless it is in a <li> tag. Best best is to put the h2 above the <ul> tag. Otherwise put it within a <li> tag. For the second, you are closing a <ul> tag but there is no opening tag for it. It looks to me like it is a completel type, as the previous table and other tags are not within a <li>.
Ichecked all those. They all have them. If I delete everything out of my right side bat it will validate but if I add one widget, any widgets, it wont validate and gets that error. So this would mean the error is in my right sidebar right? or could it be in the theme functions? Right sidebar <div id="right"> <ul> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(2) ) : ?> <li><h2>Meta</h2> <ul> <?php wp_register(); ?> <li><?php wp_loginout(); ?></li> <li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li> <?php wp_meta(); ?> </ul> </li> <?php endif; ?> </ul> </div> Code (markup):