Have an idea?

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

CSS script to indent a grid

I was hunting for the CSS script to indent a grid. I currently have it left justified but would like to ideally push it more to the centre courtesy of some CSS script.

Had no luck finding it? Any assistance is much appreciated.

I know I can globally set this in the survey settings but I only want to perform this exercise on one grid only.

Regards Paul.
asked May 13, 2016 by Paul Moon Platinum (98,670 points)
retagged Sep 1, 2016 by Walter Williams

1 Answer

0 votes
Hi Paul,

I am not sure how much indent you want but you can try something like this:

.page {
  margin-left: 90px;
  margin-right: auto;

answered May 13, 2016 by Saurabh Aggarwal Gold (34,795 points)
Thank you.

It was almost what I needed. The ".page" indented the grid and all the script too. I changed ".page" to ".question_body" so the actual grid was the only component that was indented.

Appreciate you putting me on the right track. Regards.