Welcome, Guest
Username: Password: Remember me

TOPIC: Aligning an answer

Aligning an answer 3 years 1 week ago #76765

Hi,
I know how to align the question itself, but how do I align an answer of a question?
For example, I would like to center the scale in the attached image.

Thanks!
David

a_2012-03-16.jpg
The administrator has disabled public write access.

Re: Aligning an answer 3 years 1 week ago #76779

  • tpartner
  • tpartner's Avatar
  • NOW ONLINE
  • LimeSurvey Team
  • Posts: 4631
  • Thank you received: 924
  • Karma: 408
Can you activate a sample survey so we can see the source code?
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Re: Aligning an answer 3 years 1 week ago #76782

The administrator has disabled public write access.

Re: Aligning an answer 3 years 1 week ago #76784

  • tpartner
  • tpartner's Avatar
  • NOW ONLINE
  • LimeSurvey Team
  • Posts: 4631
  • Thank you received: 924
  • Karma: 408
If you want to do it for a specific question, add the following to the end of template.css (where 195 is the question ID):
#question195 .answer ul {
    margin: 0 auto 1.5em auto;
}

If you want to do it for all multi-numerics, add the following to the end of template.css:
.numeric-multi .answer ul {
    margin: 0 auto 1.5em auto;
}
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Last Edit: 3 years 1 week ago by tpartner.
The administrator has disabled public write access.
The following user(s) said Thank You: davidspivak

Re: Aligning an answer 3 years 1 week ago #76785

Awesome, that worked!
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.112 seconds
Donation Image