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

RE: CSS positioning aint good enough?

From: Charles McCathieNevile <charles@w3.org>
Date: Fri, 26 Apr 2002 04:03:18 -0400 (EDT)
To: "Scarlett Julian (ED)" <Julian.Scarlett@sheffield.gov.uk>
cc: <w3c-wai-ig@w3.org>
Message-ID: <Pine.LNX.4.30.0204260359430.29422-100000@tux.w3.org>
Actually there are forms that are tabular in nature. An example would be the
kind of things that gets filled out in assessments of classes, seminars,
hotels, etc:

There are a number of categories, and for each category there are a number of
options - very good, good, fairly good, good enough. A typical way of laying
this out is a table, with the rating options as column headers, the
categories as row headers, and a set of radio buttons all set to very good by



On Fri, 26 Apr 2002, Scarlett Julian (ED) wrote:

  Is there any reason why you need to lay out in a column style? Why not put
  the label above the input field eg

  <label for="blah">Blah</label><br>
  <input etc........>

  I have tried to look at Randal's link but our lovely corporate firewall
  obviously thinks it'll threaten the existance of the world if I visit the
  site - can anyone point me to another similar example?

  re Nick's view that forms are tabular data. I'd be interested in his (or
  anyone else's) argument for this. IMHO forms are not tabular data; never
  have been and never will be. How many tabular forms have a header row? What
  would the headings be? Since when has a text area or a checkbox or a radio
  button been a piece of data?

  My solution if a columnar layout is required would be to assign classes to
  the labels and inputs and float the labels left and apply a margin to the
  inputs. Any reason why this won't work?


  > -----Original Message-----
  > From: SHARPE, Ian [mailto:Ian.SHARPE@cambridge.sema.slb.com]
  > Sent: Thursday, April 25, 2002 10:32 AM
  > To: w3c-wai-ig@w3.org
  > Subject: CSS positioning aint good enough?
  > Hi All,
  > I've been looking at using CSS rather than tables for page
  > layout. I can't
  > see any particularly straight forward way that it can be used
  > to position
  > labels and fields as would be acheived using the two column table with
  > horizontal and vertical alignment? I just can't see how CSS
  > positioning can
  > be used to produce this sort of effect and provide support
  > for large font
  > sizes for example?
  > Cheers
  > Ian
  > ______________________________________________________________
  > _____________
  > This email is confidential and intended solely for the use of the
  > individual to whom it is addressed. Any views or opinions
  > presented are
  > solely those of the author and do not necessarily represent those of
  > SchlumbergerSema.
  > If you are not the intended recipient, be advised that you
  > have received this
  > email in error and that any use, dissemination, forwarding,
  > printing, or
  > copying of this email is strictly prohibited.
  > If you have received this email in error please notify the
  > SchlumbergerSema Helpdesk by telephone on +44 (0) 121 627 5600.
  > ______________________________________________________________
  > _____________
  The information in this email is confidential. The contents may not be disclosed or used by anyone other than the addressee.  If you are not the addressee, please tell us by using the reply facility in your email software as soon as possible. Sheffield City Council cannot accept any responsibility for the accuracy or completeness of this message as it has been transmitted over a public network.  If you suspect that the message may have been intercepted or amended please tell us as soon as possible.

Charles McCathieNevile    http://www.w3.org/People/Charles  phone: +61 409 134 136
W3C Web Accessibility Initiative     http://www.w3.org/WAI  fax: +33 4 92 38 78 22
Location: 21 Mitchell street FOOTSCRAY Vic 3011, Australia
(or W3C INRIA, Route des Lucioles, BP 93, 06902 Sophia Antipolis Cedex, France)
Received on Friday, 26 April 2002 04:03:20 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 13 October 2015 16:21:18 UTC