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 11:38:19 -0400 (EDT)
To: Bruce Bailey <bbailey@clark.net>
cc: w3c-wai-ig@w3.org
Message-ID: <Pine.LNX.4.20.0007201135330.7512-100000@tux.w3.org>
Well, if you have a CSS-compliant browser then it is easy. But nobody does
:-(

So if you have one that supports floats, you can do the following. Split your
text into two <div>s

For the first one, make it class="left" (for example) and then use

 .left { float: left ; width: 50% }

This works on a collection of Netscape and IE versions, as well as some other
browsers, but notable new exception is Mac IE 5 (they must have changed the
code - floats did work in earlier versions) and something else taht I don't
recall right now...

Charles McCN

On Thu, 20 Jul 2000, Bruce Bailey wrote:

  I owe a great deal of thanks to Karl Hufthammer.  My pwKiosk pages are
  coming together, but I am just about out of time on a very hard deadline.
  Apologies for abusing the list this way, but:
  
  How do I use CSS to put running text into two columns (newspaper style).  I
  could just use a table with two cells, but StyleSheets have done everything
  else I wanted so far...
  
  I believe this question was answered before, but I can't find it.
  
  BTW, the site in question (not much there really, but its a start) is at
  URL:
  http://www.dors.state.md.us/mrc/
  Links of class "ez_menu" are incorporated into the "EZ Access" switch
  scanning.
  Anything of class "ez_text" is spoken.
  --
  Cheers,
  Bruce
  
  

--
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 11:38:20 GMT

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