[WSG] moz-inline-box or block

2006-11-23 Thread Keryx webb

Hello!

I want to use inline-block on a design, but since it's not supported by FFox I 
wonder what the best solution would be.


Alt. 1:

elem {
display: -moz-inline-block;
display: inline-block; /* some say this one is really buggy */
}

Alt. 2:

elem {
display: -moz-inline-block;
display: inline-box; /* not intended for (X)HTML, but XUL */
}

Alt. 3:

elem {
display: table-cell; /* Could give me the desired effect */
display: inline-block;
}

Any thoughts?


Lars Gunther


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] moz-inline-box or block

2006-11-23 Thread Philippe Wittenbergh


On Nov 23, 2006, at 7:13 PM, Keryx webb wrote:


Alt. 1:

elem {
display: -moz-inline-block;
display: inline-block; /* some say this one is really buggy */
}

Alt. 2:

elem {
display: -moz-inline-block;
display: inline-box; /* not intended for (X)HTML, but XUL */
}

Alt. 3:

elem {
display: table-cell; /* Could give me the desired effect */
display: inline-block;
}


Option 1 is *really* buggy on Gecko 1.7 and Gecko 1.8.x (Fx 1.0 to 2.0)
For option 2 I guess you mean

elem {
display: -moz-inline-box;
display: inline-block; /* not intended for (X)HTML, but XUL */
}
Indeed not intended for X)HTML, no guarantees it will be supported  
(in HTML) in the future. Some people @mozilla would like to remove  
it, except for form controls.


Option 3 will give you the best results.


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





***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***