Forum Moderators: not2easy
For example, say that some "blockheaded Bracegirdle from Hardbottle" specified black as their background color, and as the only CSS rule on their local machine. Well, you can guess what most Web sites would look like. ;)
Its good practice, if you're someone concerned about accessibility and validation; otherwise its often quite omittable, IMO. There's no strict line on it really, after all, its only a warning, not an error.
FYI, if I'm building a site from the ground up, I do try to have colour and background color styles for relevant elements, but for existing sites its often too big a chore.
Most browsers can render background inheritance correctly, I can't think of one that does.
Or rather they render incorrect background inheritance correctly ;)
If you just want the background colour to be the same as its parent then you can use
background-color: transparent; background-color: inherit;