Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

remove border of text box

Status
Not open for further replies.

JohannIcon

Programmer
Sep 3, 2002
440
MT
Hi All,

I have changed the scrollbar color. Now is it possible to revove the black border of a text area? Or at least, can I give it a white colour since the background is white too. Another thing, how can I change the font color?

Thanks
 
Hi,

assign it a class example:
<text area class=&quot;txt&quot;> then specify what you want

.txt {border: 0px}
or
.txt {border: 1px solid black}

to change the colour add

color: #000080; /*or whatever other colour you need*/

you can also change the background by adding:

background: #ffffcc;



É

- :: my FIRST site in XHTML, comments/ criticism/ questions much appreciated!! :)
-
 
Use this:
[tt]
.noborder {
border: none;
font: bold 12pt verdana,sans-serif;
color: #ff9933; }
[/tt]
Works in IE5+ and Mozilla/N6+.
In Opera you can only set the font properties.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top