W3C home > Mailing lists > Public > www-style@w3.org > November 2004

Re: inline-block positioning

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Thu, 4 Nov 2004 18:10:59 -0800
Message-ID: <003b01c4c2dc$b1d22730$a202000a@ANDREWF>
To: "Boris Zbarsky" <bzbarsky@MIT.EDU>
Cc: <www-style@w3.org>

Thanks a lot, Boris.

IE does support inline-block but only for "naturally" inline elements like
span, strong, em, etc. It shows completely different picture for 
Opera also interprets inline-blocks. But (my guess) it has vertical 
alignment problems.

Here are screenshots:

Question still remains: what is better?

Andrew Fedoniouk.

| Andrew Fedoniouk wrote:
| > It seems that I am not alone as
| > IE (6.0), Gecko (Firefox 1.0pr) and Opera(7.54) show (on Windows) 
| > different layout on this simple test:
| > http://www.terrainformatica.com/w3/inline-block.htm
| Gecko has no inline-block support.  Last I checked, neither does IE/Win 
| What you're seeing in IE is that it applies the "width" property to 
| with display: inline.
| To test this properly, you should set "display: inline-block" on both 
| that have "display: inline" in the UA stylesheet and those that have 
| block" and verify that the renderings are the same.  If they're not, the 
UA is
| not actually parsing the declaration in question.
| -Boris
Received on Friday, 5 November 2004 02:11:33 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:16 UTC