We have too many divs in D7. The contents of a block don't need 2 divs around it. :-p

Let's remove the <div class="content"> from around $content.

Comments

JohnAlbin’s picture

JohnAlbin’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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

dakku’s picture

Component: CSS/HTML markup » layout.css
Status: Closed (fixed) » Active

Removing inner content div does not make any sense at all.
It was convenient to add padding to inner container div whilst keeping the H2 without padding.

Seems like a step back to me.

echoz’s picture

Status: Active » Fixed

This wasn't an inner div, it was a wrapping div. Also switching to box-sizing: border-box; #1348258: Add box-sizing: border-box to the Zen Columns layout method helped your issue, and you can always add your own markup to tpls.

Status: Fixed » Closed (fixed)

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