Sunday, August 2, 2009

How do I put a text area on a picture in HTML?

I have this html text area and I have a picture from a website url. I have the picture set perfectly, but the text area always ends up next to it or underneath it. It's already transparent, so I wanted to have it on the picture. Is there any way to make them overlap?

How do I put a text area on a picture in HTML?
maybe you're searching for this





%26lt;textarea rows="16" cols="57" style="background-image: url('mypicture.jpg')"%26gt;%26lt;/textarea%26gt;
Reply:Yes, set the picture as a background with CSS, and then set your textarea in the same div or table.





the CSS


#pic {


bacground: url(the link here to your pic);


}





the HTML





%26lt;div id="pic"%26gt;


%26lt;textarea name="name"%26gt;%26lt;/textarea%26gt;


%26lt;/div%26gt;








Thanks,


Greg Winn


www.winn.ws
Reply:You can't use HTML to make text overlap a picture unless the picture is your background.
Reply:i would use paint edit the pic insert the text where u want in paint resave it and load the saved 1 up in html placed perfect on the pic :D


No comments:

Post a Comment