Welcome, Guest
Username: Password: Remember me

TOPIC: default template, to center the assessments results!!

default template, to center the assessments results!! 1 year 1 month ago #99706

  • itsme
  • itsme's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 53
  • Thank you received: 1
  • Karma: 0
hello, i'm having problem with default template, i am trying to make the assessment results {ASSESSMENTS} in the template to align center but whatever i do, it stays on the left... i tried all possible ways of text-align: center; in assessments-container and assessment-table and assessment-heading... heading or anything else put in that area does work ok but the results never comes center!!!

isn't it strange!?? seems like (ASSESSMENTS} tag does take its own elements regardless to css??

what you think? how i can fix this?

by the way, i have this issue only in LS v2 but in 1.92 it is working fine!!

any input is appreciated

Mike
The administrator has disabled public write access.

default template, to center the assessments results!! 1 year 1 month ago #99712

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4281
  • Thank you received: 807
  • Karma: 370
Add the following to the end of template.css:

table.assessments {
  width: 100%;
}
 
table.assessments th,
table.assessments td {
  text-align: center;
}
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.

default template, to center the assessments results!! 1 year 1 month ago #99717

  • itsme
  • itsme's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 53
  • Thank you received: 1
  • Karma: 0
Tony!!! you are life saver my friend :) thanks a lot :laugh:

please have a look at my other post here, i am stuck and trying since days now without results :dry:

www.limesurvey.org/en/forum/can-i-do-thi...-possible-ways#99703
Last Edit: 1 year 1 month ago by itsme.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.106 seconds
Donation Image