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

Re: CSS3 and better support for table free designs

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Sat, 26 Jun 2004 09:50:13 -0700
Message-ID: <002801c45b9d$ad655970$0201a8c0@ATHLON>
To: "Justin Wood" <jw6057@bacon.qcc.mass.edu>, "W3C Style List" <www-style@w3.org>

1) As far as I understand David wants "flexible" layouts. Yours is not
flexible.
2) "Float" designed for placing some blocks "inside" the text wrapping them.
   To use them for such layout purposes - to make the same mistake as for
using tables for that.

Again in pure CSS1/2.1 there is no way currently to make a layout like this:
  |<--fixed-->|<--flexible-->|<--fixed-->|
(except of using hacks(e.g. struts) in tables)

Andrew Fedoniouk.
http://terrainformatica.com


> Justin Wood:
> Sorry Andrew, but I think he was looking for a full compliant.
>
> from memory only, and not trying:
>
> enclose all main content in <div id="main_body">  (for my example)
> left-sidebar <div id="left_sidebar">  and right sidebar <div
> id="right_sidebar">
>
> now these would be all at the same *scope* as far as child/parent nodes
> are concerned.
>
> #main_body {
>     //nearly any style
> }
>
> #left_sidebar {
>     float: left;
>     width: //reasonable
> }
>
> #right_sidebar {
>     float: right;
>     width: //reasonable
> }
>
> something like that should work, as long as all three are on the same
> scope, (if my tired mind still working right now) then they will float
> at the top of content in all cases.   only warning is that they will
> cause content reflow, and a UA which does progressive rendering of the
> page (most if not all) and has some trouble when a reflow is caused
> without Scripting code, this may be a slight issue for them.
>
Received on Saturday, 26 June 2004 12:50:56 GMT

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