Reputation: 1089
I got a problem with SVG backgrounds.
When I run my website locally on IE9 the svg-gradient shows. But when I upload my site the my webhost the gradients just don't work.
How do I fix this?
Upvotes: 0
Views: 1083
Reputation: 1089
Solved it.
I added a .htaccess file in the same folder as my .svg files with the following content:
AddType image/svg+xml svg
AddType image/svg+xml svgz
Upvotes: 2