3 replies [Last post]
aarronjay
Offline
newbie
Last seen: 16 years 6 weeks ago
Joined: 2006-10-21
Posts: 2
Points: 0

Does anyone know how to put two different colors in one paragraph? I have set the

tag to white, but want some text inside the

tag to be a different color, I thought of using a

, but is this the right way to go?

Thanx for your time

Aarron

DanA
DanA's picture
Offline
Elder
Last seen: 12 years 29 weeks ago
Timezone: GMT+2
Joined: 2004-08-14
Posts: 1087
Points: 2

You can use a span and style

You can use a span and style it.

aarronjay
Offline
newbie
Last seen: 16 years 6 weeks ago
Joined: 2006-10-21
Posts: 2
Points: 0

cheers, that wrked fine.

cheers, that wrked fine.

Ed Seedhouse
Ed Seedhouse's picture
Offline
Guru
Victoria British Columbia
Last seen: 1 year 40 weeks ago
Victoria British Columbia
Timezone: GMT-8
Joined: 2005-12-14
Posts: 3570
Points: 675

DanA wrote:You can use a

DanA wrote:
You can use a span and style it.

If the purpose of the second color is to emphasize some text then may I suggest it would be better markup to use the EM tag and style that accordingly?

Ed Seedhouse

Posting Guidelines

Watch out! I am carrying irony, sarcasm and satire, and know how to use them.