M
moondaddy
I want to change the border of a asp.net textbox to thin-solid-blue but when
I set the cssclass property to a class in the stylesheet, the border
properties in the stylesheet don't have any effect on the textbox's
appearance. however if I write a style attribute into the textbox tag like
the sample below the border looks like I want:
style="BORDER-RIGHT:steelblue 1px solid; BORDER-TOP:steelblue 1px solid;
BORDER-LEFT:steelblue 1px solid; WIDTH:202px; BORDER-BOTTOM:steelblue 1px
solid"
How can I achieve this by just using the stylesheet?
Here's the class in the stylesheet:
clsLgnTxBx
{
border-right: steelblue 1px solid;
border-top: steelblue 1px solid;
border-left: steelblue 1px solid;
border-bottom: steelblue 1px solid;
}
I set the cssclass property to a class in the stylesheet, the border
properties in the stylesheet don't have any effect on the textbox's
appearance. however if I write a style attribute into the textbox tag like
the sample below the border looks like I want:
style="BORDER-RIGHT:steelblue 1px solid; BORDER-TOP:steelblue 1px solid;
BORDER-LEFT:steelblue 1px solid; WIDTH:202px; BORDER-BOTTOM:steelblue 1px
solid"
How can I achieve this by just using the stylesheet?
Here's the class in the stylesheet:
clsLgnTxBx
{
border-right: steelblue 1px solid;
border-top: steelblue 1px solid;
border-left: steelblue 1px solid;
border-bottom: steelblue 1px solid;
}