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!

CSS and text boxes

Status
Not open for further replies.

secretsquirrel

Programmer
Mar 22, 2001
202
GB
hi,

i'm trying to make the border of a textBox a lighter shade of grey than the standard grey, but i can't find an appropriate CSS property to apply to it. can anybody suggest anything i could try.

if you look at you'll see what i mean.

any help on this would be greatly appreciated.

cheers,

ss...
 
Create a class in your stylesheet. Here's something to play around with until you find what you're lookin for:

.TextBox
{
background-color:Gray
border-right:#c7ccdc 1px solid;
border-top:#c7ccdc 1px solid;
border-left:#c7ccdc 1px solid;
border-bottom:#c7ccdc 1px solid;
font-size:10px;
font-family:Tahoma,verdana;
width:75px;
}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top