I need to markup a little calendar grid widget. I'm using a table with the weekday names (M,T,W,T,F,S,S) in <th> elements, and individual dates in <td>'s. I thought that the <caption> element would be good for the month name (eg October 2006) as it is both semantic and visible, but I'm having some trouble styling them in Firefox - specifically, the font size is ok when I first refresh the page, but if I change focus to another window and then back again, it resets to default size, and neither margins nor padding seem to have any effect. The styling works fine in IE for a change!
Does anyone know, is there an established best practise for marking up calendars? Is the <caption> element used by screenreaders, or is the summary attribute of the table element better supported?
Cheers!
K.
--
Kay Smoljak
kay.zombiecoder.com
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************
- [WSG] best markup for a calendar? Kay Smoljak
- Re: [WSG] best markup for a calendar? Rahul Gonsalves
- Re: [WSG] best markup for a calendar? Lachlan Hunt
- Re: [WSG] best markup for a calendar? Kay Smoljak
- Re: [WSG] best markup for a calendar? Kay Smoljak
- Re: [WSG] best markup for a calendar? Gary Barber
