Text oveflow

Discussion in 'CSS' started by e96, Feb 21, 2009.

  1. #1
    not a css guru by any means. I want to know if there is any way to require that the words in the span remain on the same line rather than have 'two' appear above 'words'

    
    <span>
    two words
    </span>
    
    Code (markup):

     
    e96, Feb 21, 2009 IP
  2. gurtejm4eo

    gurtejm4eo Peon

    Messages:
    82
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    use the following property in your span
    white-space:nowrap
     
    gurtejm4eo, Feb 21, 2009 IP
    e96 likes this.