|
Posted by Alan J. Flavell on 02/24/06 21:38
On Fri, 24 Feb 2006, Neredbojias wrote:
> Suppose I have many lines of white text and decide to span one word
> to change its color to yellow. Do I need to state a background?
Do you "need" to? - No, you're entitled to ignore a warning, but it's
best to understand the warning before deciding to ignore it. Consider
e.g cascading with a stylesheet which defined the background for span
to be yellow.
Is it *good practice* to do so? - I'd say yes, and so say the folks
at the W3C CSS "validator". But sometimes there's no choice (e.g if
you want the background image of an outer element to "shine through"
an inner element at the same time as specifying text colour for that
inner element).
> Well... It purports to be a validator,
The problem here is that in an SGML/XML context, the term "validator"
has a very specialised meaning, which matters (or ought to) to HTML
authors. CSS is neither SGML nor XML, and those who care about the
meaning of words would prefer not to have the water muddied by this
kind of sloppy terminology.
--
Most folks would think a Referer header is something you smoke.
-- Bruce Tomlin in a.s.r
[Back to original message]
|