Sent by Zoe M. Gillenwater on 30 December 2004 17:05
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
--
Zoe M. Gillenwater
Design Specialist
Highway Safety Research Center
http://www.hsrc.unc.edu
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/