JavaScript to resize a constant sum table? | XM Community
Skip to main content
Solved

JavaScript to resize a constant sum table?

  • April 23, 2020
  • 2 replies
  • 97 views

Forum|alt.badge.img

Capture.PNGHi, I am using a constant sum table and struggling with the size. As shown in the attached image, the display space is too big and makes the input box too far from the displayed question. Is there any code to decrease the width of display area?
Will deeply appreciate your help.

Best answer by TJUH_Kai

Try to add this to your custom css, adjust the 150px value to change the distance between the left and right elements:
.QuestionBody .ChoiceStructure li div{
 position: relative;
 left: 150px;
}

2 replies

Forum|alt.badge.img+2
  • Level 2 ●●
  • Answer
  • April 24, 2020

Try to add this to your custom css, adjust the 150px value to change the distance between the left and right elements:
.QuestionBody .ChoiceStructure li div{
 position: relative;
 left: 150px;
}


Forum|alt.badge.img
  • Author
  • April 27, 2020

it works perfectly fine!!!
Thank you so much!!