I'm still trying to solve a problem I have experienced in Safari. This is my
third post on the subject. I'm hoping someone can shed some light.
The problem is that, in Safari, a table with no specified width inside a
containing div with a specified width seems to break out of that div when
margins are applied to the table.
It seems the table's width defaults to 100% of the parent div. But when I
apply left and right margins to the table, instead of the table collapsing,
it keeps this 100% width and extends beyond the right border of the
containing div.
Neither NN7 nor IE5.1 on the Mac exhibit this behavior. In each of those
browsers, the table collapses so that it has margins on either side.
I use this method of applying margins to divs within divs or tables within
divs to avoid problems with IE/PC's box model nonsense. It's a sort of
pseudo-padding.
Can anyone help me understand why Safari behaves the way it does? It's
really driving me nuts.
One other note: It only seems to do this with TABLES within divs. Divs
within divs seem to collapse the way I want them to.
Here are some links to pages that demonstrate the problem:
http://www.fredbearcd.com/contact2.html
http://www.3chordrecords.net/merchandise.html
Thanks for any ideas you all can offer.
--Josh