W3C home > Mailing lists > Public > public-evangelist@w3.org > August 2011

Re: Links article updated

From: Chris Mills <cmills@opera.com>
Date: Wed, 17 Aug 2011 16:25:57 +0100
Cc: "'public-evangelist@w3.org' w3. org" <public-evangelist@w3.org>
Message-Id: <661F7121-02FE-449F-9A8D-129C276C5D57@opera.com>
To: Jeremie Patonnier <jeremie.patonnier@gmail.com>

On 17 Aug 2011, at 15:34, Jeremie Patonnier wrote:

> Hello
> 2011/8/17 Chris Mills <cmills@opera.com>
> browsers seem to do odd things when you put links around block level content. Anyone else experienced this?
> I have not tested all browsers, but odd things happen every time you put a block level content inside an inline level content. The best approche to fixe almost all odd behavior consist in manually adding a CSS "display:inline-block" or "display:block" upon the inline parent.

ah! Schoolboy error! This is what I was missing ;-)

I have added a section to the article now:


> I'm not an HTML5 expert but I guess that it should be some automatic mechanism to deal with that issue in the spec : http://dev.w3.org/html5/spec/Overview.html#the-a-element 
> Let's quote : "Flow content. When the element only contains phrasing content: phrasing content."
> For what I know very few browser deal smoothly with this behavior.
> Cheers
> -- 
> Jeremie
> .............................
> Web : http://jeremie.patonnier.net
> Twitter : @JeremiePat
Received on Wednesday, 17 August 2011 15:26:30 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:16:20 UTC