I have a simple image tag with an incorrect URL
http://jsbin.com/monivava/1/edit
<img src="http://placekitten!!!.com/g/200/200">
The issue is that the default size for this unsuccessful image is 18x20 (at least in Webkit), but I want it to be 0px so if the image fails to load, it will take up zero space.
Is there a way to achieve this using only CSS/HTML?
Update:
I do not have any CSS width/height or HTML attributes for width/height (refer to the example above)
Update 2:
I am aware that this can be achieved with JavaScript, but I specifically stated that I am looking for a solution using only CSS/HTML.
Update 3:
I want to change the default size ONLY for images that fail to load. So if an image fails to load, its size should be 0px, and if it loads successfully, it should be 100px (for example).