How Do I Right Align Label Captions?

How Can We Help?

< Back

How to right align the below image so that the caption for all controls is right aligned and closer to the controls.

image_76

Answer

In the CSS for the site (styles.css found under skins/default or skins/[new skin folder]), locate and find the following three items and amend as below:

This handles the label:

tr.rowDetail{padding:5px; text-align: right;}

This handles the content of the control:

td.controlcell{padding-top:2px;padding-bottom:2px; text-align:left;}

This handles the caption of an object group:

td.rowDet_OG_Header{background-color:#DEE2E7;color:#000;padding-top:5px;padding-bottom:5px;text-indent:5px;font-weight:700;text-align:left}
Comments are closed.

This is the legacy version of the XMPro Documentation site. For the latest XMPro documentation, please visit documentation.xmpro.com

X