应用CSS样式表 [英] Applying CSS style sheets

查看:73
本文介绍了应用CSS样式表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在尝试应用从Internet下载的CSS样式表模板.申请时,它无法在母版页和默认网页中正常显示.

谁能帮助C#中的代码?
:confused:

Hi,

I am trying to apply a CSS style sheets template which is downloaded from internet. While applying, it''s not coming properly in master page and in default web pages.

Could anyone help with code in C#?
:confused:

推荐答案

为什么C#应用CSS样式表,您是否尝试动态应用?如果是这样,请访问此站点 http://www.aspnettutorials.com/tutorials/themes/usingcss-csharp. aspx [^ ]
Hi, Why C# for applying CSS style sheets, are you trying to apply dynamically ? If so then refer this site http://www.aspnettutorials.com/tutorials/themes/usingcss-csharp.aspx[^]


尽管您的问题不是很清楚,但是即使您尝试过,CSS样式表也似乎没有被应用.

通常,当所引用的CSS文件不在预期的路径时,会发生这种情况.确保用于引用它的路径是正确和有效的.
如果需要,请使用此技术使其正确:在多文件夹网站 [ ^ ]
Though your question is not quite clear, looks like the CSS stylesheet is not being applied even though you have tried to.

Mostly, this happens when the CSS file referred is not at expected path. Make sure the path used to refer it is correct and valid.
if needed, use this technique to get it right: Resolving Paths in a Multi-Folder WebSite[^]


这篇关于应用CSS样式表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆