field alignment master detail

Hello,I have a master field with the alignment “right”. Now I want to have a detail with the same field with the alignment “left”. Couldn’t find how to do this.

You may right-click the element in your browser and select “Inspect” to check the HTML and CSS selector (e.g. id or class), then you can add your own CSS under the HTML > Styles > User tab to set the alignment. Also see: https://developer.mozilla.org/en-US/docs/Web/CSS/text-align.

Thanks for your reaction.
I tried this code where dagboeken_nieuw3_2 is the tablename and saldo the field name.
unfortunately it doesn’t work.#tbl_dagboeken_nieuw3_2list td[data-name=“saldo”]{
text-align: left;
}

If the field is text, default alignment is left. I tested by changing it to “right”, it does work.

field is number. Strange that it doesn’t work.

You may right-click the element in your browser, check the CSS of the elment and check if your CSS is applied.

okay. I checked this but the text with the code is crossed out

Then try to find out what overrode it (check F12 > Elements > Styles panel in your browser) and modify your CSS.

Now it works. Thanks for helping.