简体   繁体   中英

Issue related to Background image doesn't show in IE8 only

I have following CSS :

.rwWindowContent, .rwExternalContent
        {
            border-style: groove !important;
            border-width: 1px;
            border-radius: 10px;
            background-image: url(background.jpg) !important;
            border-color: GhostWhite;
        }

the backgound Image added in above css display well in Mozila,chrome, Safari, and IE9.. but it doesn't display in IE8 only..

as you can see in following Image all the styles related to Background has been removed by IE8 tool:

在此处输入图片说明

Is there any suggestions ??

make sure you saved you jpg in RGB mode instead of CMYK. hope this helps.

IE 8需要知道容器的宽度和高度(如果为空)。

I think better convert your image from .jpg to .png format. This may solve your problem.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM