View Full Version : <b> text area border code?</b>


mistyscooby
07-27-2006, 04:31 PM
I have a textarea box with size, background color, and center coding, I tried putting in this code but the border doesnt show up! Please help!

<div align="center"><div id="scroll3" style="border:8;width:500;height:150; background-color:66ccff; overflow:auto"> The border aint showin up!</textarea></div></div>

mistyscooby
07-27-2006, 04:31 PM
by the way, with this code everything else works.

Turquoise
07-27-2006, 04:43 PM
Try:
<div align="center"><div id="scroll3" style="border:8px solid;width:500;height:150; background-color:66ccff; overflow:auto"> The border aint showin up!</textarea></div></div>

thezeppzone
07-27-2006, 04:48 PM
You need a border color for it to show up, and a border style:


<div align="center"><div id="scroll3" style="border: 8; border-style: solid; border-color:#000000; width:500; height:150; background-color:66ccff; overflow:auto"> The border aint showin up!</div></div>


And I'm not sure why there was a </textarea> in there without a <textarea>, so I took that out. Just change the style you want(dotted, dashed, solid, double, groove, ridge, inset, window-inset, outset) and the color of the border. Hope that helps!