Comment

fonso

I rememeber seeing somewhere (maybe in a hCalendar implementation? [1]) the use of the `abbr` tag for these "clever" dates. So you'd have: <abbr title="2005-11-12">Today</abbr> 10:15

You then could use CCS to make the title attr appear in the printed version (with the `content` property [2]).

Apart from this CSS wizardry, the printing issue could be easily solved by putting today's complete date somewhere on the page. I can't think of a simplest solution :)

[1] http://microformats.org/wiki/hcalendar
[2] http://www.alistapart.com/stories/goingtoprint

Replies

Peter Bengtsson

That's really good! Didn't think of that. Will give it a try.