http://mikroautobusunuoma.org/
The positioning of the slider on the page is screwed up in all 3 major browsers. By turning off 'position:relative' (Element style) It seems to fix the issue (In Firebug, etc.) I have searched every file on the server and cannot find where the element style is though. I used Agent Ransack to search multiple terms to try to find the line of code, to no avail.
在所有3个主流浏览器中,滑块在页面上的位置都搞定了。通过关闭'position:relative'(元素样式)它似乎解决了问题(In Firebug等)我搜索了服务器上的每个文件,但找不到元素样式的位置。我使用Agent Ransack来搜索多个术语以试图找到代码行,但无济于事。
I am lost as where to go from here.
我迷路了,从这里开始。
This is a wordpress site with a built-in-theme Jquery Slider.
这是一个带有内置主题Jquery Slider的wordpress网站。
<div id="featured-slider" style="background-image: none; position: relative; overflow: hidden;">
element.style {
background-image: none;
overflow: hidden;
position: relative;
}
2 个解决方案
#1
31
Do position:static !important;
做位置:静态!重要;
This will overwrite any existing CSS and inline style.
这将覆盖任何现有的CSS和内联样式。
#2
0
Element.style is the inline style.
Element.style是内联样式。
If you add !important
it will overwrite the inline style but you will need to know the class/id, unless you can just change the inline style.
如果添加!important,它将覆盖内联样式,但您需要知道class / id,除非您只需更改内联样式。
#1
31
Do position:static !important;
做位置:静态!重要;
This will overwrite any existing CSS and inline style.
这将覆盖任何现有的CSS和内联样式。
#2
0
Element.style is the inline style.
Element.style是内联样式。
If you add !important
it will overwrite the inline style but you will need to know the class/id, unless you can just change the inline style.
如果添加!important,它将覆盖内联样式,但您需要知道class / id,除非您只需更改内联样式。