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
background-color declaration, or vice versa.
For instance, I have a righthand column on my page that has a div with a
background image in it.
this has been baffling me ever since It changed. I wrote the list about it,
and I still dont understand the need for all the bg's. But if these things
are necessary to get perfectly valid/no warning/no error style sheets then I
want to learn the right way...
--
iron sharpens iron
__
On 26/10/05, Pringle, Ron <[EMAIL PROTECTED]> 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. It outputs a warning - "Watch out
Hi Ron,
Pringle, Ron wrote:
Again, no color or background-color is applied to this
since all paragraph text is colored on the 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 declar
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. T
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
> backg
> 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
> the
> 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