Results 1 to 7 of 7

Thread: image above input tag

  1. #1
    Join Date
    Feb 2011

    image above input tag

    Hi, I would like to create an image that will be seen above an input tag.
    I mean that I put an input tag in the dom, immediately after I put an img tag, and I want to move the position of the image to the position of the input tag so that people will see the image above the input tag.

    How can I do that so people will still see the image?

  2. #2
    Join Date
    Oct 2012

    Like that? why can't you simply put your img tag, then your input tag.. I don't get what you're trying to do because it seems so obvious..

  3. #3
    Join Date
    Oct 2012
    <img src="smiley.gif" alt="Smiley face" height="42" width="42">
    <input type="submit" value="Submit">
    Lol, I've never seen someone with a problem like this.

  4. #4
    Join Date
    Mar 2011
    I agree that the original message was unclear, but I suspect programAngel actually meant "in front of" instead of vertically above the Submit button. I was going to suggest a z-index solution, along with a request for clarification - including why he wanted to do it.
    Rick Trethewey
    Rainbo Design

  5. #5
    Join Date
    Apr 2012
    ya the question is unclear regarding the problem and requirement. My suggestion is to keep the <img> tag and <input> tag in ont <div> tag. So the image will shown consistently with input like

  6. #6
    i have one queries that how to redirect to another link when i will click the submit button

    Solutions Infini

  7. #7
    Join Date
    Oct 2012
    Yes i too agree question is quite unclear..

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