Hi Ron,
Pringle, Ron wrote:
snip Again, no color or background-color is applied to this
since all paragraph text is colored on the p tag and I obviously want the
background image in the secondaryBottom div to show through. And yet the
validator throws specific errors indicating that I haven't
Pringle, Ron wrote:
I'm trying to understand exactly why the W3C CSS validator now spits out
errors for instances where you do not declare a color on a property with a
background-color declaration, or vice versa.
It doesn't. The validator spits out WARNINGS for that situation, not
ERRORS.
I originally replied to this off-list, but as the link looks like being
useful to more people than Ron, I'll send it here too:
Hi all-
I'm trying to understand exactly why the W3C CSS validator now spits out
errors for instances where you do not declare a color on a property with a
Yes. The possibility that someone may have a user style sheet set up
with his or her own colors, which may end up contrasting with your
colors. So the idea is that if you're going to reset one of
the user's
preferences (color or background color), make sure you reset both of
them so
From: Pringle, Ron
I'm trying to understand exactly why the W3C CSS validator
now spits out
errors for instances where you do not declare a color on a
property with a
background-color declaration, or vice versa.
It's just a sanity check sort of a tip.
Just intended to alert you to the