Climis, Tim wrote:
> I've got a newsletter that includes interviews in a Q and A format.
> 
> Usually, there's a question with a "Q:" in front of it, and then an
> answer with an "A:".  But I just discovered an interview with two
> people that goes: "Q:" "Neal:" "Kirsten:"
> 
> My stylesheet currently uses :first-letter to style the Q and A.  But
> that just styles the N and K on Neal and Kirsten, and what I'd really
> like to do is style the whole word.
> 
> A "first-word" pseudo element would work perfectly in all my cases,
> but it appears that there is no :first-word pseudo element.  Is there
> some trick I can use as a substitute?

This depends on the context.
Do you have any links to a sample or maybe even a hint as to the HTML 
used for this example?

-- 
<!--
  ! Bill Brown <macnim...@gmail.com>
  ! Web Developologist, WebDevelopedia.com
-->
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to