Previous Message
Next Message

Veerle's Blog: "A CSS styled calendar"

Sent by Mike Purvis on 8 March 2005 18:06


> Tables has been created for show in tabular data.
> Calendars are tabular data, isn't?
> Don't would be more right, to make a calendar with tables?

In my opinion, it's a point that's up for debate. Calendars could be 
consider a 'Table of Days and Weeks' or a 'List of Days in a Month'. I 
feel that using a list gives you some interesting flexibility for 
extending the capabilities of the calendar. If you check my demo, I've 
changed it to show some extra data on rollover, yet when you un-style 
the page, it's still just a list of days with the corresponding info 
(think: list of appointments) beside each one: 
http://uwmike.com/layout/calendar/

A calendar marked up this way could also be made extremely user-friendly 
by offering multiple views via a style-switcher. Rather than having to 
code three or four different tabular layouts for it, you can just turn 
floating off and un-hide the popup div.

This demo would require some hackery to get it working on IE5, but in 
spite of that, I think it represents a legitimate technique for 
displaying a calendar. Just make sure that it gets stuck at the bottom 
of the markup to avoid frustrating smallscreen users.

Mike
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: