Page 1 of 1

FIX or LIMIT height of NEWS sidebar?

Posted: Sun Jan 21, 2007 1:59 am
by saucybeige
Hi

I'm using CMS 1.0.2.

I am trying to fix or limit the length of the news bar on my home page. The more news I add, the longer the bar gets, with lots of empty space elsewhere!

Things I tried:
1. giving a height value to the news box "div#sidebar" in my general stylesheet, but then the news just overflows.
2. giving a height value to the "div#news" in the News stylesheet, but this has no effect on the box.

I could try limiting the number of news summaries that displays in the bar, but I would prefer something more exact.

Could I use the "overflow" property somewhere, or else somehow assign a fixed height to the news bar?

Thank you!!

Jane

Re: FIX or LIMIT height of NEWS sidebar?

Posted: Sun Jan 21, 2007 4:34 am
by Dr.CSS
Try giving it a fixed height with overflow:hidden...

Re: FIX or LIMIT height of NEWS sidebar?

Posted: Thu Jan 25, 2007 2:05 am
by saucybeige
Hi Mark

Thanks for your suggestion.

Good idea but not ideal - it hides the overflow but this means that half a random sentence gets cut off and it looks a bit shoddy, know what i mean?

Are there any other workarounds for this? Or does everyone who uses CMS Made Simple have incredily long newsbars?? They can't surely!!

Cheers
Jane

Re: FIX or LIMIT height of NEWS sidebar?

Posted: Thu Jan 25, 2007 5:15 am
by Dr.CSS
Well if you limit the number then you get the latest news and you can have a page with all the news, in summary, on it and click to read more, maybe say so in the news bar... or make the summaries real short... ;)