tanc02
asked on
Form
I have declared a input type = text, and the height of the
text box is not what I am expected. So by giving the below :
<style type="text/css">
<!--
.smalltext { font-family:Serif; font-weight:normal; font-size:11pt; color:black; }
//-->
</style>
Is that possible to declared the height of the text box myself ?
Also, is that possible to use 'smalltext' in the textbox ?
text box is not what I am expected. So by giving the below :
<style type="text/css">
<!--
.smalltext { font-family:Serif; font-weight:normal; font-size:11pt; color:black; }
//-->
</style>
Is that possible to declared the height of the text box myself ?
Also, is that possible to use 'smalltext' in the textbox ?
use this:
<style type="text/css">
.smalltext { font-family:Serif; font-weight:normal;font-si ze:21pt; color:blue;height=100px;wi dth=400px }
</style>
.......
<input type=text class=smalltext value="">
<style type="text/css">
.smalltext { font-family:Serif; font-weight:normal;font-si
</style>
.......
<input type=text class=smalltext value="">
what's your mean of "make the border of the textbox smaller"?
Are you mean that you want to change the border of it?
If you mean that, you can use
..smalltext { font-family:Serif; font-weight:normal;font-si ze:21pt; border:0.2cm groove orange }
If you mean that, you can use
..smalltext { font-family:Serif; font-weight:normal;font-si
the following is the description of border:
{ border: sBorder }
sBorder String that specifies one or more of the following space-delimited values: width Any of the range of width values available to the borderWidth property.
style Any of the range of style values available to the borderStyle property.
color Any of the range of color values available to the borderColor property
the detailed description, you can see it from MSDN.
{ border: sBorder }
sBorder String that specifies one or more of the following space-delimited values: width Any of the range of width values available to the borderWidth property.
style Any of the range of style values available to the borderStyle property.
color Any of the range of color values available to the borderColor property
the detailed description, you can see it from MSDN.
ASKER
<style type="text/css">
.smalltext { font-family:Serif; font-weight:normal;
font-size:21pt; color:blue;height=100px;
width=400px }
</style>
above code only make the font in the textbox as described,
but the height of the textbox is same.
I want the height of the textbox to be smaller than the default.
.smalltext { font-family:Serif; font-weight:normal;
font-size:21pt; color:blue;height=100px;
width=400px }
</style>
above code only make the font in the textbox as described,
but the height of the textbox is same.
I want the height of the textbox to be smaller than the default.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER