Kay Smoljak wrote:
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,
Yes, that's good markup. Depending on your needs, you may also want to take a look at the hCalendar microformat [1].
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!
That seems like a bug in Firefox. Can you provide a *simple* test case and *clear* step-by-step instructions explaining how to replicate it? Make sure the test case only contains the minimum amount of code required to replicate the bug and no more. (Creating a minimal test case may even help you find the bug on your own)
Is the <caption> element used by screenreaders, or is the summary attribute of the table element better supported?
AFAIK, both are well supported. [1] http://microformats.org/wiki/hcalendar -- Lachlan Hunt http://lachy.id.au/ ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *******************************************************************
