DotDragnet
February 07, 2012, 01:25:32 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: follow us on twitter @dotdragnet
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Different colour text with css  (Read 433 times)
Chris H
Resident God Botherer
Global Moderator
Hero Member
*****
Posts: 2283



chrishall57
View Profile WWW Awards
« on: August 30, 2010, 12:55:44 PM »

Been a while since I've been tinkering with this css lark so please humour me!

I have a title in an H2 tag with 2 words where I need the first word to be a different colour to the second, and still get the words to remain on the same line!

What's the easiest way to do that with css?

Ta.
Logged

Chris H
Resident God Botherer
Global Moderator
Hero Member
*****
Posts: 2283



chrishall57
View Profile WWW Awards
« Reply #1 on: August 30, 2010, 01:34:56 PM »

All sorted now, mental block cleared.
Logged

Rosco
Global Moderator
Hero Member
*****
Posts: 907



View Profile Awards
« Reply #2 on: August 30, 2010, 08:30:41 PM »

regained your attention span? big grin
Logged
Chris H
Resident God Botherer
Global Moderator
Hero Member
*****
Posts: 2283



chrishall57
View Profile WWW Awards
« Reply #3 on: August 30, 2010, 11:34:08 PM »

regained your attention span? big grin

Boom boom!
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2006-2008, Simple Machines Valid XHTML 1.0! Valid CSS!