"Lachlan Hunt" <spam.my.gspot@gmail.com> wrote in message
news:4244d73f$0$15986$5a62ac22@per-qv1-newsreader-01.iinet.net.au...[color=blue]
> kaeli wrote:[color=green]
> > .green {color:green;}[/color]
>
> That doesn't really seperate structure and content from the presentation
> does it, it simply stacks another layer on top of it. What happens when
> the author decides to use a new theme and green is no longer
> appropriate? Should all the markup be changed to match, or just the CSS
> (which would make it inconsistent and confusing.)
>
> eg.
> .green { color: red; } ???
>
>[color=green]
> > <span class="green">this text is green</span>[/color]
>
> It depends what you are trying to markup, not what you want it to look
> like. If, for example, you want emphasis to be shown in green, you
> could use
>
> <em>emphasised text</em>
>
> em { color: green; }
>
>
http://www.w3.org/QA/Tips/goodclassnames
>
> --
> Lachlan Hunt[/color]
After reading the link I see your suggestion is quite good. If someone
wanted a special one time only style I would add the following:
..special { font-weight: bold; color: #FF0000}
I would add this comment to the style:
/* color red emphasis bold */
I would then add this to the body:
<span class="special">Bold Red Text</span>
If needed I would adapt the comment to describe any additional formattting
too, of course this is all OT in this NG. ;-)
Signed,
me