如何在asp.net中使用CSS [英] how to use css in asp.net
本文介绍了如何在asp.net中使用CSS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请给我一个CSS示例
推荐答案
您可以使用
CssClass
Asp.Net Control的属性.
You can use
CssClass
property of Asp.Net Control.
首先创建一个css文件,让我们说abc.css并在其中定义css属性,然后将此css文件放在相应的aspx页面上,并在控件属性上调用各自的cssclass
First create a css file, let us say abc.css and define there css attributes and drop this css file on respective aspx page and on control properties call the respective cssclass
在此处查看示例
http://dotnetguts.blogspot.in/2007/09/applying-css- to-aspnet-application.html [ ^ ]
See the example here
http://dotnetguts.blogspot.in/2007/09/applying-css-to-aspnet-application.html[^]
这篇关于如何在asp.net中使用CSS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文