Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Web Technology by (20.3k points)

I'm trying to put a link called Submit resume in a menu using a li tag. Because of the whitespace between the two words, it wraps to two lines. How to prevent this wrapping with CSS?

1 Answer

0 votes
by (40.7k points)

You can try using white-space: nowrap;1, or you can give that link more space by setting li's width to greater values.

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Aug 7, 2019 in Web Technology by Tech4ever (20.3k points)
0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...