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

May elements with display:inline contain children with display:block?

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Wed, 29 May 2002 16:54:27 +0200
Message-ID: <009c01c20720$bb40f6e0$2002a8c0@srx41p>
To: <www-style@w3.org>

I read and reread the relevant parts of
http://www.w3.org/TR/REC-CSS2/visuren.html to try and answer this question,
and couldn't find from the text any reason why not. May elements with
display:inline contain children with display:block?

Or to put it another way, if in HTML <html> and <body> were display:inline,
what would break?

Best wishes,
Steven Pemberton
Received on Wednesday, 29 May 2002 10:55:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:14 GMT