No margins on table

Atom RSS

This site heavily relies on bug reports created by its readers. Anyone can report a bug and be published.

Main navigation:




Search reports by browser:

Explorer 6 Windows ignores all margins on a table. 5.0 and 5.5 ignore top and bottom margins.

Test page. Workaround is not included.
Reported by ppk.

Explorer 5-6 Windows, Explorer 7 beta 2 | Reported on 18 February 2005.

Comments

(Add your own)

Posted by Vesa Piittinen on 18 February 2005

1

In addition to this, Internet Explorer 6 ignores all paddings as well.

Posted by Tino Zijdel on 20 February 2005

2

Padding on the table-element doesn't make sense; you should apply them to the td/th-elements.

Anyway, it is well-known that IE has not correctely implemented the table-layout model (lacking display:table-xxx, not implemented border-spacing and empty-cells).

I could get IE to render the margin though by giving the container a small height or width; looks like another hasLayout bug.

Post a comment

Commenting guidelines:

  1. When quoting specs, articles or your own research, please include a URL of the document.
  2. Test your stuff. When reporting browser behaviour, make sure that your report is correct.

Yes