Actions

QS

CSS Class/zh-cn: Difference between revisions

From LimeSurvey Manual

(Created page with "* 在 CSS 类名之间都有一个空格的任意字符串。")
 
(2 intermediate revisions by the same user not shown)
Line 11: Line 11:
* 在 CSS 类名之间都有一个空格的任意字符串。  
* 在 CSS 类名之间都有一个空格的任意字符串。  


{{Hint|Text=You can also insert an [[ExpressionScript - Presentation|expression]] in this box{{NewIn|3.0.0}}. Remember that the output of the expression will not be updated dynamically.}}
{{Hint|Text=你也可以在这个框中插入[[ExpressionScript - Presentation|表达式]] {{NewIn|3.0.0}}。请记住表达式的输出不是动态更新的。}}


{{Alert|[http://www.w3.org/TR/CSS2/syndata.html#characters According to the W3C], CSS class names can contain only the characters [a-zA-Z, and 0-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 encodes CSS classes, but it does not fix it totally.}}
{{Alert|[http://www.w3.org/TR/CSS2/syndata.html#characters 依照 W3C 的规则], CSS 类名只能包含 [a-zA-Z, and 0-9] ISO 10646 characters U+00A1 以及之后版本的字符,还有连字符 (-) and 和下划线 (_)。 命名不能以数字,或者在连字符后面紧跟数字开头。LimeSurvey 编码了encodes CSS 类,但并没有完全解决。}}
</onlyinclude>
</onlyinclude>


[[Category:Question Settings]][[Category:Question Display Options]]
[[Category:Question Settings/zh-cn]][[Category:Question Display Options]]

Latest revision as of 05:50, 11 September 2020


CSS class (css_class)

说明

如果你要在某些问题里添加特殊的 CSS 类,你可以在这个框里输入 CSS 类的名字。确保在每个不同的类名之间保留一个空格。

有效值

  • 在 CSS 类名之间都有一个空格的任意字符串。
 Hint: 你也可以在这个框中插入表达式 (New in 3.0.0 )。请记住表达式的输出不是动态更新的。


  依照 W3C 的规则, CSS 类名只能包含 [a-zA-Z, and 0-9] 和 ISO 10646 characters U+00A1 以及之后版本的字符,还有连字符 (-) and 和下划线 (_)。 命名不能以数字,或者在连字符后面紧跟数字开头。LimeSurvey 编码了encodes CSS 类,但并没有完全解决。