W3C home > Mailing lists > Public > www-style@w3.org > April 2004

Re: Controling structure with CSS

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 19 Apr 2004 15:07:41 +0000 (UTC)
To: Adam Kuehn <akuehn@nc.rr.com>
Cc: Tantek Çelik <tantek@cs.stanford.edu>, David Woolley <david@djwhome.demon.co.uk>, www-style@w3.org
Message-ID: <Pine.LNX.4.58.0404191457280.13831@dhalsim.dreamhost.com>

On Mon, 19 Apr 2004, Adam Kuehn wrote:
>
> As I said, my own opinion is that I don't think that rendering order
> is purely a matter of presentation.  The Declaration of Independence
> (to choose a random historical document) does not make any sense when
> read in random order.

I completely agree that there are cases where it wouldn't make much sense
to reorder the presentation.

But look at CNN:

   http://www.cnn.com/

Today there is a Google search box at the bottom of the left column. Above
it is a "services" box with four links.

Whether the Google search box comes before or after the Services box is
completely a stylistic matter.


Another example in the same page: at the bottom today, there are three
boxes under a section titled "From our Partners". They each give a partner
name, followed by some headlines from that news source, followed by a link
to allow subscribing to that news source. The structure could be something
like:

   <section>
    <h>Partners</h>
    <dl>
     <dt>Time</dt>
     <dd>
      <ul>
       <li><a href="...">...</a></li>
       ...
      </ul>
      <p><a href="...">Subscribe to Time</a></li>
     </dd>
     ...
    </dl>
   </section>

Now imagine that the desired rendering has the three partner boxes
together, but the subscribe links put in a block on the far right.

How would you do it without moving things out of the structure of the
document during presentation?

-- 
Ian Hickson                                      )\._.,--....,'``.    fL
U+1047E                                         /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 19 April 2004 11:08:13 GMT

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