no break/wrap problem


is there a way to not have the horizontal buttons (menu_h) here
break, having half of it on one line and the other part in the next line?*

*depends on the display resolution and size.

Basilicata - Campania - Emilia Romagna - Friuli - Lazio - Lombardia -
Marche - Piemonte - Puglia - Saqrdegna - Sicilia - Toscana - TRENTINO ALTO
ADIGE - Umbria - Veneto

where "Trentino Alto Adige" should be all in one line, i.e. one button

In other words is there a better way to do it than I did?

Thank you
Who is Participating?
ArgblatConnect With a Mentor Commented:

white-space: nowrap;

in your css
klykkenConnect With a Mentor Commented:
Argblat is right, put the code right into the CSS rule for your nav links:

#menu_h a { white-space: nowrap; color: #000000; text-decoration: none; background-color: #fc0; text-align: justify; padding: 3px; border: solid 2px #300; }
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.