Submit button background problem

Discussion in 'HTML & Website Design' started by 3ddd, Mar 20, 2008.

  1. #1
    hello, i have a problem with submit button.

    <input name="giris" type="submit" class="girisbuton" id="giris" value=" ">

    .girisbuton {height:20px; width:50px; background-image:url(yeniimg/giris.gif); border:none;}

    im using this code. firefox and opera looks fine but internet explorer looks like this:
    [​IMG]

    when i changed type="submit" to type="image" this time users cannot login. when trying to login return to loginpage.

    how can i fix this?
     
    3ddd, Mar 20, 2008 IP
  2. tanicos

    tanicos Banned

    Messages:
    578
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    remove the class from there and try this:
    <INPUT TYPE="image" SRC="yeniimg/giris.gif" HEIGHT="20" WIDTH="50" BORDER="0" ALT="Submit Form">
     
    tanicos, Mar 22, 2008 IP
  3. Sonikk

    Sonikk Peon

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    That looks better, try what tanicos said
     
    Sonikk, Mar 22, 2008 IP