On 21 Aug 2008, at 2:20 pm, Chris G wrote:
I wanted tables with no borders at all, after mucking around for a while with the CSS I found that:-
table.docutils, td, th { border: 0 }
This means the "table with the class docutils, and all tds and all ths"
works, but that:-
table.docutils td th { border: 0 }
This means "the ths inside the td's inside the table with the class docutils"
According to CSS documentation those commas are wrong but they've made it work for me. Is this just a quirk of Firefox (2.0.0.12 on Linux) or am I missing something (quite likely!)?
Both are valid but will do different things. The latter one seems a bit silly, since you shouldn't have ths inside tds.
Thanks,
David