IE ignores margin on table captions
Here’s another one for you: IE totally ignores any margin on table captions. And if you put a margin on your table, IE applies it to the table and the caption as a group, instead of only to the table. I can see how this might be an understandable way to think about captions, but it’s not what the spec says to do. So now I have to use a hack if I want to be able to specify a margin on tables with captions.
December 6th, 2004 at 7:13 pm
For most situations, I use CSS to hide my table captions, because like you said, they don’t respond well to IE.
But I always use them, because I don’t feel tables are complete (and accessible!) without captions.
December 6th, 2004 at 7:39 pm
I’ve never really used captions much before, but as I was converting DigitalAdvisor over to more semantically meaningful markup, I came across several cases where we had tables with visual titles associated with them that were pretty much captions. They don’t look too bad in IE, though I couldn’t get the width to work right.