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

> 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'

</quote>

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:

http://www.w3.org/TR/2002/WD-CSS21-20020802/visuren.html#q7


<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.

</quote>

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



Greetings,
 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