Posted by Mark Parnell on 01/27/06 01:05
Deciding to do something for the good of humanity, "Jonathan N. Little"
<lws4art@centralva.net> declared in alt.html:
> Depends if you are just highlighting a specific word or phrase then 'em'
> and 'strong' will do but if there is some underlining theme to the
> emphasis then I could see where classes can be very useful, e.g.
>
> .keyword { color: #080; }
> .constant { color: #f00; }
> .command { color: #008; }
No argument there, but...
> <span class="keyword">void</span>
> <span class="constant">NULL</span>
> <span class="command">sub</span>
Better to use <em class="keyword"> etc. That way in non-graphical UAs,
and those that don't support CSS, it will still be emphasised.
--
Mark Parnell
=====================================================
Att. Google Groups users - this is your last warning:
http://www.safalra.com/special/googlegroupsreply/
[Back to original message]
|