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

JavaScript to resize a constant sum table?

  • 23 April 2020
  • 2 replies
  • 71 views

Badge

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.

icon

Best answer by TJUH_Kai 24 April 2020, 16:48

View original

2 replies

Userlevel 3
Badge +2

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;
}

Badge

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

Leave a Reply