Re: Size of "inline-block" [CSS 2.1]

On Friday 2003-08-01 21:30 +0200, Roger Larsson wrote:
> How do I compute the width and height of an "inline-block" element?
> 
> I have implemented "display:inline-block" but had some problems when 
> interpreting the CSS 2.1 specification. The only information I found on the 
> subject was the following:

The current proposal is described in section 10.3.9, 10.3.5, and 10.6.3:
http://www.w3.org/TR/CSS21/visudet.html#q12
http://www.w3.org/TR/CSS21/visudet.html#shrink-to-fit-float
http://www.w3.org/TR/CSS21/visudet.html#q19
which should provide the additional information you want.

(This is part of the new material in the draft, so it one of the areas
more likely to change.  However, I hope it doesn't, since I'm one of the
advocates of the current rules in 10.3.9 and 10.3.5.)

-David

-- 
L. David Baron                                <URL: http://dbaron.org/ >

Received on Friday, 1 August 2003 16:05:50 UTC