Hello,

It's been quite some time since I styled a form, and I'm not up on the
latest techniques. We want to use images for our submit buttons, and have
them be rollovers. I'd like to avoid using javascript if possible, and have
them degrade gracefully to HTML buttons. Is there a preferred method for
this?

I'm currently using A tags styled with background images for our normal
navigational buttons like so:

a.gonow {
    display: block;
    width: 98px;
    height: 33px;
    background: url(../images/btn_gonow.png) no-repeat 0 0;
    margin: 6px 0 0 116px;
}

a:hover.gonow {
    background-position: -98px 0;
}

-- 
Marooned - A Space Opera in the Wrong Key!
http://www.maroonedcomic.com
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to