Could it be related to that extra ; after the width= "auto"; declaration?
That looks a little strange.
Bonus tip: How to present code properly in a forum post
If you want to showcase either markdown, or code blocks, or dataview queries properly in a forum post, be sure to add one line before and one life after what you want to present with four backticks, ````. This will ensure that any other backticks (like for code blocks) is properly shown.
And simplifying the html when you want us to locate errors, might not be the best thing to do…