W3C home > Mailing lists > Public > www-style@w3.org > December 2010

Re: display property proposal: block-inline

From: Aryeh Gregor <Simetrical+w3c@gmail.com>
Date: Wed, 8 Dec 2010 14:01:02 -0500
Message-ID: <AANLkTinaha9CX2n_us3O21CxvA9xgMcvf5=tZ6BZ=H7V@mail.gmail.com>
To: Antoine Sanchez <ckkoshi@gmail.com>
Cc: www-style@w3.org
On Wed, Dec 8, 2010 at 12:35 PM, Antoine Sanchez <ckkoshi@gmail.com> wrote:
> Assuming i have:
>
> <span style="white-space-collapsing: discard">
>
>  <span style="inline-block;width:25%;">
>    <a href="#">1</a>
>    <a href="#">2</a>
>  </span>
>  <span style="inline-block;width:75%;">
>    <a href="#">1</a>
>  </span>
>
> </span>
>
> so the links in the first span will be attached?

As far as I read the draft, it's inherited, so yes.  You'd want to do

<span style="white-space-collapsing: discard">
 <span style="inline-block;width:25%; white-space-collapsing: collapse">
   <a href="#">1</a>
   <a href="#">2</a>
 </span>
 <span style="inline-block;width:75%; white-space-collapsing: collapse">
   <a href="#">1</a>
 </span>
</span>
Received on Wednesday, 8 December 2010 19:01:58 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:35 GMT