Great theme, but I'm having one problem. For every post, I'm getting an error on the taxonomy terms. I'm not a coder, so I'm not really sure what to do to fix it. I used W3C with Tidy and have located the area in the code, but I can't figure out what I need to do. The error is below:

"document type does not allow element "ul" here; missing one of "object", "ins", "del", "map", "button" start-tag"

<ul class="links inline">
<li class="taxonomy_term_147 first last"><span class="taxonomy"><a href="/forums/social-issues/social-issues" rel="tag" title="This is for topics that relate to crime, health care, morality, racism, religion, etc.">Social Issues</a></span></li>
</ul>

Any suggestions, would be greatly appreciated.

Comments

danpros’s picture

Hi, yes I know from the first time :)

This is because I use this in node.tpl.php, I want the taxonomy terms after the "submitted by"

 <?php if ($taxonomy): ?><span class="taxonomy"><?php print $terms; ?></span><?php endif;?>

You can fix this by change to

<?php if ($taxonomy): ?><div class="taxonomy"><?php print $terms; ?></div><?php endif;?>

By doing that, then the taxonomy is below the "submitted by". I'll try to find another solutions.

Dan,

Bob4613’s picture

Dan,

That worked great. The taxonomy terms still look good and everything works fine. When I checked it out, this was what I got: "This document was successfully checked as XHTML 1.0 Strict!" The CSS validates error free also. Great work!

Thanks for the quick support

danpros’s picture

Glad I can help :)

I'll change this in next release. You can wrap the taxonomy to left.

You can remove the following code in style.css

.node .taxonomy {
  	color: #999;
  	font-size: 0.9em;
  	padding-left: 1em; /* LTR */ <!-- remove this -->
 }
danpros’s picture

Status: Active » Closed (fixed)

Issue fixed. This will available in next release.

Thanks,