问:我想知道的:
可以的。皮肤文件替换 CSS文件?有什么优势 。皮肤文件?
可以。皮肤文件提供更多 比CSS文件?
和
当使用在我的web皮肤文件 应用程序?
解决方案Asp.net皮肤是asp.net主题的一部分。从 MSDN文档:
主题是由一组的 元素:外观,级联样式 表(CSS),图像和其他 资源。至少,一个主题将 含有皮肤。主题定义在 在你的网站上的特殊目录 或您的Web服务器上。
皮肤被用来定义默认的标记asp.net服务器控件:
< ASP:按钮=服务器背景色=浅蓝色前景色=黑/>
而CSS被用来风格你本地的HTML元素的当然asp.net服务器控件(呈现为本地元素,CSS,也可以用于这些样式
Q: I want to know :
Can the .skin files replace the CSS files?What are the advantages of .skin files?
Can .skin files offer more than CSS files?
and
When to use skin files in my web application?
解决方案
Asp.net skins are one part of asp.net Themes. From the MSDN docs:
Themes are made up of a set of elements: skins, cascading style sheets (CSS), images, and other resources. At a minimum, a theme will contain skins. Themes are defined in special directories in your Web site or on your Web server.
Skins are used to define default markup for asp.net server controls:
<asp:button runat="server" BackColor="lightblue" ForeColor="black" />
whereas CSS is used to style your native HTML elements (of course asp.net server controls render as native elements so CSS can also be used to style these
上一篇:对于HttpWebRequest.Credentials建设CredentialCache时重定向是UKNOWN重定向、Credentials、HttpWebRequest、UKNOWN
下一篇:是否有可能更新与Syncfusion的DocIO lib中生成的Word文档的TOC(TableOfContents)?有可能、文档、DocIO、Syncfusion