- From: fantasai <fantasai.lists@inkedblade.net>
- Date: Thu, 04 Oct 2012 10:20:33 -0700
- To: "www-style@w3.org" <www-style@w3.org>
So, we don't really define how border-spacing affects the percentage-sized table cells in a fixed-size table. Apparently it's subtracted out of the available space for both width (and height) in FF and Opera, but only for width in WebKit. Don't know about IE. http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Cdiv%20style%3D%22border%3A%20solid%20orange%3B%20width%3A%20200px%3B%22%3E%0A%3Ctable%20style%3D%22border%3A%20solid%20blue%3B%20width%3A%20200px%3B%20border-spacing%3A%2033.3px%3B%22%3E%0A%3Ctd%20style%3D%22border%3A%20solid%20navy%3B%20width%3A%2050%25%22%3E%0A%3C%2Ftd%3E%0A%3Ctd%20style%3D%22border%3A%20solid%20fuchsia%3B%22%0A%3C%2Ftable%3E%0A%3C%2Fdiv%3E Probably this should be defined and tested somewhere. :) CSS2.1 doesn't define height calculations for cells, but it does define widths. ~fantasai
Received on Thursday, 4 October 2012 17:21:03 UTC