Listing 17 identifies the purpose of this stylesheet by setting the media attribute value to print.
清单17显示这个元素,它将media属性值设置为print,从而表明这个样式表的用途。
The getDescription(..) method performs the description look-up and initializes the description attribute value of ten-print electronic submission.
getDescription(..) 方法执行描述查询并初始化十印电子提交的描述属性值。
Of course, if we had defined our screen.css with a media attribute value of all and placed this LINK element after it, our print styling would have inherit all the screen styles.
当然,如果定义了media属性值为all的screen . css,并将这个LINK放在它后面,打印样式就会继承所有屏幕样式。
应用推荐