On Wed, Apr 22, 2009 at 10:06 AM, Ian Young <i...@iyesolutions.co.uk> wrote:

> This what you are looking for?
>
> http://www.iyesolutions.co.uk/templates/css/22-04-09/


No, there's no image being used there. Right now I am doing this:

.submit {
width: 80px;
height: 30px;
background: url(../images/btn_find.png) top left no-repeat;
text-indent: -9999px;
border: 0;
cursor: pointer;
}

.submit:hover {
background-position: -80px 0;
}

I realize this won't work in IE6. I'm not sure what other browsers are
problematic with this technique. It's working fine in FF though. The only
problem with it degrading to IE6 is that the text value of the button shows
on the image. The image displays fine though.
______________________________________________________________________
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