Everything, Everything

2024: January February March April
2023: J F M A M J J A S O N D
2022: J F M A M J J A S O N D
2021: J F M A M J J A S O N D
2020: J F M A M J J A S O N D
2019: J F M A M J J A S O N D
2018: J F M A M J J A S O N D
2017: J F M A M J J A S O N D
2016: J F M A M J J A S O N D
2015: J F M A M J J A S O N D
2014: J F M A M J J A S O N D
2013: J F M A M J J A S O N D
2012: J F M A M J J A S O N D
2011: J F M A M J J A S O N D
2010: J F M A M J J A S O N D
2009: J F M A M J J A S O N D
2008: J F M A M J J A S O N D
2007: J F M A M J J A S O N D
2006: J F M A M J J A S O N D
2005: J F M A M J J A S O N D
2004: J F M A M J J A S O N D
Resizing SVG With Internet Explorer
Wednesday 30th March, 2016 17:59 Comments: 0
My code used to work in every browser. It used to work fine in Internet Explorer. It's stopped working in IE11 and Edge.

After a bit of fiddling, I found a very simple workaround. I saved the SVG file as PNG and modified the HTML to load the PNG version. Now it all works fine, although the PNG resizing using JavaScript isn't as smooth or pretty as the SVG version (which was why I went with SVG to begin with). I think it's safe to blame IE for not displaying SVG files properly, and I'm wondering if there's been a change in behaviour.
© Robert Nicholls 2002-2024
The views and opinions expressed on this site do not represent the views of my employer.
HTML5 / CSS3