Actions

QS

QS:CSS Class

From LimeSurvey Manual

Revision as of 10:54, 9 November 2016 by DenisChenu (talk | contribs) (Marked this version for translation)


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.