Image with textbox embedded inside

  • Thread starter Thread starter thewhoracle
  • Start date Start date
T

thewhoracle

I know I can make an Image with a textbox inside by hacking the image
into smaller pieces and placing them around the text box, but is there
a way to just embed the textbox in the image?
Relatively new to ASP.net with VB, so any pointers in the right
direction on this one would be great. Thanks!
 
thewhoracle said:
I know I can make an Image with a textbox inside by hacking the image
into smaller pieces and placing them around the text box, but is
there a way to just embed the textbox in the image?
Relatively new to ASP.net with VB, so any pointers in the right
direction on this one would be great. Thanks!

You can use css:
<html>
<body>
<img src="xxx.jpg" style="position:absolute;top:20px;left:20px;width:300px;"
/>
<input type="text" style="position:absolute;top:150px;left:30px;" name="yy"
/>
</body>
</html>
 
thewhoracle said:
I know I can make an Image with a textbox inside by hacking the image
into smaller pieces and placing them around the text box, but is there
a way to just embed the textbox in the image?
Relatively new to ASP.net with VB, so any pointers in the right
direction on this one would be great. Thanks!

Perhaps look at a CSS approach with layers... simply layer the textbox
on top of the image.
Or, use the image as a background-image in a TD tag or such?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top