开发者

Mysterious scroll-base-color style added at runtime in IE7

开发者 https://www.devze.com 2023-01-23 23:02 出处:网络
In IE7 - haven\'t checked IE6 - I havbe a legend element that shows up blue instead of white as it does in all other browsers.In IE\'s web developer toolbar, the color seems to be being set because of

In IE7 - haven't checked IE6 - I havbe a legend element that shows up blue instead of white as it does in all other browsers. In IE's web developer toolbar, the color seems to be being set because of a scroll-base-color style setting. The trouble is that I've never heard of that style setting. I'm certainly not using it.

When I trace the style, it chooses the html element's css definition. I've tried overwriting it using something like this:

html, body, fields开发者_StackOverflowet, legend {scroll-base-color: #FFFFFF !important;}

...doesn't work.

What is going on?


scroll-base-color is a nonstandard CSS property supported only by Internet Explorer and Opera. Try

html {
    scroll-base-color: #fff;
}

To get it to normal.

0

精彩评论

暂无评论...
验证码 换一张
取 消