google-code-export / calendardateselect

Automatically exported from code.google.com/p/calendardateselect
Other
0 stars 0 forks source link

Should probably set padding on td elements #105

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If padding is set to a non-0 value on td elements the calendar widget picks
it up and the calendar ends up being too big. To work around this I just
added the following bit of CSS that I include after the the
calendardateselect include:

.calendar_date_select td {                                          
  padding: 0px;
}

Original issue reported on code.google.com by djwh...@gmail.com on 15 Apr 2008 at 7:52

GoogleCodeExporter commented 9 years ago
On a similar note I needed to add the following for th elements:

.calendar_date_select th {                                          
  padding: 0px;
  text-align: center;
}

Original comment by djwh...@gmail.com on 15 Apr 2008 at 8:00

GoogleCodeExporter commented 9 years ago
djwhitt - would you like to fork cds on github and apply this patch, then send 
me a pull request?  I'd appreciate 
it, thanks.

Original comment by timchar...@gmail.com on 18 May 2008 at 2:59

GoogleCodeExporter commented 9 years ago

Original comment by timchar...@gmail.com on 18 May 2008 at 3:00

GoogleCodeExporter commented 9 years ago
I had to add an explicit width to the th element to override a th width that 
was set in my main css file, causing 
calendar display issues in Internet Explorer (only):

.calendar_date_select th {                                          
  padding: 0px;
  width: 24px;
  text-align: center;
}

Original comment by c.bartl...@paradise.net.nz on 29 Jun 2008 at 1:00