I’ve been dealing a lot lately with TABLEs in with normal body text. Mix that up with headings where sometimes I want margins above or below, and sometimes I don’t, and other cases where I use the CAPTION as a heading and want to give it a top margin, and this just equals p***ing me off because margins on a TABLE do not [URL=”http://www.w3.org/TR/CSS21/box.html#collapsing-margins”]collapse like those of block elements
I’ve solved it by creating various CSS classes I can apply to the TABLE tag to create a top margin, bottom margin, or both. Then I looked at it in Internet Explorer and it doesn’t seem to recognize margins on CAPTION tags, so I have to use padding. 😡
Has anyone else encountered this annoyance? Has anyone solved it?