MyBB Community Forums

Full Version: gradient CSS for IE9
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
*Thread title*

Does anyone know it, I have searched everywhere and cant find it! Im ripping my hair out over here! Toungue

I have got the IE10/8/7 gradient CSS but not 9.

Anyhelp is much appreciated! Smile
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);

Yes, it is a lot of code:
http://colorzilla.com/gradient-editor/
Why are you using datauris?

background-image: -ms-linear-gradient(top, #color1, #color2);
-ms-linear-gradient works for Internet Explorer 9?
(2011-10-28, 11:41 PM)Sama34 Wrote: [ -> ]-ms-linear-gradient works for Internet Explorer 9?

Nope it doesnt, Never mind now decided against gradients in my up coming theme!
(2011-10-29, 12:18 AM)Encore™ Wrote: [ -> ]Nope it doesnt, Never mind now decided against gradients in my up coming theme!

Just ignore IE at all, use background: colorname; for it..