Previous Message
Next Message

Moz/FF and display: inline-block

Sent by Peter-Paul Koch on 18 October 2004 17:05


> > > 4) Now for the real problem: Mozilla doesn't support display:
> > > inline-block. Instead, it supports display: -moz-inline-block. In a
> > > flash of inspiration I did:
> > >
> > > span#printtekst {
> > >    display: -moz-inline-block;
> > >    display: inline-block;
> > > }
> 
> Peter-Paul,
> 
> I just now realized that you wrote -moz-inline-block but, AFAIK the Mozilla
> proprietary property somewhat similar to inline-block (that I used in some
> test pages) is  -moz-inline-box.  Indeed using -moz-inline-box, FF seems
> more similar to Moz 1.6.

Thanks! I was sure it was -moz-inline-block, but apparently I'm wrong.
This helps a lot; and the FF bug has disappeared.

Mozilla did react to the -moz-inline-block, as my first test showed,
but when I tried to position two inline-blocks next to each other
Mozilla 1.6, too, switched to 'block'.

So -moz-inline-block is buggy, -moz-inline-box isn't (as yet).

-- 
-------------------------------------------------------------------
ppk, freelance web developer
Interactie, copywriting, JavaScript, integratie
http://www.quirksmode.org/ 
------------------------------------------------------------------
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/
Previous Message
Next Message

Message thread: