I'm testing a small site in multiple browsers and am getting different results with this code:
<img src="...path.." alt="text if image is missing" height="128" width="128" />
If the image is missing:
- Opera 10.0 (Presto) and Midori 0.1.2 (Webkit) will display the text within a 128x128 space;
- Firefox/Iceweasel 3.0.5 (Gecko) and KAzehakase 0.5.4 (libxul-1.9.0.5?) will display just the text, without filling a 128x128 space.
I could put the dimensions in CSS, but then i'd have to do that for every image i'd use... not practical.
Any suggestions? Any good resources for this type of problem?