There's a missing div in node.tpl.php around print $links; . There's a definition for it in the CSS file, but the div does not exist. We need the div for clearing any floats in the node.

Comments

johnalbin’s picture

Title: node.tpl.php <div class="links"> missing » .node div.links ruleset doesn't match html in node template
Component: Code » CSS/HTML Markup

Hmm… Actually, the "links" class is applied to the <ul class="links"> that is a part of the contents of the $links variable, so I think removing the <div class="links"> was the right idea. But I missed changing the stylesheets to match that modification. So I just modified the stylesheets to use .node ul.links instead of .node div.links.

Gabor, you can still apply the clear to .node ul.links. Alternatively, you could add a "clear-block" class to <div class="node-inner"> in your sub-theme’s node.tpl.php.

johnalbin’s picture

Status: Active » Fixed

Forgot to mark this as fixed. Since I committed the change I mentioned in the previous comment.

johnalbin’s picture

Also, forgot to mention…

Thanks for the bug report, Gabor! :-)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.