IE8 gradient filter not working if a background color exists

前端 未结 9 2206
梦毁少年i
梦毁少年i 2020-12-28 08:53

I\'m trying to use the following CSS styles. They are working on most browsers, including ie7. However in ie8, the transparent background does not show and instead I get th

9条回答
  •  感情败类
    2020-12-28 09:13

    The best solution that works for IE7 and IE8 is to use a gradient image and set repeat-x: true while putting it in the background. This works for all browser types that I have found.

提交回复
热议问题