Re: [css-d] Another selector's specificity question

2005-12-20 Thread Paolo Candelari
To Holly, George, Jesper and Diego (who posted me in private). First, I'd like to thank you for answering my question. Second, I apologize for my stupidity and for my bad reading of CSS spec. I mean, font size and font family are mandatory in font declaration and they must come as last and in corr

Re: [css-d] Another selector's specificity question

2005-12-19 Thread Jesper Brunholm
Hi Paolo > Who can explain why I see italic and not bolded text instead of bold and > normal (not italic) text, with these rules: > > #main #content * {font-size: 24px; > font-style: italic; > } > #main #content span {display: block; > margin: 24px 0; >

Re: [css-d] Another selector's specificity question

2005-12-19 Thread Holly Bergevin
From: "Paolo Candelari" <[EMAIL PROTECTED]> >Who can explain why I see italic and not bolded text instead of bold and >normal (not italic) text, with these rules: > >#main #content * {font-size: 24px; > font-style: italic; >} >#main #content span {display: block; >

Re: [css-d] Another selector's specificity question

2005-12-19 Thread Paolo Candelari
Thanks George. I've thought something similar, and I also prefer to use long rules. It seems that specific rules have less specificity or something similar. The strange thing is that I'm using last Firefox version... so don't seem a problem of wrong interpretation as to skip the rule itself (othe

Re: [css-d] Another selector's specificity question

2005-12-19 Thread Gunlaug Sørtun
Paolo Candelari wrote: > Who can explain why I see italic and not bolded text instead of bold > and normal (not italic) text, with these rules: > #main #content * {font-size: 24px; font-style: italic; } > #main #content span {display: block; margin: 24px 0; font: bold > normal; } I think most

[css-d] Another selector's specificity question

2005-12-19 Thread Paolo Candelari
Hi all! Who can explain why I see italic and not bolded text instead of bold and normal (not italic) text, with these rules: #main #content * {font-size: 24px; font-style: italic; } #main #content span {display: block; margin: 24px 0; fon