如何将CSS代码添加到asp.net网站 [英] how to add css code into asp.net website
本文介绍了如何将CSS代码添加到asp.net网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
在项目中添加CSS:
在SolutionExplorer中 - >右键单击o project - >添加现有项目并选择样式表(CSS)。
在ASPX页面中使用CSS:
您需要添加ASPX页面中CSS文件的引用
< link href =Stylesheet.css =stylesheettype =text / css/>
添加新的css文件..
右键单击你的项目 - 添加新项目 - 选择样式表 - 点击确定
添加现有的.css文件..
右键单击您的项目 - 添加现有item - 浏览文件 - 单击Ok
查看此链接
检查更多信息
hai sir,this is voijaya durga.I am doing realtime project. how to add css file to asp.net project please send the quick reply sir
解决方案
Add CSS in project:
In SolutionExplorer --> Right click o project --> Add existing item and select Stylesheet(CSS).
Use CSS in ASPX page:
You need add refererence of CSS file in ASPX page
<link href="Stylesheet.css" rel="stylesheet" type="text/css" />
to add new css file..
right click on your project - Add new item - select stylesheet - click Ok
to add existing .css file..
right click on your project - Add existing item - browse for file - click Ok
Check this link
Check for more information
这篇关于如何将CSS代码添加到asp.net网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文