What this patch offers:
- Valid XHTML table markup: month name in <caption>, day headers in <thead>, and only days in <tbody>.
- Simplified CSS class structure and less repetition (e.g. .march .fri, .march .day-5)
- New feature: CSS class .pad to style padding days (e.g. for removed borders, or grayed background color)
Reasoning
For reasoning, please read:
Jonathan Snook's Blog: Designing Data Part 1: Table structure
aka. Valid XHTML table markup
http://www.snook.ca/archives/html_and_css/designing_data/
Veerle Pieters' Blog: A CSS styled calendar
aka. Easy CSS stylesheet markup
http://veerle.duoh.com/blog/comments/a_css_styled_calendar/
I've already implemented this for my organization.
Hoping you will commit in future release so we don't have to patch manually.
Great module! Thanks! :)
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | event_30.patch | 9.4 KB | ms2011 |
| #1 | event_29.patch | 1.29 KB | ms2011 |
| event_28.patch | 4.3 KB | ms2011 |
Comments
Comment #1
ms2011 commentedWhat this patch does (after applying the previous patch):
Comment #2
ms2011 commentedIn addition to previous patches, updated the other views for Week, Day and Table use the same XHTML table format as the Month view.
Comment #3
killes@www.drop.org commentedMike, I've applied your patches (most of it) to the HEAD branche and will merge it into the Drupal-5 branch. Please don't use tabs in Drupal code.
Comment #4
(not verified) commented