Have an idea?

Visit Sawtooth Software Feedback to share your ideas on how we can improve our products.

Format Questions

1. How can i format 'GRID questions'?
color
size of cell
size of column
size of letters

2. How can I forma pictures?
size, place
asked Feb 10 by ALEXIA

1 Answer

0 votes
Background color:

<style>
.grid .inner_table > tbody > tr > td {
    background-color: blue;
}
</style>


Height and width of cells can be done with something like this:

<style>
.grid .inner_table > tbody > tr > td {
    height: 100px;
    width: 50px;
}
</style>


Font of the grid:

<style>
.grid .inner_table {
    font-size: 10px;
}
</style>


Changing an image size will likely be something like this:

<style>
img {
    width: 50%;
}
</style>
answered Feb 12 by Zachary Platinum Sawtooth Software, Inc. (95,675 points)
Thank you a lot for you quick response.
But, i still haven't understood, where can i enter all the above that you have provided to me?
For example, in an excel sheet i choose to format cells, from the relevant button.
In my case, when i am opening a 'grid question' there is 'Format' choice, but i don't find the place to write all the above.
Sorry for asking you again, but i still need further explanation.
Thank you
I typically place my CSS in the question's footer text field.  The question's HTML head tag (found via the question setting's Advanced button) is also a fine place to put code like this.
Thank you!!!!!
In case i still face any problem with the format, is it possible, after applying all these changes to send you my link, specifying you the 'weak points' so as to be fixed properly?
If you have problems, you could share your study with me through a private message and I may be able to take a look when I have some free time.
...