On Fri, 27 Jan 2006 09:25:37 -0600, cj wrote:
> i think spans are the way to go for this situation, but i think you'll
> find that naming your classes something meaningful (such as
> "first-name" and "last-name") is a better practice than naming them by
> color.
>
> <h1><span class="first-name">Lerrroooooyyyyyyyyyy</span><span
> class="last-name">Jenkins</span></h1>
>
You can do this with *no* class names and only one SPAN, viz:
HTML
<h1>Lerrroooooyyyyyyyyyy <span>Jenkins</span></h1>
CSS
h1 {color: blue;}
h1 span {color: red;}
Less is more :-)
Cordially,
David
--
David Hucklesby, on 1/27/2006
<http://www.hucklesby.com/>
--
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/