Cascading calendars

I had fun styling the hCalendar markup for the Berlin Web 2.0 Expo schedule. I based the CSS on what I had written the table of errata for DOM Scripting (which uses del and ins to indicate changes—a nice little dab of ). For the conference schedule, I added a little flourish for standards-compliant browsers by highlighting headers and cells on the same row with these declarations:

table.vcalendar tbody td:hover,
table.vcalendar tbody td:focus {
 background-color: #ddd;
}
table.vcalendar tbody tr:hover th,
table.vcalendar tbody tr:focus th {
 background-color: #678;
}

Gareth asked if he could use the same CSS for some hCalendar schedules he marked up:

I’m more than happy to share my style sheets. In fact, Brian suggested the CSS could be released under a Creative Commons licence. So that’s what I’ve done.

This CSS file is licensed under a Creative Commons attribution licence. If you use Dmitry Baranovskiy’s conference schedule creator to generate an hCalendar table, this CSS should style it nicely.

Of course, you might decide to write your own CSS. In that case, please consider also sharing it under a similar licence. It would be nice to gather together a whole range of possible style sheets for hCalendar schedules and list them on the microformats wiki.

Wednesday, November 14th, 2007 1:24am

Tagged with

Illustrations

Thanks to the magic of machine tags, you can illustrate this post by tagging a picture on Flickr with:

Related

Magnolia

Find links that I've have tagged with microformats, hcalendar, css, creativecommons, etc. on Magnolia.

Technorati

Is anybody linking to this?

Find out what other people are saying about microformats, hcalendar, css, creativecommons, etc. according to Technorati.

Flickr

Find photos I've tagged with microformats, hcalendar, css, creativecommons, etc. on Flickr.

Find photos that I took on November 14th, 2007.

More information

About this site

Adactio is the online home of , a web developer living and working in Brighton, England.

Customise

If your browser was up to it, you'd be able to
?

This is the plain vanilla look.

Search


Subscribe

RSS is an XML-based format for syndicating website content. I have some feeds that you can subscribe to:

Elsewhere

Adactio Elsewhere has small pieces of me, loosely joined:

You can also find me scattered across these sites:

Bedroll

I had the pleasure of welcoming these people into my home:

Buy my book

Bulletproof Ajax