Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

amtjb

macrumors member
Original poster
Jan 5, 2011
46
0
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.
 

pixelcoder

macrumors newbie
Feb 28, 2012
11
1
Stuttgart, Germany
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 wan't the two words that make up the title to be on two different lines
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.
 

960design

macrumors 68040
Apr 17, 2012
3,773
1,651
Destin, FL
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.
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/
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.