【问题标题】:Change css clas in SQL Server Reporting Services更改 SQL Server Reporting Services 中的 css 类
【发布时间】:2018-02-07 09:09:35
【问题描述】:

我想在 SQL SSRS 中格式化类,名称为sqlrv-WaitControlBackground

我要居中,上位:

我设法在 Sharepoint CSS 中创建并添加类 sqlrv-WaitControlBackground 和属性:

.sqlrv-WaitControlBackground{
      margin: auto;
      width: 30%;
 }

但是效果不好。我想增加顶部的位置,但它不起作用。

【问题讨论】:

    标签: css sharepoint reporting-services ssrs-2012 reporting-services-2012


    【解决方案1】:

    我有自己的样式表 - 我从共享点添加到链接:&rc:Stylesheet=myStyle

    我用它是因为参数区太宽了:

    .ParametersFrame
    {
        background-color:#FFFFFF;   
        border: 0px solid #a4b7d8;
        width: 830px;
    }
    

    等待控件的样式被其他类覆盖 - 您可以在 DOM Explorer (IE F12) 中查看它,但您可以像这样使这个设置变得重要:

    .WaitControlBackground
    {
        cursor: wait;
        padding: 15px;
        background-color: #ebf3ff;
        border: 1px solid #a4b7d8;
        left: 300px !important; 
    }
    

    我希望这会有所帮助!

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-04-12
      • 2014-11-13
      • 1970-01-01
      相关资源
      最近更新 更多