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

2011-08-19 Thread Kornel LesiƄski
On Fri, 19 Aug 2011 11:22:54 +0100, aaatoja wrote: 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 w

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 u

[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 . So maybe just to make our work easier PHPTAL