C. Hatton Humphrey wrote:
>I was given a layout to work with that has inline text headers that
>are two different colors. For example the header says "Product
>Overview" and the word product is a darker green and the word overview
>is a slightly lighter shade. What I'm wondering is if there is a way
>to do this using CSS without having a span in the middle of the <h1>
>that I've defined.
Nope. Everything in CSS is based off of elements. The second word in a
header is not an element. Though there are a couple pseudo elements
(first-letter, first-line) there is not one for what you are after. Sorry!
Sounds like you have a print designer at work here... or a rather
clueless/masochistic web designer... ;-)
Zoe M. Gillenwater
Highway Safety Research Center
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/