CSS different style fonts in the same column, help.

Discussion in 'CSS' started by kyriakos70, May 17, 2008.

  1. #1
    Hello,
    I am trying to create a webpage with three css columns in it, but I want to have inside one column a word with text style bold and the rest text of the same line in normal style is there a way to do this? I think it can be done but how; here is a sample code: #side-a {
    font-family:sans-serif;
    font-size:15px;
    color:3399CC;
    font-weight:bolder; //I want the lower case text to be normal//and the upper case in bold style
    float: left;
    width: 250px;
    background:white;
    }
     
    kyriakos70, May 17, 2008 IP
  2. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Wrap a span around the text you want to change, then style that.
     
    Dan Schulz, May 17, 2008 IP
  3. kyriakos70

    kyriakos70 Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thank you Dan.
     
    kyriakos70, May 18, 2008 IP
  4. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You're welcome. :)
     
    Dan Schulz, May 18, 2008 IP