内嵌样式(embedded style)只影响某个特定的(X)HTML模板。但是,与内联样式所不同的是,内嵌样式将所有的样式定义放在一起,作为元素的一部分,位于文档的头...
基于56个网页-相关网页
Listing 3 provides an example of an embedded style declaration that really should be held within an external CSS file for greater code maintainability.
清单3提供了嵌入样式声明的一个例子,该声明应该保留在一个外部CSS文件内以便获得更好的代码可维护性。
The last three styling rules shown here align and style the text and provide new background images for the embedded items that represent the drop-down lists.
这里的最后三个样式规则对齐文本并应用样式,还为代表下拉列表的嵌入元素提供新的背景图像。
Listing 14 shows the CSS to style these embedded UL elements.
清单14显示了应用于这些嵌入的UL元素的CSS。
应用推荐