Format list item as currency - right aligned

peterk900

Member
The element format string ? %10.2f formats a double field as ? 999.99 but it is left aligned in a list. How can set it right aligned ? Thanks.
 
Go to your element settings -> List view settings -> CSS. Enter "text-align: right;" in the Cell CSS. Here is a screenshot, note this is for center align.
 

Attachments

  • css.jpg
    css.jpg
    50.6 KB · Views: 279
Thanks rackem for this and the screenshot. With the alignment sorted a list display moves from good to stunning ! I must have seen the CSS tab but not registered its significance - normal .css typed into a field works immediately - no need to Firebug and then try and find the .css file ! Brilliant.
Thanks again for your help on this.
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top