W3C home > Mailing lists > Public > www-style@w3.org > August 2002

inline-block in CSS 2.1 (was: New drafts, CSS 2.1, ...)

From: Rijk van Geijtenbeek <rijk@iname.com>
Date: Tue, 6 Aug 2002 17:08:10 +0200
Message-ID: <15221936888.20020806170810@iname.com>
To: www-style@w3.org

> CSS 2.1
>     CSS level 2 revision 1
>     http://www.w3.org/TR/2002/WD-CSS21-20020802/


> css3-ui
>     CSS3 module: Basic User Interface
>     http://www.w3.org/TR/2002/WD-css3-ui-20020802

<quote from CSS3-UI>

Note. It is expected that CSS2.1 will add the 'inline-block' value to
the 'display' property. At that point, this draft can simply refer to
CSS2.1 and omit the definition of 'inline-block'


I checked out 'inline-block' in the CSS2.1 WD. This seems an major
(and useful) addition to me. Is this actually supported yet?

When using such an inline-block, I'd expect to be able to use the
style property 'verticl-align' on it. The definition of
'vertical-align' says:

Applies to:
inline-level and 'table-cell' elements

There's no easy way to find out what constitutes 'inline-level
elements'. I found this:


<quote from CSS 2.1>

Inline-level elements are those elements of the source document that
do not form new blocks of content; the content is distributed in lines
(e.g., emphasized pieces of text within a paragraph, inline images,
etc.). Several values of the 'display' property make an element
inline: 'inline', 'inline-table', and 'run-in' (part of the time; see
run-in boxes). Inline-level elements generate inline boxes.


inline-block should be added to the last sentence, but the description
of 'do not form new blocks' seems silly for 'inline-block' and

 Rijk                            mailto:rijk@iname.com

Mot du Jour:
A chicken is an egg's way of producing more eggs.
Received on Tuesday, 6 August 2002 11:06:28 UTC

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