View Full Version : I have another CSS question.. textarea help!!


roxygurlie
07-12-2003, 06:13 PM
This code I got is supposed to make it so there is a colored see through text area with dotted border and so on..but when I try using it on my site nothing happens.. I just see the "Text, text" thing plain.. in no text area or anything.. is there something wrong with my code?? please help!!

here is the code:

<style type="text/css">
<TEXTAREA,input{border:4px dotted red}
<img{filter:glow(color=hotpink,strength=5)}
<p img{filter:chroma(color=white)}
<img{filter:chroma(color=#FFCC00) invert() chroma(color=black)}
<table{background:transparent}
b.tabledesc{width:530;border:1px solid purple;background:pink;filter:alpha(opacity=60)}
</style>
TEXT TEXT TEXTIE TEXTTEXT HERE TEXT.....
</style>

Cherchezlafemme
07-12-2003, 08:23 PM
ohh you messed up the CSS code and put in the wrong stuff!

<style type="text/css">
TEXTAREA{
input: border:4px dotted red;
}

< img{filter:glow(color=hot
pink,strength=5)}
<p img{filter:chroma(color=w
hite)}
< img{filter:chroma(color=#
FFCC00) invert() chroma(color=black)}

table{
background: transparent;

b. tabledesc: width:530;border:1px solid purple;background:pink;filter:alpha(opacity=60);
}
[/b]
</style>


The stuff in bold I am very unfamiliar with so you'll have to ask. the rest of it is put in the correst CSS coding. Anyway the first part that I made bold probably goes in a seperate img tag in the body not in the CSS code! Remember it goes in the head or body sections!!!!!

roxygurlie
07-12-2003, 09:16 PM
Thanx! I got the text area to wrok good..but I can't figure out where i put the text i wanna write in it??? Where do I put in the code what I wanna write???

Cherchezlafemme
07-12-2003, 09:18 PM
in the body section ...

BTW you are oh so very berry welcome :D (I've always wanted to say that)

roxygurlie
07-12-2003, 10:10 PM
Well ya I know I put it in the body sec..but where so it will get inside the text area box thing??? because if I just put it in the normal body sec it appears in the middle of nowhere not near to my textboxarea thing...heh help! :)

MaGiCSuN
07-12-2003, 10:55 PM
you are using html in your style code... :S

to get the textarea you want you should use this:

<style type="text/css">
TEXTAREA {border:4px dotted red; background-color: #FF3300; filter: chroma(color=#FF3300);}

</style>

Cherzes style codes don't belong into the body sections.... Style codes have to get placed between <head> and </head>

you can add more to it by using css coding, and not normal HTML. to see more css codes check out this page http://www.lissaexplains.com/css.shtml

now add <textarea height="#px" width="#">your text here</textarea> between your <body> and </body> and you should see it.

Love,
Mirna

roxygurlie
07-13-2003, 12:43 AM
aha! thanx!!! :) i got the words into the box...now i just need to make it so theres a see through backround in the box...how do I do that??? also is there anyway that i can take away the scrolling arrows and make the box bigger? then it would be PERFECT!! help! thanx again..:)