www.webdeveloper.com
Results 1 to 3 of 3

Thread: [RESOLVED] Safari renders grey border to customized image button

  1. #1
    Join Date
    Dec 2009
    Posts
    4

    resolved [RESOLVED] Safari renders grey border to customized image button

    I'm working with buttons and using customized images.

    In HTML I have something like this:
    HTML Code:
    <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?

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    Why not use a submit button?
    At least 98% of internet users' DNA is identical to that of chimpanzees

  3. #3
    Join Date
    Dec 2009
    Posts
    4
    Quote Originally Posted by Fang View Post
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles