Stepford Posted April 15, 2021 Report Share Posted April 15, 2021 Hello, Can anybody give me any tips on how I can make numbers align to the right on datapages please? Any help will be much appreciated. Thanks in advance! Quote Link to comment Share on other sites More sharing options...
0 CoopperBackpack Posted April 15, 2021 Report Share Posted April 15, 2021 Hello @Stepford, You may select one of the two approaches: 1) Change the alignment in the Styles section. In this case, the changes will be applied to all DataPages that use this Style. Please open the Source tab -> All -> find the cbResultSetTableCellNumberDate CSS class using Ctrl-F (or Command-F for Mac) -> change the text-align to right. 2) You may apply the changes to the particular DataPage without changing the Style. To do this you may add Header/Footer elements on the Configure Results Page Fields page and paste the code to the Header. Disable the HTML Editor on the Advanced tab before pasting the code. <style> .cbResultSetTableCellNumberDate { text-align: right !important; } </style> Please note that this CSS class (cbResultSetTableCellNumberDate ) have fields with the following data types in the table: Autonumber, Number, Integer, Currency, Date/Time, Timestamp, Formula (if stores numeric values). Try the apply the changes and update this thread if you have further questions. Stepford 1 Quote Link to comment Share on other sites More sharing options...
0 TellMeWhy Posted April 15, 2021 Report Share Posted April 15, 2021 If you want to apply this to any data type, you may do the following in the Styles Page Stepford 1 Quote Link to comment Share on other sites More sharing options...
0 PotatoMato Posted April 15, 2021 Report Share Posted April 15, 2021 Hello. Just to add, you may visit this How-to article regarding Styles: https://howto.caspio.com/styles/. -Potato Stepford 1 Quote Link to comment Share on other sites More sharing options...
0 Stepford Posted April 16, 2021 Author Report Share Posted April 16, 2021 @CoopperBackpack, @TellMeWhy& @PotatoMato: thank you all for getting back to me with all this very useful information. I have now been able to fix the issue. Thanks again guys! Much appreciated Quote Link to comment Share on other sites More sharing options...
Question
Stepford
Hello,
Can anybody give me any tips on how I can make numbers align to the right on datapages please?
Any help will be much appreciated.
Thanks in advance!
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.