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

RE: How do I use CSS to fake a button?

From: Charles McCathieNevile <charles@w3.org>
Date: Thu, 20 Jul 2000 15:26:11 -0400 (EDT)
To: Bruce Bailey <bbailey@clark.net>
cc: huftis@bigfoot.com, w3c-wai-ig@w3.org
Message-ID: <Pine.LNX.4.20.0007201525570.10617-100000@tux.w3.org>
Sorry, can't help you in the next day or so...

Charles

On Thu, 20 Jul 2000, Bruce Bailey wrote:

  Never mind, I changed that to:
  .left { display: block; float: left ; margin: 0; padding: 0; width: 50% }
  .right { display: block; float: right ; margin: 0; padding: 0; width: 50% }
  'cause of the fat gutter in the middle...
  
  Still need looking for a substitute for "<br><br><br>".
  And a way to "soft wrap" columns.
  
  > -----Original Message-----
  > From: w3c-wai-ig-request@w3.org [mailto:w3c-wai-ig-request@w3.org]On
  > Behalf Of Bruce Bailey
  > Sent: Thursday, July 20, 2000 2:53 PM
  > To: Charles McCathieNevile; huftis@bigfoot.com
  > Cc: w3c-wai-ig@w3.org
  > Subject: RE: How do I use CSS to fake a button?
  >
  >
  > > (I take it that it worked ;-)
  >
  > Well, it worked well enough!
  >
  > I ended up using:
  >
  > .left { display: block; float: left ; width: 40% }
  > .right { display: block; float: right ; width: 40% }
  >
  > A higher value for width caused the columns to be sequential rather than
  > side-by-side.  I am using IE to prototype before moving the pages to
  > pwKiosk -- they seem to display things in a very similar fashion.
  >
  > If you (or Karl, or anyone else) are feeling very charitable,
  > please take a
  > look at the source of http://www.dors.state.md.us/mrc/programs.html and
  > http://www.dors.state.md.us/mrc/kiosk.css and tell me how I might get text
  > which follows a "button" to begin underneath it.
  >
  > <BR><BR><BR> will do it, but this is very much a kludge.
  > Besides, isn't (in
  > theory) aren't multiple breaks equivalent to one break?  The CSS
  > equivalent
  > of <BR clear=left> is too aggressive (subsequent text follows my left
  > columns stuff).
  >
  > Thanks again!
  

--
Charles McCathieNevile    mailto:charles@w3.org    phone: +61 (0) 409 134 136
W3C Web Accessibility Initiative                      http://www.w3.org/WAI
Location: I-cubed, 110 Victoria Street, Carlton VIC 3053
Postal: GPO Box 2476V, Melbourne 3001,  Australia 
Received on Thursday, 20 July 2000 15:26:17 GMT

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