PDA

View Full Version : Centering a Label field inside a fieldset



nromanel
4 Jun 2008, 6:44 AM
I have a label field inside a fieldset which contains two columns.

The label is above the two columns and spans over both of them.
However, the html is aligned to the left. How can I get the label to center itself over the two columns?

I tried adding the style parameter, but it didn't seem to work.



xtype:'label',
width:650,
style:'text-align:center',
html:'**Please note, you may only select <i>one</i> location**</span>'