Solved

no break/wrap problem

Posted on 2007-03-28
2
7,406 Views
Last Modified: 2012-08-13
Hi,

is there a way to not have the horizontal buttons (menu_h) here
http://www.cadante.com/cadante_css/vini.asp
break, having half of it on one line and the other part in the next line?*

*depends on the display resolution and size.
===================================================
eg:

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
0
Comment
Question by:keneso
2 Comments
 
LVL 5

Accepted Solution

by:
Argblat earned 200 total points
ID: 18808239
try:

white-space: nowrap;

in your css
0
 
LVL 8

Assisted Solution

by:klykken
klykken earned 50 total points
ID: 18808354
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; }
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Change javascript css 1 30
Target h5 of a div 3 17
push logos in footer up higher 5 20
tiny glitch in my main slider 3 24
Shoutout to Emily Plummer (http://www.experts-exchange.com/members/eplummer26.html) for giving me this article! She did most of it, I just finished it up and posted it for her :)    Introduction In a previous article (http://www.experts-exchang…
Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question