W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2006

[whatwg] Tag Soup: Blocks-in-inlines

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Thu, 26 Jan 2006 13:57:55 +1100
Message-ID: <43D83AB3.1030407@lachy.id.au>
Alexey Feldgendler wrote:
> On Thu, 26 Jan 2006 08:34:38 +0600, Lachlan Hunt 
> <lachlan.hunt at lachy.id.au> wrote:
> 
>> Semantically, it makes no sense at all to put a block level element 
>> within an inline element.
> 
> Because CSS lets you redefine what's inline and what's block by means 
> of the display property, there sometimes is sense in having block 
> elements inside inline.

Your argument is self defeating.  There is no need to put a block-level 
element inside an inline-level element, for the simple fact that CSS 
does let you style any element as 'inline' or 'block'.  If you do have a 
legitimate reason for it, please present a semantic/non-presentational 
use-case.

-- 
Lachlan Hunt
http://lachy.id.au/
Received on Wednesday, 25 January 2006 18:57:55 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:44 UTC