首页 > 编程 > .NET > 正文

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

2020-01-17 23:40:21
字体:
来源:转载
供稿:网友
如何在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就可以起作用了
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表