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
Setting Sidebar width
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Setting Sidebar width
I think the best way would be to add:
to the IDs:
This should work in all modern-day browsers.
Regards,
Garvin
Code: Select all
white-space: nowrap;
Code: Select all
#serendipityRightSideBar, #serendipityLeftSideBar {
white-space: nowrap;
}
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/