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 ?
LVL 1
tanc02Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

tanc02Author Commented:
Also, is that possible to make the border of the textbox smaller ?
0
xyzffffCommented:
use this:

<style type="text/css">
  .smalltext  { font-family:Serif; font-weight:normal;font-size:21pt; color:blue;height=100px;width=400px }
</style>    

.......

<input type=text class=smalltext value="">
0
xyzffffCommented:
what's your mean of "make the border of the textbox smaller"?
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

xyzffffCommented:
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-size:21pt; border:0.2cm groove orange }
0
xyzffffCommented:
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.
0
tanc02Author Commented:
<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.  
0
xyzffffCommented:
you cann't smaller the height,because it's default is the size of the font.
..textbox{height=100px;                      width=400px }
can made the textbox larger and it can define the widthe of the textbox

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Fonts Typography

From novice to tech pro — start learning today.