Navigational menu

Discussion in 'Web Design and Development' started by amtjb, Jan 9, 2015.

  1. amtjb macrumors member

    Joined:
    Jan 5, 2011
    #1
    I made a title in one of my navigational menu boxes. It won't show the entire title. Is there away to make the complete title show in one of the menu boxes that you would select? I wan't the two words that make up the title to be on two different lines. I tried - overflow: hidden; - That did not work.
     
  2. pixelcoder macrumors newbie

    pixelcoder

    Joined:
    Feb 28, 2012
    Location:
    Stuttgart, Germany
    #2
    So have you defined a width for your element or is it on auto? You may want to share a snippet of your code for us to analyze properly.
    I'm not really sure whether you mean you want two different lines or you don't. For now I'm going to assume you mean you don't want any automatic breaks. Use
    Code:
    white-space: nowrap;
    in CSS to accomplish that.
     
  3. 960design macrumors 68020

    Joined:
    Apr 17, 2012
    Location:
    Destin, FL
    #3
    Post the relevant parts of your code at JSFiddle so we can see the issue. It makes it so much easier for us, than just guessing.
    https://jsfiddle.net/
     

Share This Page