Actions

QS

CSS Class: Difference between revisions

From LimeSurvey Manual

(Marked this version for translation)
(EM in class name)
Line 15: Line 15:


<!--T:25-->
<!--T:25-->
Any text string with a space between different CSS class names.
Any text string with a space between different CSS class names.  
[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.
 
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.
 
{{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.}}
 
 


<!--T:26-->
<!--T:26-->

Revision as of 10:53, 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.

  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.