Re: another attempt at HTML/CSS buttons



On Thu, 11 May 2006 10:04:22 -0700 Tony <tony23@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
| phil-news-nospam@xxxxxxxx wrote:
|> On Wed, 10 May 2006 12:17:28 -0700 Jim Moe <jmm-list.AXSPAMGN@xxxxxxxxxxxxxx> wrote:
|>
|> | phil-news-nospam@xxxxxxxx wrote:
|> |> Here is another attempt at making some HTML/CSS (e.g. not image) buttons.
|> |> Because I've managed to avoid the things that tend to be problems, it has
|> |> mostly worked. I also went back to doing tables in HTML just for IE. So
|> |> I'd like to know if this works in IE.
|> |>
|> | No, of course not. IE only applies :hover to the <a> element.
|> | IE ignores "border-spacing" so a "cellspacing" is required on the table.
|>
|> So basically I really have to decide between going with web standards, or
|> making things work reasonably well on what is still the most common browser.
|
| "cellspacing" is standards compliant for HTML 4.01 strict:
| http://www.w3.org/TR/html4/struct/tables.html#h-11.2.1
| http://www.w3.org/TR/html4/struct/tables.html#adef-cellspacing
|
| The :hover bit is another matter - and IE blows it pretty big there.

Supposedly :hover works with <A> elements. Maybe we can play with <A>
elements with classes that select for :hover and get the effect> I'm not
doing the playing because I don't have IE handy right now.

--
-----------------------------------------------------------------------------
| Phil Howard KA9WGN | http://linuxhomepage.com/ http://ham.org/ |
| (first name) at ipal.net | http://phil.ipal.org/ http://ka9wgn.ham.org/ |
-----------------------------------------------------------------------------
.