I am trying to create an image button, but my code isn't working as expected. Here is the code I have:
<input type="image" name"lvl1_1" style="border:1px dotted #000000;" class="main" width="50" src="images/main/lvl1/1.png">
When I change the input type from 'image' to 'submit', it works but the image and effects disappear. I can't seem to find any issues with the code :/