Welcome visitor
* Login
* Register
It is currently March 21st, 2019, 11:50 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 4 posts ] 
Author Message
  Image in a textarea - Question
PostPosted: September 1st, 2009, 7:54 am 
User avatar

Posts: 14
Hi, i dont know if this is even possible, that's why im askin.

Is there a way to add an image to a textarea?

Thanks for bearing with me once again.

_________________
Blues is easy to play, but hard to feel.


Top
 Profile  
 
  Re: Image in a textarea - Question
PostPosted: September 1st, 2009, 8:00 am 

Posts: 56
what do you mean? do you want the user to upload an image?
<input type="file" />

or as a background?
<textarea style="background-image: url('file.ext')" />


Top
 Profile  
 
  Re: Image in a textarea - Question
PostPosted: September 1st, 2009, 8:06 am 
User avatar

Posts: 14
thanks for your help and swift answer, but what i want to do is to add an image to the textarea according to selections made by the user, it would be like a dynamic div so to speak.

_________________
Blues is easy to play, but hard to feel.


Top
 Profile  
 
  Re: Image in a textarea - Question
PostPosted: September 1st, 2009, 8:34 am 
User avatar

Posts: 61
Why dont you create a real div with an <img> and <textarea>? And use CSS to make it look like a usual textarea.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron