On 18 Dec 2005, at 12:33 pm, Michael Hulse wrote:

> .nav {
>       display: -moz-inline-box; /* Fixes Firefox */
>       display: inline-block;
> }
>
> Any probs with -moz-inline-box in the PC world?

I wouldn't use the -moz-inline-box, except may be in very controlled  
environment.
I've seen too many odd things with it. Collapsing boxes, unexpected  
jumps in liquid layouts,...
That property was never intended to be used in html docs, only in  
XUL, coupled to xbl bindings.

And other browsers aren't too stable with display: inline-block;  
(Opera, IE Mac), or have very poor support (IE win). Safari 1.2+ does  
rather well.

Without knowing what you're trying to do, have you tried with display/ 
table+display:table-cell?

Here is a little experiment I did with various display types for a  
'navbar' kind of things:
<http://dev.l-c-n.com/inline-block/inline-list.php>

Note 1 - the one with -moz-inline-box vanishes completely into thin  
air on the most recent Firefox trunk builds.

Note 2 - it is possible to make them all work in IE win, the code is  
kind of there in a cc, but not well implemented. The file is a dump  
from various other test files, and I haven't checked IE. Me  being lazy.
It happens to work well in IE Mac ;-).


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


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

Reply via email to