CSS Class: Difference between revisions
From LimeSurvey Manual
DenisChenu (talk | contribs) EM in class name |
DenisChenu (talk | contribs) Marked this version for translation |
||
Line 17: | Line 17: | ||
Any text string with a space between different CSS class names. | Any text string with a space between different CSS class names. | ||
<!--T:27--> | |||
You can use Expression Manager for class names {{NewIn|3.0.0}} . Remind the class name is not updated dynamically, then use only static variables or question in another page. | You can use Expression Manager for class names {{NewIn|3.0.0}} . Remind the class name is not updated dynamically, then use only static variables or question in another page. | ||
<!--T:28--> | |||
{{Alert|[http://www.w3.org/TR/CSS2/syndata.html#characters 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.}} | {{Alert|[http://www.w3.org/TR/CSS2/syndata.html#characters 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.}} | ||
Revision as of 10:54, 9 November 2016
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.
