Page 1 of 1

Re: Making a menu fit in the width of the page

Posted: Wed Nov 04, 2009 7:26 am
by Connie
I suggest to rewrite the template instead of trying to live in that "bondage"

it is obvious that english text is shorter than german or french text so the template must keep that in mind

and 720 pixel is far too small nowadays... ;=)

you could as first help define a div, with bigger width and place that around the "normal main" div and place there the menue but that would not be too beautiful...

living with inherited unpractical layouts is a pain in the ass and will keep nobody happy! Sometimes it is time to put an end to an antiquated custom/habit   

Re: Making a menu fit in the width of the page

Posted: Wed Nov 04, 2009 12:46 pm
by jack4ya
You can add a nowrap (css) to the li/a of the menu, that prevents two words forced over two lines.

Now how to make (a quick and dirty) fix of your old layout.

The menu items, have to go somewhere, right?

try something like (outputted, you need to code it properly yourself)

  (it needs a width, a heigth and a overflow)

float:left;    (then al the items need a float:left)