Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

Linear Gradient in IE8 no-repeat fixed center

$
0
0

Hello,

I am trying to create a linear gradient background for my website that is compatible with IE8.

I want the IE8 equivalent of:

background: radial-gradient(#198548,#FFFFFF) no-repeat fixed center;

I managed to create a linear gradient with:

filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#198548', EndColorStr='#FFFFFF');

However, I need it to be no-repeat fixed center since my page extends as I scroll the page (paging). Whenever this happens, the background eventually turns completely white. 

 jsFiddle: jsfiddle.net/urzur/FECv7 . It is important that you run this fiddle on your regular browser and then see it using jsfiddle draft in IE8 (jsfiddle.net/draft). More information about jsfiddle drag can be found: doc.jsfiddle.net/basic/introduction.htm

Any help with this will be greatly appreciated. 

Thanks!


Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>