Sent by Asle Ommundsen on 28 April 2006 13:01
* Gunlaug Sørtun:
>> Asle Ommundsen:
>> <p>Hjelp til å bygge den største katalogen på nettet redigert av
>> mennesker.</p>
> (Noen setter seg høye mål... :-) )
Hehe. Det er ikke mine personlige mål, det er dmoz.org sine mål. ;-)
>> Asle Ommundsen:
>> [..] Is it possible to make the width relative to the content of the
>> div so I don't have to specify any width any more? That is what I
>> want to do.
> The proper way to do it is to make that div imitate a table. That's not
> a problem in standard-compliant browsers, by adding...
>
> div.attribution {width: auto; display: table;}
Thank you! I have just finished testing it, and it works very well.
> However, IE/win doesn't understand 'display: table', so a width is
> needed for that browser, like the one you have...
That's not a problem, I have a hack that work for both IE6 and IE7.
It will take some time before we update the website, but I can post a link
here when it is done.
Thanks!
--
Asle Ommundsen
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- 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/