Make a Calendar cell to stay fixed whatever the text inside

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
sofajoe

Make a Calendar cell to stay fixed whatever the text inside

Post by sofajoe »

i am trying to setup the Calendar module so that if someone enters a long word it doesn't stretch the calander e.g.
http://51degreesnorth.net/lasainteunion ... &m2month=6
- you'll see June's goes outside the design because of the text, while May is fine.

ideally i would like the Calendar cell to stay fixed at 75px and the words to be short... with dots so that it indicates there is more txt. i have tried changing the css & the template, but have had no luck as yet. Has anyone any ideas?

Cheers
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm
Location: Finland

Re: Make a Calendar cell to stay fixed whatever the text inside

Post by tsw »

you can force extra text to be hidden with

Code: Select all

#big td p {
display:block;
width:70px;
overflow:hidden;
}
(5pixels reserved just in case ;)

but it will just cut the text when it overflows the container...
sofajoe

Re: Make a Calendar cell to stay fixed whatever the text inside

Post by sofajoe »

Thank you tsw,

does cut the text, but it works  :)
Locked

Return to “Modules/Add-Ons”