Center a button in a fieldset

Hello,

I try to center a button item into a fieldset with XML, but it doesn’t work :

<?xml version="1.0"?>
<items>
<item type="block" inputWidth="auto">
	<item type="fieldset" name="dat4" inputWidth="500" label="Codes externes">
		<item type="button" value="..." offsetLeft="200"/>
	</item>
</item>
</items>

The offsetLeft=“200” directive has no effect, do you know why ?
Is there another way to center an item ?

Thanks for your help :slight_smile:

@++
JC

This issue confirmed. The fix will be included in the next version of dhtmlxForm.

As a workaround you may try to create a css class for a button and add meeded margine:

[code]


mybutton{
margin-left:100px;
}[/code]