Sent by Philippe Wittenbergh on 27 April 2007 05:05
On Apr 27, 2007, at 12:20 PM, Mark Kamian wrote:
> About your response:
> 1. How did you determine that?
> 2. Can you think of a logical reason why Safari comes up with that
A humble screen ruler.
(Actually, with a little help: Firefox' DomInspector, and then with
the WebInspector that comes with nightly WebKit builds.)
Tables, and by extension 'display:table', are complicated elements.
Referring to the width of a table:
Under 17.6.1 The separated borders model, we can find this sentence :
'However, in HTML and XHTML1, the width of the <table> element is the
distance from the left border edge to the right border edge.'
However, the issue is more complicated, as the border on <table>, and
again 'display:table' should in fact be painted half outside, half
inside the table. Safari doesn't do this, it paints the borders fully
inside of the table.
IE win has no problems with your file, as it doesn't support
Firefox puts the borders correctly. But it also expands the div to
account for the 2 floated columns (generation of table-cells, see
Unless you know very well what you do, I'd say, stay away from
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/