Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
danpros CreditAttribution: danpros commentedHi, 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"
You can fix this by change to
By doing that, then the taxonomy is below the "submitted by". I'll try to find another solutions.
Dan,
Comment #2
Bob4613 CreditAttribution: Bob4613 commentedDan,
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
Comment #3
danpros CreditAttribution: danpros commentedGlad 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
Comment #4
danpros CreditAttribution: danpros commentedIssue fixed. This will available in next release.
Thanks,