Calendar width is broken in IE

deviantintegral - March 1, 2009 - 21:02
Project:Javascript Tools
Version:5.x-1.x-dev
Component:Jscalendar
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

In IE6 and IE7, the width of the calendar div is unset, so it defaults to the width of the viewport. This patch sets the width to 16em, which fixes IE and doesn't change the display in FF or Safari.

This patch also sets the default margin of the calendar table to 0; our theme sets margins for all table elements, which causes extra margins to be shown around the calendar.

Enjoy!

AttachmentSize
calendar_css_fixes.patch349 bytes
 
 

Drupal is a registered trademark of Dries Buytaert.