这样就可以使用背景图像,而在不应用样式时仍然显示文本标题。
This way, we can use a background image instead, but still present the text heading when no style is applied.
如果状态为BAD,我们将在站点名称旁边显示摘要,并且CSS文件中名为BAD的样式将指出呈现属性—本例中为红色文本。
If the status is equal to BAD, we display the summary next to the name of the site and a style named BAD in the CSS file dictates the rendering attributes - red text in this example.
列表4显示了定义可排序列中文本样式的样式表条目。
Listing 4 shows the stylesheet entry that defines the style of the text in the sortable column.
应用推荐