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: Bruce Bailey <bbailey@clark.net>
Date: Thu, 20 Jul 2000 15:07:24 -0400
To: "Charles McCathieNevile" <charles@w3.org>, <huftis@bigfoot.com>
Cc: <w3c-wai-ig@w3.org>
Message-ID: <000f01bff27d$bd897800$53fe330a@msde>
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!
Received on Thursday, 20 July 2000 15:08:37 GMT

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