PC Review


Reply
Thread Tools Rate Thread

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

 
 
Google Jenny
Guest
Posts: n/a
 
      6th Aug 2004
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
 
Reply With Quote
 
 
 
 
John Timney \(Microsoft MVP\)
Guest
Posts: n/a
 
      7th Aug 2004
You could use a CSS text-align attribute

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

--
Regards

John Timney
Microsoft Regional Director
Microsoft MVP


"Google Jenny" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
align text to the right of a bullet in a text box Aprilbyrd Microsoft Powerpoint 1 12th Apr 2008 09:01 AM
<div align=center> also affects align of dynamic dropdown item text Steve Richter Microsoft ASP .NET 1 24th Jun 2007 08:11 PM
How to right align text but left align lines on first character? =?Utf-8?B?bXNjZXJ0aWZpZWQ=?= Microsoft Word Document Management 1 10th Aug 2006 09:48 PM
Can I align text on the bottom of a text box, instead of the top? =?Utf-8?B?TWludXRlbWFu?= Microsoft Word Document Management 2 2nd Dec 2005 07:28 PM
how to Align text left & vertical align middle Kay Microsoft ASP .NET 2 25th Jul 2003 09:32 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:17 PM.