q: textbox Alignment

  • Thread starter Thread starter Guest
  • Start date Start date
Hi Jim,

What are you trying to align? The text inside the box or the box itself?
 
<asp:Textbox id="Textbox1" style="TEXT-ALIGN: right" runat="server" Text=" Text1 "></asp:Textbox>
<asp:Textbox id="Textbox2" style="TEXT-ALIGN: center" runat="server" Text=" Text2 "></asp:Textbox>



Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================
 
is it possible to set this in properties window?

Juan T. Llibre said:
<asp:Textbox id="Textbox1" style="TEXT-ALIGN: right" runat="server" Text=" Text1 "></asp:Textbox>
<asp:Textbox id="Textbox2" style="TEXT-ALIGN: center" runat="server" Text=" Text2 "></asp:Textbox>



Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================
 
You *could* create a CSS stylesheet, and set it there.

The stylesheet would be available in the IDE,
via the CssClass property.




Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================
 
Back
Top