Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- A Link question
- Jukka K. Korpela
January 10, 2005, 11:15 am
Re: A Link question
No, the rule is good, but insufficient.
A good question. That's why authors should set background (i.e. use this
shorthand property) rather than background-color.
That's one option. Another is a declaration like background: black,
which sets background-color to black and background-image to none.
You mean we shouldn't do things the right way since we so often get away
with the consequences if we do them wrong? A key point is: the author does
not really know how often sloppy CSS coding breaks the page on users'
screens. Another point: if you adopt habits of sloppy coding, you will be
very confused when you see the problems caused, since you have no idea of
what's happening, and (being presumably human) you will try hard explaining
it someone else's mistake rather than your own.
Yucca, http://www.cs.tut.fi/~jkorpela /
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html