删除树节点样式的定义如下面的清单32所示。
The remove tree node style is defined as shown below in Listing 32.
清单1显示screen . css文件的内容,我们使用这个文件定义主屏幕媒体相关样式。
Listing 1 shows the contents of the screen.css file we used to define our main screen media-specific styles.
jsp示例(参见清单10)包含一个jsf表组件,该组件使用在TableStyles . css中定义的样式类。
The TableStyles.jsp example (see Listing 10) contains a JSF table component that USES the style classes defined in TableStyles.css.
css文件(参见清单10)定义了用于错误消息的ValidationError样式类
The valid.css file (see Listing 10) defines the ValidationError style class that is used for the error messages
清单6给出了可用于repeat的样式定义。
Listing 6 gives the style definition we'll use for our repeat.
可以利用在样式表生成的样式表中定义的地址原型来确保邮件和送货地址的表示保持一致,如清单9所示。
You can leverage the address archetype defined in the style sheet-generating style sheet to ensure that both mailing and shipping addresses are rendered consistently, as shown in Listing 9.
然而在大多数情况下,都是在CSS文件中定义样式类(参见清单5),以便可以将相同的样式规则应用于多个组件。
In most cases, however, you will define style classes (see Listing 5) in the CSS files so you can use the same style rules for multiple components.
此重命名树节点样式的定义如清单34所示。
The rename tree node style is defined as shown in Listing 34.
首先,定义css样式,如清单16所示。
如清单4所示,我们在基本样式表(base . css)的顶部定义了样式,包括字体大小。
As shown in Listing 4, at the top of our base stylesheet (base.css) we defined the styles, including the font size.
样式设计通过使用本地样式定义(见 清单3)、对外部样式表的引用、组件内的内联样式以及ActionScript 中的setStyle方法完成。
Styling can be done using local style definitions (as in Listing 3), references to external style sheets, inlining styles within the components, and using the setStyle method in ActionScript.
样式设计通过使用本地样式定义(见 清单3)、对外部样式表的引用、组件内的内联样式以及ActionScript 中的setStyle方法完成。
Styling can be done using local style definitions (as in Listing 3), references to external style sheets, inlining styles within the components, and using the setStyle method in ActionScript.
应用推荐