如何在ASP中更改网格视图中边框行和列的颜色以进行打印 [英] how to change the color of border rows and columns in the grid view in asp for printing purpose
本文介绍了如何在ASP中更改网格视图中边框行和列的颜色以进行打印的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想为打印目的在asp中更改网格视图中边框行和列的颜色.怎么可能
i want to change the color of border rows and columns in the grid view in asp for printing purpose.how it can be possible
推荐答案
通常的问题.您需要针对不同的媒体开发具有不同样式的CSS.
此功能的说明如下:
http://www.w3.org/TR/CSS2/media.html [ ^ ].
这是带有嵌入式样式表的示例代码的说明:
http://www.w3schools.com/tags/att_style_media.asp [ http://webdesign.about.com/od/css/qt/tipcssmedia.htm [ ^ ],
http://www.javascriptkit.com/dhtmltutors/cssmedia.shtml [
This is a very usual problem. You need to develop CSS with different styles for different media.
This feature is described here:
http://www.w3.org/TR/CSS2/media.html[^].
This is the explanation with the sample code with embedded style sheet:
http://www.w3schools.com/tags/att_style_media.asp[^].
Please also see these recommendations:
http://webdesign.about.com/od/css/qt/tipcssmedia.htm[^],
http://www.javascriptkit.com/dhtmltutors/cssmedia.shtml[^].
—SA
这篇关于如何在ASP中更改网格视图中边框行和列的颜色以进行打印的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文