Forums
This topic is locked
text areas
Posted 21 years ago
1
has voted
21 years ago victoria pena posted:
im slightly new to some of this stuff. is there a way to insert images in text areas? Replies
Replied 21 years ago
21 years ago gordon mackay replied:
you can use a css rule to use a background image for the text area
textarea {
background: url(assets/footbg.jpg) repeat;
}
textarea {
background: url(assets/footbg.jpg) repeat;
}
Replied 21 years ago
21 years ago Allan Jardine replied:
Or use classes to ensure that not every text box has that same image.
<STYLE TYPE="text/css">
<!--
TEXTAREA.image { background-image:URL("www.eusog.org/media/footer_images/footer_image.jpg"); }
-->
</STYLE>
Then:
<TEXTAREA NAME="content" COLS="79" ROWS="14" CLASS="image" />
Hope this helps
Ally
<STYLE TYPE="text/css">
<!--
TEXTAREA.image { background-image:URL("www.eusog.org/media/footer_images/footer_image.jpg"); }
-->
</STYLE>
Then:
<TEXTAREA NAME="content" COLS="79" ROWS="14" CLASS="image" />
Hope this helps
Ally