Codie need please

Discussion in 'HTML & Website Design' started by Dee2007, Jan 4, 2009.

  1. #1
    Hi :)

    I have this code (just test code) and would like to place a product image above the button, but anything I try doesn't seem to work. Please can anyone help?

    Thanks

    Dee

    <form action="http://ww#.aitsafe.com/cf/add.cfm" method="post">
    <input name="userid" type="hidden" value="12345678" />
    <input name="product" type="hidden" value="Oceanmaster jacket">
    <input name="price" type="hidden" value="159">
    <input name="return" type="hidden" value="www.mals-e.com/support/help2.php">
    <input type="submit" value="Buy Now!">
    </form>
     
    Dee2007, Jan 4, 2009 IP
  2. Kerosene

    Kerosene Alpha & Omega™ Staff

    Messages:
    11,366
    Likes Received:
    575
    Best Answers:
    4
    Trophy Points:
    385
    #2
    What's wrong with:

    <img src="image.jpg" />
    <form action="http://ww#.aitsafe.com/cf/add.cfm" method="post">
    <input name="userid" type="hidden" value="12345678" />
    <input name="product" type="hidden" value="Oceanmaster jacket">
    <input name="price" type="hidden" value="159">
    <input name="return" type="hidden" value="www.mals-e.com/support/help2.php">
    <input type="submit" value="Buy Now!">
    </form>
    Code (markup):
     
    Kerosene, Jan 5, 2009 IP
  3. Lord

    Lord Active Member

    Messages:
    134
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #3
    above the button :)

    so that <img src="image.jpg" /> should be before <input type="submit" value="Buy Now!"> and with a <br /> after

    also, i can see that you have a "#" in the action part of the form so that could be the problem too
     
    Lord, Jan 5, 2009 IP
  4. ExtremeData

    ExtremeData Well-Known Member

    Messages:
    450
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    125
    #4
    Use this code :
    
    <form action="http://www.aitsafe.com/cf/add.cfm" method="post">
    <input name="userid" type="hidden" value="12345678" />
    <input name="product" type="hidden" value="Oceanmaster jacket">
    <input name="price" type="hidden" value="159">
    <input name="return" type="hidden" value="www.mals-e.com/support/help2.php">
    <br /><img src="image.jpg" alt="Image" /><br />
    <input type="submit" value="Buy Now!">
    </form>
    
    Code (markup):
     
    ExtremeData, Jan 5, 2009 IP