Philippe Wittenbergh wrote:

>>> http://web.mac.com/binain/example/tablewiderthandiv.html

>> 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.

Pity, since it might actually be useful with such a stupidity in cases
like this. I'll make a note of it.

> 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.

Looks like the resulting style should be...
.content {
        border: solid 1px #BCCF78;
        background-color: #FFFFFF;
        display: table;
        float: left;
}
...then, so we don't leave any major browser behind.

regards
        Georg
-- 
http://www.gunlaug.no

______________________________________________________________________
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