Log in

View Full Version : Transparancy Question "Noob Help"



Havok316
10-11-2005, 01:15 PM
I have created a message box with scroll bar and i would like to know how can i make the background transparent? also is there a way to stop ppl deleting the text inside this box?

Cheers

spyder
10-12-2005, 12:08 AM
1. to make content in a textarea un writable, just add a READONLY into it
esample:
<TEXTAREA NAME="comments" ROWS="5" COLS="50" READONLY>

2. as for the transparency, if it is 1 color, you can define the background, but if it is a picture i dont think you can.

3. 1 way you can solve both problems, is to use a div
example:
<div style="position:absolute; top:30; left:30; height:200; width:200; overflow:auto; padding:5px;">content</div>