【问题标题】:Where to change html code in Microsoft Dynamics CRM在 Microsoft Dynamics CRM 中更改 html 代码的位置
【发布时间】:2019-08-12 08:11:42
【问题描述】:

Microsoft Dynamics CRM,当前具有此代码的自定义 iframe:

<div id="mainContainer" class="classname_here" style="max-width: 1900px">

我能够使用时尚的浏览器扩展将 1900px 更改为 100%:

.classname_here {
    max-width: 100% !important;
}

我想在 Microsoft Dynamics CRM 中进行更改,可以吗?

还是 Microsoft Dynamics CRM 设置的 1900px 是一成不变的,无法更改?

谢谢!

【问题讨论】:

    标签: html css iframe dynamics-crm


    【解决方案1】:

    在 onLoad 事件脚本中试试这个:

    var container = parent.document.getElementById("mainContainer");
    if (container !== null)
        container.style = "max-width: 100%"; 
    

    但这是不受支持的方式

    【讨论】:

      【解决方案2】:
      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-09-22
      • 2015-04-24
      • 1970-01-01
      相关资源
      最近更新 更多