How can I align text in a text box in a web form?

  • Thread starter Thread starter Google Jenny
  • Start date Start date
G

Google Jenny

The properties box for a text box doesn't offer an alignment option.
(I want to center the text inside the text box. It aligns it left by
default.)

Thanks very much,

Google Jenny
 
You could use a CSS text-align attribute

#textBox{
font: 12pt; Verdana; text-align: center;
}

--
Regards

John Timney
Microsoft Regional Director
Microsoft MVP
 
Back
Top