Have an idea?

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

Where do I put this in, in the MaxDiff question?

I am quite new to Sawtooth.
If I want to set the question width (so the table of choices) in % format, where should I put css code in?
I tried this (and other related codes in this thread) in the question header and footer, but didn't work.
When I tried this in each choice item code, it was applied to that choice only, not the whole table.

Would there be any way to fix the whole question width in % of screen so it can work on a computer/laptop as well as on mobile devices?
Thank you for your help!
related to an answer for: Grid question width in % format
asked Jul 24, 2017 by anonymous

1 Answer

0 votes
Do you want to put code like this in your MaxDiff, perhaps?

.maxdiff .inner_table {
    width: 90%;

The MaxDiff CSS defaults this width to 100%, so it should already dynamically resize itself for different devices, but my code will increase the margins.
answered Jul 24, 2017 by Zachary Platinum Sawtooth Software, Inc. (100,925 points)
is this to be put in the 'header1' cell?