1 Reply Latest reply: Feb 18, 2014 3:29 PM by Ben Pleysier RSS

    css gradient

    westwm Community Member

      Hi guys just a quick question

       

      does IE8 or above recognise css gradients?

       

      the following page uses a grad behind the images in an article div by setting the background-image/linear-gradient option in css but it does not show in IE8...http://i99.photobucket.com/albums/l282/vrbucket/Misc/ie9.jpg

       

       

      firefox27 etc is fine.

      http://i99.photobucket.com/albums/l282/vrbucket/Misc/firefox27.jpg

        • 1. Re: css gradient
          Ben Pleysier CommunityMVP

          There's an issue with IE7/8 that they don't set the gradient background if the element doesn't have height defined (hasLayout).

           

          Try adding zoom: 1. If it doesn't work, you'll probably have to set a height, so try height: 100%.