-
Ulva ZellAsked on January 16, 2024 at 12:39 AM
how do you format the cell contents to right justify amounts?
-
Billy JotForm SupportReplied on January 16, 2024 at 2:30 AM
Hi Ulva,
Thank you for reaching out to Jotform Support. To align the cell contents to the right, we need to inject CSS code into the widget which is quite easy. Let me show you how:
- In Form Builder, click on the Spreadsheet widget and then on its wand icon
- Click on the Custom CSS tab
- In the CSS editor, insert/paste the code below and click on Update Widget
/* set the text alignment of cells to the right */
textarea.cell-input {
text-align: right !important;
}
Result:
Reach out again if you need any other help.
-
ulvazellReplied on January 16, 2024 at 5:55 AM
-
Jovanne Support Team LeadReplied on January 16, 2024 at 6:34 AM
Hi Ulva,
CSS stands for Cascading Style Sheet. It is a computer language for structuring and styling web pages. You can check this CSS Tutorial if you want to learn about it. As for your other question about adding a comma, I've moved that to a new thread. You can check that out here.
Let us know if you have any other questions.