1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Different colour words/numbers in sentence

Discussion in 'CSS' started by fadetoblack22, Sep 17, 2009.

  1. #1
    I have 3 sentences on my site like this:

    "this is the example number 1.1. This is the example number 2.1. This is the example number 3.1"

    What is the best way to make the numbers bold and a different color? I would use a span, but I don't really want to go through every sentence putting spans in.

    Is there another way to do this?

    thanks.
     
    fadetoblack22, Sep 17, 2009 IP
  2. TheNoose

    TheNoose Peon

    Messages:
    1,005
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I'm fairly sure the best way is a span. It might be work putting them in now, but it will be easier to change the color later.
     
    TheNoose, Sep 17, 2009 IP