samsmithnz Posted March 17, 2004 Posted March 17, 2004 Very simple question: How do I right align the contents of one of my ASP.NET textboxes,.... I can't seem to find an align property, and right aligning the TD tag doesn't work for a textbox (unlike a label)... Quote Thanks Sam http://www.samsmith.co.nz
kahlua001 Posted March 17, 2004 Posted March 17, 2004 style="TEXT-ALIGN: right" or use a CssClass Quote
*Gurus* Derek Stone Posted March 17, 2004 *Gurus* Posted March 17, 2004 Set the element's text-align style attribute to a value of "right" or set the dir (direction) attribute to "rtl" (right-to-left). The former is preferred. Quote Posting Guidelines
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.