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

JavaScript to resize a constant sum table?

  • Apr 23, 2020 10:25 AM UTC
  • 2 replies
  • 134 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;
}

View original

2 replies

Forum|alt.badge.img+2
  • Level 2 ●●
  • Answer
  • Apr 24, 2020 2:48 PM UTC

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
  • Apr 27, 2020 6:34 AM UTC

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