Closed (fixed)
Project:
Zen
Version:
7.x-5.x-dev
Component:
layout.css
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Dec 2011 at 16:28 UTC
Updated:
21 Mar 2012 at 18:30 UTC
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
Comment #1
johnalbinFixed. http://drupalcode.org/project/zen.git/commitdiff/0db75c6
Comment #2
johnalbinComment #4
dakku commentedRemoving 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.
Comment #5
echoz commentedThis 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.