Re: [css-d] no background-color with your color warnings

2006-06-16 Thread David Dorward
On 16/06/06, David Hucklesby [EMAIL PROTECTED] wrote: The default value for background-color when none is defined is transparent, allowing any background set on an enclosing element to shine through. The reason the validator warns you about having a background-color defined with your (text)

Re: [css-d] no background-color with your color warnings

2006-06-16 Thread Richard Allsebrook
Actually, its the exact opposite. Um, no its not. The validator doesn't take the cascade into account. div.test { background: #FFF; color: #000; } div.test a { color: #C00; } will produce a warning on the div.test a {} rule even though the red hyperlink will only

Re: [css-d] no background-color with your color warnings

2006-06-16 Thread David Dorward
On 16/06/06, Richard Allsebrook [EMAIL PROTECTED] wrote: Actually, its the exact opposite. Um, no its not. The validator doesn't take the cascade into account. Please read what I said - you have to account for the user style sheet and browser default stylesheet too. div.test {

Re: [css-d] no background-color with your color warnings

2006-06-16 Thread David Dorward
On 16/06/06, Richard Allsebrook [EMAIL PROTECTED] wrote: What I said was The validator doesn't take the cascade into account - and that is true. No, it isn't. An author rule (rule 1) sets a colour, but not a background colour. Another author rule (rule 2) sets a background colour that (due to

Re: [css-d] no background-color with your color warnings

2006-06-15 Thread Richard Allsebrook
Hi Dale Technically you are supposed to specify a background *every* time you specify a foreground (and vise versa). The problem is that the validator seems to ignore the 'Cascade' part of cascading style sheets (and also, doesn't look at the mark-up) so has no real clue as to which

Re: [css-d] no background-color with your color warnings

2006-06-15 Thread David Dorward
On 15/06/06, Richard Allsebrook [EMAIL PROTECTED] wrote: The problem is that the validator seems to ignore the 'Cascade' part of cascading style sheets Actually, its the exact opposite. BECAUSE of the cascade, you can end up with your forground colour being displayed against a background

Re: [css-d] no background-color with your color warnings

2006-06-15 Thread Dale Lists
Thank you for the reply, David Dorward wrote: On 15/06/06, Richard Allsebrook [EMAIL PROTECTED] wrote: The problem is that the validator seems to ignore the 'Cascade' part of cascading style sheets Actually, its the exact opposite. BECAUSE of the cascade, you can end up with your

Re: [css-d] no background-color with your color warnings

2006-06-15 Thread David Hucklesby
On Thu, 15 Jun 2006 11:52:42 -0500, Dale Lists wrote: So it would seem that I now need to define a:link, a:hover, etc for each place where there may be a different background color for each div I may use a link in. That both kind of makes sense, but also would seem to make things far more

[css-d] no background-color with your color warnings

2006-06-14 Thread Dale Lists
Hello, Sorry if this is a foolish question, but I haven't found the answer elsewhere so far. I have a small site at http://www.bear.net/ - the css is at http://www.bear.net/css/default.css When I run it through the Wc3 css validator at