DotNetNuke剥皮 [英] DotNetNuke Skinning

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

问题描述

我正在从DNN网站
阅读本教程 http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/2675/DotNetNuke-Skinning-101-Part-2.aspx

我发现本教程非常有用,但是当我尝试应用CSS样式时遇到了一个问题。例如,在初始index.html中添加内容窗格之后,我不知道将CSS放置在何处。如果我将其添加到头部,则解析器将其删除。
在哪里可以为皮肤添加或引用css文件?
谢谢。

I found the tutorial to be very useful, however there was an issue when I tried to apply the CSS style. For example after adding the content pane in the initial index.html I have no idea where to place the CSS. If I add it to the head section then the parser will remove it. Where could I add or reference the css file on for the skin? thank you.

推荐答案

不是DNN专家,而是:

Not a DNN specialist, but:

皮肤通常在skins\skin-name文件夹中包含一个名为 skin.css的样式表文件。

A skin normally contains a stylesheet file called "skin.css" in the skins\skin-name folder.

此样式表的引用适用于

要引用多个CSS文件,或添加具有不同名称的CSS文件,通常可以从skin.css文件中导入它们。

To reference multiple CSS files, or to add css files with different names, you normally @import them from the skin.css file.

这篇关于DotNetNuke剥皮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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