您好,欢迎来到99网。
搜索
您的当前位置:首页在Web用户控件中引用样式表中样式的方法

在Web用户控件中引用样式表中样式的方法

来源:99网


如何在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就可以起作用了

Copyright © 2019- 99spj.com 版权所有 湘ICP备2022005869号-5

违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务