W3C home > Mailing lists > Public > www-style@w3.org > October 1999

Re: Feedback requested: Replaced elements that ex...

From: Web Master <thelawnet@yahoo.com>
Date: Thu, 21 Oct 1999 10:32:02 -0700 (PDT)
Message-ID: <19991021173202.14370.rocketmail@web902.mail.yahoo.com>
To: www-style <www-style@w3.org>

I don't think I made it clear quite how important
column-span: auto is:

In a CSS environment, the width of the viewport is
unknown.

However, replaced elements have a known width.

Consider: 

<div style="columns: 4">
<img style="column-span: 2; width: auto">
</div>

Where the IMG's intrinsic width is 300 px.

If the viewport < 600px wide, the element WOULD NOT
SPAN CORRECTLY, either (depending on the final details
of the column specification) causing unsightly
overlapping or else causing the columns to be resized,
again highly unsightly.

Whereas:

<div style="columns: 4">
<img style="column-span: auto; width: auto"> <!-- Both
width: auto and column-span: auto are implied, and we
could omit them -->
</div>

This would cause the image to span as many columns as
is necessary, and the text would all flow round it
nicely :-).

> (What _will_ happen is that text in the
> next column will
> overwrite the overflowing replaced element.)

How wonderful!


=====

__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com
Received on Thursday, 21 October 1999 13:31:02 GMT

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