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

RE: a valid css fix for center and right aligned labels in netscape 6.0, 6.1?

From: Charles McCathieNevile <charles@w3.org>
Date: Tue, 2 Jul 2002 18:44:10 -0400 (EDT)
To: Andrew Johns <andrew.johns@jkd.co.uk>
cc: <w3c-wai-ig@w3.org>
Message-ID: <Pine.LNX.4.30.0207021842400.20349-100000@tux.w3.org>

In Lynx 2.8.3 running on Unix, and in iCab 2.8.1 and Mozilla 0.9.7 (both
running on Mac OS X.1.5) all labels appear on the same line as the control,
immediately before the control itself.

cheers

Charles McCN

On Tue, 2 Jul 2002, Andrew Johns wrote:


  > Good Afternoon,
  >
  > I had previously posted to this list regarding an issue with labels in netscape 6.0 and netscape 6.1.  After a bit of thought I come up with a workaround.
  >
  > I would appreciate it if anyone can verify that this works in other browsers apart from ones I've tested:
  >
  > Before:
  >
  > works: Win/IE6, Win/NN6.2, Win/NN4.72, Win/Opera 6, Win/Opera 5, Win/Lynx, Win/Mozilla 1.0
  > doesn't work: Win/NN6.0 (Aligns to the right) and Win/NN6.1 (Aligned correctly, but doesn't render)
  > not tested: the mac platform, Win/IE5, Win/IE5.5, Win/IE4.0
  >
  > After:
  >
  > works: Win/NN6.x, Win/IE6, Win/Opera 6.01, Win/Lynx, Win/Mozilla 1.0
  > doesn't work: now aligns the label to the far left (see the screenshot page below), but this seems more acceptable, as I've trying to make my code work in more standards compliant browsers, so NN6+ is more important to me that NN4.x
  >
  > not tested: The mac platform, Win/IE5, Win/IE5.5, Win/IE4.0
  >
  > www.makesomenoise.co.uk/labeltest.htm <--- the code
  > www.makesomenoise.co.uk/screenshots.htm <-- screenshots from various browsers
  >
  >
  >
  > Regards,
  >
  > Andy
  >
  >
  > ---
  > Andrew Johns
  > Developer
  > JKD
  > Westminster Business Square
  > 1-45 Durham Street
  > London
  > SE11 5JH
  > Tel:  020 7793 9399
  > Fax: 020 7793 9299
  > URL:  www.jkd.co.uk
  > ---
  >
  >
  > James Kelsey Design Ltd (JKD) or The Incepta Group plc and its subsidiary companies may not be held responsible for the content of this email as it may reflect the personal view of the sender and not that of the company. JKD run anti virus software on all servers and all workstations, they can not be held responsible for any infected files that you may receive. JKD advises all recipients to virus scan any file attachments.
  >
  >


-- 
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 Tuesday, 2 July 2002 18:44:11 GMT

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