Page 1 of 1

Setting Sidebar width

Posted: Sun Feb 27, 2005 4:35 am
by Wesley B
Hi,

How would I go about defining the width of the sidebar?

For a cleaner look, I like all my links and text to display without wrapping to a new line.

Currently, I'm accomplishing this by setting the width of a table I have in an html nugget to a large enough value.

I figure there is a better way to do this, but haven't learned much css and would need pointed in the right direction.

I'd really like to be able to set it up so the width of the sidebar would adjust in each template to a large enough size to prevent text-wrapping.

Wesley B

Re: Setting Sidebar width

Posted: Sun Feb 27, 2005 1:17 pm
by garvinhicking
I think the best way would be to add:

Code: Select all

white-space: nowrap;
to the IDs:

Code: Select all

#serendipityRightSideBar, #serendipityLeftSideBar {
   white-space: nowrap;
}
This should work in all modern-day browsers.

Regards,
Garvin