Forum Moderators: not2easy

Message Too Old, No Replies

Span

Span

         

oldworldcharms

12:45 am on Jun 22, 2005 (gmt 0)

10+ Year Member



I am learning css and had to make a few entries where the text is the same but there may be a minor difference with the text in the same table.
for example
this is the text but I need <b>bold</B> text or a different color text in the middle of the sentence.

Can someone give a good explaintion of how to do this?

thanks

D_Blackwell

2:03 am on Jun 22, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If I'm understanding correctly, you might sometimes want this word to be special.

In the head, declare a class which can be used as often as necessary:
.special {
font-weight: 900; color: #900;
}

Then, when you get to those 'special' words:
<span class="special">special text</span>