[PHPTAL] Proposal: Auto-fill slots with #ids

2011-08-19 Thread aaatoja
When creating typical web page we all use #ids, and something like: layout.html metal:define-macro=html metal:define-slot=content index.html metal:use-macro=../layout.html/html metal:fill-slot=content And most probably content will be div id=content. So maybe just to make our work easier

Re: [PHPTAL] Proposal: Auto-fill slots with #ids

2011-08-19 Thread Per Bernhardt
I totally disagree that we all use #ids :) When it comes to styling or semantic markup, ids have no advantage to well-choosen classes. It is rather problematic because there are some bad things about ids: * They mess up CSS specificity because there are way too strong * They have to be