/    Sign up×
Community /Pin to ProfileBookmark

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?

to post a comment
HTML

6 Comments(s)

Copy linkTweet thisAlerts:
@tosOct 21.2012 — <img>

<input>

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..
Copy linkTweet thisAlerts:
@theyokerOct 21.2012 — [CODE]
<html>
<header>
</header>
<body>
<img src="smiley.gif" alt="Smiley face" height="42" width="42">
<input type="submit" value="Submit">
</body>
</html>
[/CODE]


Lol, I've never seen someone with a problem like this.
Copy linkTweet thisAlerts:
@rtretheweyOct 22.2012 — 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.
Copy linkTweet thisAlerts:
@legend_12Oct 27.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

<div>

<img>

<input>

</div>
Copy linkTweet thisAlerts:
@solutionsinfiniOct 27.2012 — hi,

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

thanks

Solutions Infini
Copy linkTweet thisAlerts:
@sanjay1Oct 27.2012 — Yes i too agree question is quite unclear..
×

Success!

Help @programAngel spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.22,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...