Lists vs. Divs
Posted by mrf on March 31, 2008 at 1:37pm
So I took a look at the Drupal Markup Style Guidelines and one passage got me thinking.
Read moreIf you're in doubt, put it in a div (and give it classes).
Don't leave content adrift on the page with no mark-up at all. Every chunk of html whether in a tpl file or a theme function should have a root DOM element. For module developers this is a div 95% of the time. In page.tpl.php it's the element. (or ?)
