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)...
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.