Recent Video


Enter your email address:

Delivered by FeedBurner

Random Quote

Everything in excess! To enjoy the flavor of life, take big bites. Moderation is for monks.
 - Lazarus Long

Yearly Archives

Categories

    Welcome to EEHowTo, a repository of how to articles for ExpressionEngine.

    HowTo Modify Your Full Size Calendar To Display Correctly

    Posted on 2006-03-19

    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
    -family:       ArialTrebuchet MSTahomaVerdana
    Sans-serif;
     
    font-size:         12px;
     
    font-weight:        bold;
     
    letter-spacing:    .1em;
     
    text-decoration:   none;
     
    text-align:  center;
     
    vertical-alignmiddle;
     
    color:             #666;
     
    background-color:  #fff;
     
    width57px;
     
    height57px;

    In this case, I used 57px as the width and height. Your calendar width and height will vary depending on your design.

    Before image After image
    Comments disabled for this entry   Permalink Tell a Friend  Wiki Entry