[whatwg] Tag Soup: Blocks-in-inlines

Lachlan Hunt lachlan.hunt at lachy.id.au
Wed Jan 25 18:57:55 PST 2006


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/




More information about the whatwg mailing list