在Web用户控件中引用样式表中样式的方法
更新时间:2021年9月22日 10:13 点击:1582
如何在Web用户控件中引用样式表中的样式
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="gl1.ascx.cs" Inherits="admin_gl1" EnableTheming="True" %>
< link href="../App_Themes/qiantai.css" rel="stylesheet" type="text/css" />
EnableTheming="True",加上这个,CSS就可以起作用了
复制代码 代码如下:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="gl1.ascx.cs" Inherits="admin_gl1" EnableTheming="True" %>
< link href="../App_Themes/qiantai.css" rel="stylesheet" type="text/css" />
EnableTheming="True",加上这个,CSS就可以起作用了
相关文章
- 这篇文章主要介绍了Asp.Net其他页面如何调用Web用户控件写的分页,需要的朋友可以参考下...2021-09-22
- 在Web用户控件中引用样式表中样式有很多方法,在本文将为大家介绍下具体实现...2021-09-22