您现在的位置是:网站首页> 编程资料编程资料
在Web用户控件中引用样式表中样式的方法_实用技巧_
2023-05-24
318人已围观
简介 在Web用户控件中引用样式表中样式的方法_实用技巧_
如何在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就可以起作用了
