localendar Forums Homepage

Print at Sep 8, 2025, 7:22:22 AM View all posts in this thread on one page
Posted by mygig at Apr 8, 2007, 11:41:14 PM
Calendar Dimensions
I think I already know the answer to this, but here goes.

Is there any way to have the calendar change size according to content (number of events)?

Because there are a lot of events posted to mine both by me and others, sometimes the lower portion including buttons disappears and I have to manually adjust the height specification in the code either higher or lower from time to time to accommodate the volume of events.

Just wondering ...

Posted by support at Apr 10, 2007, 3:41:03 PM
Re: Calendar Dimensions
HTML is kind of funky this way.
Depending on the calendar style you are using, you may be able to specify the height as a percentage (say 100%) as a cell in a table, and put other content below it in a cell, also of height 100%. Many browsers will reconcile this impossible "200% total height" value and make each cell just big enough for the actual contents.
----------------------------------------
Marc Higgins
Support Associate, localendar.com
Follow us on Twitter! http://www.twitter.com/localendar_news

Posted by KEvents at Oct 13, 2007, 12:55:32 PM
confused   Re: Calendar Dimensions
This is a big problem...I tried the 100% method for height and width and it made the monthly embedded calendar smaller...which styles does the % work with ?

Posted by support at Oct 15, 2007, 12:50:12 PM
Re: Calendar Dimensions
Generally, I don't like %'s b/c different browsers can interpret it differently and you wind up with strange page layouts.

I prefer the specific pixel heights/widths (eg: width=500 height=500), but then you need to make sure you've allocated enough size.

One fall-back is to specify a standard size, yet also allow scrollbars to appear in the [worst] case scenario where you didn't allocate enough room. For example:

<IFRAME src="http://www.localendar.com/public/sample" height=600 width=700 marginheight=0 marginwidth=0 scrolling=yes frameborder=0 border=0></IFRAME>
----------------------------------------
Marc Higgins
Support Associate, localendar.com
Follow us on Twitter! http://www.twitter.com/localendar_news

Posted by Wetmore at Dec 2, 2007, 6:04:59 PM
smile   Re: Calendar Dimensions
Where do I go to see about adjusting this? I can't seem to find it. I am having trouble with the bottom being cut off also due to the large number of events on certain days.

Thank you in advance for your assistance.


Help! | Cobranding | Legal | Privacy Policy | About localendar.com | Contact Us