W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > January to March 2002

Re: FAQ - two columns using CSS

From: Charles McCathieNevile <charles@w3.org>
Date: Mon, 18 Feb 2002 05:19:51 -0500 (EST)
To: David Woolley <david@djwhome.demon.co.uk>
cc: <w3c-wai-ig@w3.org>
Message-ID: <Pine.LNX.4.30.0202180517550.10346-100000@tux.w3.org>
Yes, float implementation is poor in older CSS part-implementations. That's
why I put the main stuff first - since I think navigation stuff is as useful
at the end in general.

It is indeed very presentationalist - that's why I used a presentation
language to specify it. The underlying HTML stands fine without the
presentation (in my opinion as the author), but the presentation helps people
who use it.

Agree on the .nav thing - my test page fixed that and made the .nav class
have a width of 25%

cheers

Chaals

On Fri, 15 Feb 2002, David Woolley wrote:

  > .main { float:right ; width:75%}
  > .nav { background-color: gold }

  I'd have the following concerns about this:

  - I believe implementation of floats in browsers is weak, although
    maybe the broken ones don't recognize it in CSS at all;

  - this is very presentationalist - it is using a float for the part
    that is not logically a float - the navigation pane is closer to a
    true float;

  - as already pointed out, .nav is full width and simply overload by
    the float.  If the main text is small, the navigation bar will escape
    under its bottom.


-- 
Charles McCathieNevile    http://www.w3.org/People/Charles  phone: +61 409 134 136
W3C Web Accessibility Initiative     http://www.w3.org/WAI    fax: +1 617 258 5999
Location: 21 Mitchell street FOOTSCRAY Vic 3011, Australia
(or W3C INRIA, Route des Lucioles, BP 93, 06902 Sophia Antipolis Cedex, France)
Received on Monday, 18 February 2002 05:20:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:00 GMT