|
Posted by Jukka K. Korpela on 09/30/07 11:09
Scripsit not_bad:
> Wow! Span is the trick!?
No, and span isn't CSS at all. The color property is the "trick".
Surprising, is it not?
Use of span is a usual sign of lack of understanding of markup issues,
though if giving abstract advice to a generic question, formulated in
foobarish (aka Lorem ipsum), there's little else one can use, since any
other inline element could be semantically _wrong_. The span element is
_meaningless_, i.e. semantically empty.
However, you could just as well use <font
class="serengeti">Serengeti</font>, being somewhat honest about it: you are
just thinking in terms of coloring words, not in terms of expressing
semantic or structural relationships.
If you want to save typing, <a class="serengeti">Serengeti</a> would be an
interesting option.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
[Back to original message]
|