View Full Version : How can I center items in a ext/js form

30 Jun 2010, 1:50 PM
I am a new ext/js user and I have some trouble to build my web app. In fact, I ve created a form with 'xtype : form' instruction and I put some items in it (labels, textfields, radigroups, ...). All those items are aligned left. Can somebody tell me what can I do to center them? I already found code like 'text-align:center' but il only permits to center text not other items. CSS code like 'margin: 0 auto' normally used to center a form seems not functional with ext/js. Thank you very much for your help.