Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Transparent text area


Message #1 by "Nick Maffei" <nmaffei@a...> on Sun, 28 Jul 2002 12:15:40 -0400
This is a follow-up to my prior note regarding my question of making the text area (input area of a
form) transparent.
I played with the code, as follows:

<<TEXTAREA NAME="Comments" ROWS="10" COLS="40"
style="background:IMG SRC;font-family:10pt;font-weight:800;color:#ff0000;">

It works EXACTLY as I had hoped.

The text is bold,red, and the text area is transparent, which allows me to see the background image. Creates a nice affect for me.
BUT, I don't understand why the IMG SRC code works.
I have never seen such a selection in any textbook.
I simply got lucky by trial and error.
Perhaps someone could explain it.
Nick Maffei


  Return to Index