Calendars are the one thing that repeatedly make developer go bonkers. Save yourself a headache and style a good one that has already gone through a lot of testing: http://developer.yahoo.net/yui/calendar/index.html