First, you need a rule that selects each bit of text in your CSS. 首先,您需要一个在CSS中选择文本的规则。
The text is styled using CSS with the selector header > h1. 这个文本的样式使用带有选择器header>h1的CSS设置。
If you only want the regular button to have blue text, then the CSS would look like Listing 9. 如果只需要让常规的按钮具有蓝色的文本,那么这个CSS就应该类似于清单9。
In HTML we use tables to create borders around a text, but with the CSS border properties we can create borders with nice effects, and it can be applied to any element. HTML中我们可以用表格来建立文字的边框,但使用CSS边框属性能让我们建立更好看的效果而且它可以支持任何元素。
There's no reason to use images of text to represent text when there are many CSS tricks for creating good-looking buttons without images. 当无需图像就可以通过大量CSS技巧创建漂亮的按钮时,绝不使用图像来表示文本。