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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top