如何在ASP.net页面中自动应用CSS? [英] How can i automatically apply the CSS in ASP.net Page?

查看:105
本文介绍了如何在ASP.net页面中自动应用CSS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!开发人员,

Hi! Developers,
How can i have a common CSS that can identify the element and gets applied over it automatically, instead of identifying the elements separately and applying CSS to it, can any one help me with this?

推荐答案


使用Theme ="Lims"在您的页面级别添加Theme属性
Hi
Using Theme="Lims" add the Theme attribute at your page level
<%@ Page Title="" Language="C#" MasterPageFile="~/Lims/MasterPages/Mid.master" AutoEventWireup="true"

    CodeFile="LoginSample.aspx.cs" Inherits="Lims_SampleControl_LoginSample" Theme="Lims"

    EnableEventValidation="false" %>




如有任何疑问,请让我知道.

请提供"投票":thumbsup:如果有帮助,请提供"接受答案",如果这是正确的答案.:rose:

谢谢,
Imdadhusen




Please do let me know, if you have any doubt.

Please provide "Vote":thumbsup: if this would be helpful, and make "Accept Answer" if this would be correct answer.:rose:

Thanks,
Imdadhusen


此处 [ ^ ].


这篇关于如何在ASP.net页面中自动应用CSS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆