Label Alignment

Hello

I have some problems to put my labels to the left. I don’t want to have input field … just labels like in the picture …
I really don’t found a way to put the labels on the right. Is there a way ?

Here’s my code:

formdata3 = [
    {type: "fieldset",offsetLeft: 10,label: "Auftragsdetails",list: [
        {type:'block',list:[ 
            {type:"settings",labelAlign:"right"},
            {type:"label",name:"field3_1",label:"<span class='field_1'>Eingang:</span>"},
            {type:"label",name:"field3_2",label:"<span class='field_1'>Order-Entry:</span>"},
            {type:"label",name:"field3_3",label:"<span class='field_1'>WO Intern:</span>"},
            {type:"label",name:"field3_4",label:"<span class='field_1'>WO UM:</span>"},
            {type:"label",name:"field3_5",label:"<span class='field_1'>Typ:</span>"},
            {type:"newcolumn"},
            {type:"label",name:"field3_6",label:"<span class='field_2'>03.04.2014 20:25</span>"},
            {type:"label",name:"field3_7",label:"<span class='field_2'>03.04.2014</span>"},
            {type:"label",name:"field3_8",label:"<span class='field_2'>1256330</span>"},
            {type:"label",name:"field3_9",label:"<span class='field_2'>871236</span>"},
            {type:"label",name:"field3_10",label:"<span class='field_2'>4IA</span>"}
        ]}
    ]}
];

Thank you

Best regards

Hello
By default laber align is left. To make it right or center you can use the next CSS, if you need to modify all the labels:

.dhxform_obj_dhx_skyblue div.dhxform_txt_label2 { text-align: center; //text-align: right; }
If it doesn’t solve your issue, provide completed demo with detailed description of exepting result.
docs.dhtmlx.com/doku.php?id=othe … leted_demo

Thank you :slight_smile:

You are welcome!