Radio buttons line width | XM Community
Skip to main content

Hi,
I have a question with 28 multiple choice answers which I would like to have on a single line of width 950px.
I've been trying to figure out what code should I write to constrain it that way .
Andy

Does this work?
qid = "#" + this.questionId;
document.querySelector(qid).style.width = "950px"


Thanks! Do I place this in a Javascript?


Yes. Place it within the

addOnReady
function. But I would suggest moving to another theme like boxed questions, which should get you the desired results without JS.


Leave a Reply