Pentasis wrote:
> Soon FF3 will be out. As far as I know it will support the 
> display:inline-block property.
> Opera and Safari already support it, and IE6 and IE7 support it partially 
> with a relatively simply workaround.
> So, should we abandon the "search" for the holy grail for multi-column 
> layout's and start using inline-block or do you think there are more major 
> downsides to this approach then to floating divs, huge paddings and negative 
> margins?
> I am asking because I am seriously contemplating altering my basic design 
> concept.
> 
> Bert 


I like using inline-block on my sites. It can do even multi-column 
layouts, but its strength is flowing boxes like words in lines [1, 2].

Its major downside is, you mentioned it, Firefox < 3, because the hacks 
needed involve 3 <div> wrapper, which was shown by Bruno Fassino [3]:
1. display: -moz-inline-box; display:inline-block;
2. display: table;
3. width: <value>;

The combination of display:table for conforming browsers and a variant 
of display:inline-block for IE is shown by Thierry Koblentz [4, 5], the 
downsides of both techniques cancel each other out.

There is no holy grail in CSS.

Ingo

-- 
[1] http://www.dolphinsback.com
[2] http://www.satzansatz.de
[3] http://www.brunildo.org/test/indext1.shtml
[4] http://tjkdesign.com/articles/float-less_css_layouts.asp
[5] http://tinyurl.com/5memej

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to