...

View Full Version : Transparent text areas



lilrobson
10-01-2002, 04:06 AM
Is there a way you can make a transparent text area? I know there's ways to change the colors.. so I'm guessing somehow you can make it transparent too. Does anyone know the code to do so?

jkd
10-01-2002, 04:34 AM
background: transparent;

In theory should make it transparent, and seems to work in a Mozilla 1.2 nightly I am using, but I doubt it would work in IE.

Mihaela
10-01-2002, 03:22 PM
<STYLE>
TEXTAREA {background:transparent}
</STYLE>

I have tested this, it puts transparent background for Textarea in IE and NS6+.

c q
10-02-2002, 10:18 AM
achha.....then what about the border that appears around textareas ? does it set the border as zero too ? or we need to explicitly set it 0 using style command ?

Mihaela
10-02-2002, 11:00 AM
if you need to set the border 0 for textarea, you need to do this using css styles:
<STYLE>
TEXTAREA {
background:transparent;
border-width:0px;
}
</STYLE>

Also this works only for IE and NS6+.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum