1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Pulling my F'N hair out. Submit Button not looking right

Discussion in 'BlackHat Lounge' started by xplicit, Nov 8, 2009.

  1. xplicit

    xplicit BANNED BANNED

    Joined:
    Jul 21, 2008
    Messages:
    1,119
    Likes Received:
    1,053
    Ok, all. I have been trying to figure this out forever and cannot get it. I know its something so small, but over looking it somwhere.

    You can see what I mean by going here

    Code:
    http://hostwp.com/247/index.php
    You can see the submit button has a line around it and is very small. I cannot figure this out, like I said I know it is something small that I am overlooking but I cant find it.

    Heres the coded I am using

    Code:
     <td colspan="2" ><label>
                      <input name="submit" type="image" id="submit" value="Submit" src="images/orderbutt.png" length="200" img source="images/orderbutt.gif" />
                    </label></td>
    Can someone help me on this before I throw this damn computer out the window.

    Thanks to those who help and save a poor laptop from getting its frequent flyer miles today.
     
  2. MuonTrail

    MuonTrail Registered Member

    Joined:
    Mar 5, 2009
    Messages:
    96
    Likes Received:
    93
    I think I got it. Your submit button is getting its padding set from ".formfields_2 select, .formfields_2 input", which makes it look like there's a border.

    That one stumped me for a while though... but I think that's the problem. :)
     
    • Thanks Thanks x 1
  3. zyddee

    zyddee Newbie

    Joined:
    Sep 2, 2009
    Messages:
    3
    Likes Received:
    1
    its the background color of .formfields_2 select, .formfields_2 input
    in combination with the padding that makes it look like theres a border.
    try to remove the padding or setting the background to transparent and that ill think should solve the problem for u :)
     
    • Thanks Thanks x 1
  4. xplicit

    xplicit BANNED BANNED

    Joined:
    Jul 21, 2008
    Messages:
    1,119
    Likes Received:
    1,053
    That did it. Still not the size I wanted or the position, But I can work on that.

    Very much appreciated
     
  5. zyddee

    zyddee Newbie

    Joined:
    Sep 2, 2009
    Messages:
    3
    Likes Received:
    1
    the size of the button can be solved by using, style="width: 300px;" or something on the button object