gpt4 book ai didi

javascript - 嵌套面板元素内联样式问题

转载 作者:行者123 更新时间:2023-11-28 02:53:34 26 4
gpt4 key购买 nike

下面的表格在这里:

https://help.betterbathrooms.com/hc/en-us/requests/new

我试图解决这个问题,但当我点击查询类型时,嵌套面板元素似乎错位了。即使当我向下滚动时,面板似乎也会向下移动。

我尝试使用 jQuery 来解决这个问题:-

$("div.nesty-panel").removeAttr("style");

这似乎不起作用?

出于某种原因,即使在 css 中没有相关元素并且在 javascript 中也没有提及该元素,但嵌套面板中仍附加了内联样式元素?

谁能给我指出正确的方向

最佳答案

您的页面有以下错误,因此它可能是相关的,因为 .nesty-panel 类是在该 css 中定义的。

new:1 Failed to load https://p3.zdassets.com/hc/assets/application-a1fa96afa47eb18d40b332ccf9033704.css: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://help.betterbathrooms.com' is therefore not allowed access. new:1 Failed to load https://p3.zdassets.com/hc/themes/1461263/115001094349/style-cc5f2087504cccb7453e5aa91d721237.css?brand_id=2189269&locale=en-us: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://help.betterbathrooms.com' is therefore not allowed access. main.js:1 Our embeddable contains third-party, open source software and/or libraries. To view them and their license terms, go to http://goto.zendesk.com/embeddable-legal-notices

关于javascript - 嵌套面板元素内联样式问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46561065/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com