On Dec 12, 2006, at 12:28 PM, Gunlaug Sørtun wrote:

>> Updated version posted at a better URL - any suggestions why this
>> otherwise ideal fix doesn't work in IE7?
>> http://web.mac.com/binain/example/tablewiderthandiv.html
>
> I have no IE7 to test in, but your styling is incomplete.
>
> 1: IE 6 & 7 doesn't understand 'display: table;'. That property is for
> the good browsers, like Firefox, Opera, Safari etc.
>
> 2: IE7 may need the property you left out: 'zoom: 1;', in order to  
> gain
> 'Layout'[1] and expand properly.

Eh ? No. 'haslayout' does a couple of stupid things, but not that one.
IE 7 handles 'width' and 'width:auto' reasonably correctly, and  
doesn't expand the element to accommodate the table

Using 'float:left' width *no width* declared does the trick for IE 7.

Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com>




______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
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/

Reply via email to