x

Main chapters

  1. LimeSurvey Cloud vs LimeSurvey CE
  2. LimeSurvey Cloud - Quick start guide
  3. LimeSurvey CE - Installation
  4. How to design a good survey (Guide)
  5. Getting started
  6. LimeSurvey configuration
  7. Introduction - Surveys
  8. View survey settings
  9. View survey menu
  10. View survey structure
  11. Introduction - Questions
  12. Introduction - Question Groups
  13. Introduction - Surveys - Management
  14. Survey toolbar options
  15. Multilingual survey
  16. Quick start guide - ExpressionScript
  17. Advanced features
  18. General FAQ
  19. Troubleshooting
  20. Workarounds
  21. License
  22. Version change log
  23. Plugins - Advanced
 Actions

QS

QS:CSS Class

From LimeSurvey Manual

Revision as of 10:53, 9 November 2016 by DenisChenu (talk | contribs) (EM in class name)


CSS class (css_class)

Description

If you want to add special CSS classes to certain questions you can enter the CSS class name(s) at this question attribute. Make sure to enter a space between different class names.


Valid values

Any text string with a space between different CSS class names.

You can use Expression Manager for class names (New in 3.0.0 ) . Remind the class name is not updated dynamically, then use only static variables or question in another page.

  According to the W3C CSS class names can contain only the characters [a-zA-Z0-9] and ISO 10646 characters U+00A1 and higher, plus the hyphen (-) and the underscore (_); they cannot start with a digit, or a hyphen followed by a digit. LimeSurvey encode class, but don't fix it totally.