[thelist] preventing navbar element wrapping

Peter Brunone (EasyListBox.com) peter at easylistbox.com
Tue Nov 14 12:50:57 CST 2006



   Thanks for asking this question, John.  There are valid reasons for wanting to induce "no wrap" behavior in certain parts of the page; tables make this easy, but a universal CSS standard is slow in coming.

Cheers,

Peter

				From: "John DeStefano" john.destefano at gmail.com

"ben morrison" wrote:
> > What CSS style property would one apply to a horizontal
> > list/navigation bar to prevent its elements (i.e., "buttons") from
> > collapsing below each other as a browser window decreases in size?
> >
>
> Setup a minimum width?
>

Thanks Ben. Your combination of setting a "min-width" and some
IE-specific hacks seems to be what I was looking for.

It's great to know how this works, but I will continue in the spirit
of your and Jules's comments, and look for a way to make the best of
the current "effect," like turning the amorphous blob that the navbar
becomes as the browser shrinks a bit more palatable.

~John



More information about the thelist mailing list