Click to See Complete Forum and Search --> : [RESOLVED] Safari renders grey border to customized image button


indigobreath
12-31-2009, 04:40 PM
I'm working with buttons and using customized images.

In HTML I have something like this:
<input type="image" class="buttonlogin" name="Submit" value="&nbsp;" />

and in CSS I'm setting the customized background-image for .buttonlogin. The problem is that Safari makes a light grey border around the image button which looks kind of ugly. Firefox renders it as it should be, that is without any silly border. Any idea what would solve my problem?

Fang
01-01-2010, 07:05 AM
Why not use a submit button?

indigobreath
01-01-2010, 08:23 AM
Why not use a submit button?

Thanks! Setting type=submit" for a button and "cursor: pointer" for .buttonlogin seems to make it work with both FF and Safari the way I was looking for. :)