如何在Web用户控件中引用样式表中的样式

来源:互联网 发布:阿里云服务器老是掉线 编辑:程序博客网 时间:2024/06/06 04:03
如何在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就可以起作用了
原创粉丝点击