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, 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.


CSS-D covered this a while ago,

http://archivist.incutio.com/viewlist/css-discuss/78694

I'm sure between one of these threads, you'll find something useful. Personally, I like this one:
http://www.simpledesign.org/calendar/cal2.html

Regards,
 - Rahul.


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to