Advice with dreamweaver html site, overlaying a form over background img

Discussion in 'HTML & Website Design' started by matthew1, Feb 9, 2011.

  1. #1
    My form is overlaying a "main content background img" the problem im getting is with the custom submit button. I set it(the forms submit button) as a background img png file which has transparencies in the corners instead of the standard gray button. for some reason when an img button is place over "or inside" of another image the transparency stops working. My question is how do i get around this? or any other suggestions u might have? View attachment 48781
     
    matthew1, Feb 9, 2011 IP
  2. jawanda

    jawanda Peon

    Messages:
    151
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Use an input type of "image" instead of a standard form button.

    <input type="image" src="buttonimage.gif" name="submit"/>

    Or, alternatively, make any image or text into a submit button using a little bit of javascript ...

    <a href="#" onClick="document.FORM NAME.submit()">Your image or text here</a>
     
    jawanda, Feb 10, 2011 IP
  3. matthew1

    matthew1 Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thank you sooooo much you are my savior!!
     
    matthew1, Feb 10, 2011 IP