Re: [WSG] Question of CSS specificity

2006-03-06 Thread Paul Novitski
Barrie North wrote: I need some help, what is the difference between: table.module At 07:45 PM 3/5/2006, Lachlan Hunt wrote: Specificity: 0,0,1,1 To see where Lachlan is getting these numbers, read: 6.4.3 Calculating a selector's specificity

Re: [WSG] Question of CSS specificity

2006-03-05 Thread Ben Buchanan
.module will apply to any element with class=module, table.module will only apply to table elements. That's about it :) No doubt there's some deeper meaning that I've not yet heard, of course... ;) -- --- http://www.200ok.com.au/ --- The future has arrived; it's just not --- evenly distributed.

Re: [WSG] Question of CSS specificity

2006-03-05 Thread Samuel Richardson
table.module will only apply the style to a table with class=module on it. .module will apply the style regardless of what element the class is on. a.contentpagetitle:link will apply the style to any a tags with a .contentpagetitle class on them that is a link. .contentpagetitle a:link will

Re: [WSG] Question of CSS specificity

2006-03-05 Thread Lachlan Hunt
Barrie North wrote: I need some help, what is the difference between: table.module Specificity: 0,0,1,1 and .module Specificity: 0,0,1,0 Is table.module just more specific or is there more going on? The former will only select tables with the class name module. The latter will