Have an idea?

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

I am trying to add a line down the center of a grid question

I have a grid question with six columns and would like to add a line down the center, between columns 3 and 4. I believe the best way to do this is probably to add a border to just that side of one of the cells, but am not sure what to edit. Example code would be very much appreciated!
asked Aug 30 by anonymous

1 Answer

0 votes
Try adding this CSS to the grid question:

<style>
#[% QuestionName() %]_div .inner_table > tbody > tr > td:nth-child(4) {
    border-right: 1px solid black;
}
</style>
answered Aug 30 by Zachary Platinum Sawtooth Software, Inc. (63,475 points)
...