x
 
Create New Page
 View Previous Changes    ( Last updated by Deep Arora )

Calendar Spacing

Question:


I’m creating a full sized calendar using the code from the user guide. When there are a events to display, the calendar cells are out of whack. How can I fix this?

Answer:


The calendar CSS doesn’t take into account the width and height of your calendar cell. You’ll need to add two lines to your CSS:

.calendarCell { 
font
-familyArialTrebuchet MSTahomaVerdanaSans-serif
font-size12px
font-weightbold
letter-spacing.1em
text-decorationnone
text-aligncenter
vertical-alignmiddle
color#666; 
background-color#fff; 
width57px
height57px;

The height and width you use will depend on your design. Use the same value for width and height to display a square.

Note: The latest version of Firefox will ignore these two lines, unless you add:

displayblock

Category:CSS Category:Templates Category:Calendar

Category:EE1

Categories: