Forums

This topic is locked

text areas

Posted 05 Jun 2003 00:44:49
1
has voted
05 Jun 2003 00:44:49 victoria pena posted:
im slightly new to some of this stuff. is there a way to insert images in text areas?

Replies

Replied 12 Jun 2003 01:46:02
12 Jun 2003 01:46:02 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;
}
Replied 25 Jun 2003 10:51:07
25 Jun 2003 10:51:07 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

Reply to this topic