Aligning text boxes within a side-by-side question

Danny12077Danny12077 Community Member - Trial User Qubie ✭

Aligning text boxes within a side-by-side question

Hi,


I've got a side-by-side question and due to the text I've added after the fields, it looks like this.

I've tried multiple JS/CSS ways of aligning these fields to the left, or centering them properly, but I'm having no luck.

Does anyone know how i might go about solving this?

Best Answer

  • rondevrondev Wizard ✭✭✭✭✭
    edited May 7 Accepted Answer

    Try the below code if the text entry column is your second column in SBS question, else find the class name of its "td" tag and add below css

    jQuery("#"+this.questionId+" td.c7").css("text-align","left");
    

Answers

  • Danny12077Danny12077 Community Member - Trial User Qubie ✭

    Worked like a charm, thanks so much!

Sign In to Comment