Hide empty img tags in IE
-
I duplicated and changed the the_category() function so that it now attaches an images with the categoryname to each post. This means that when a category has no image attached to it, the <img src=”…..”> will be displayed in the markup anyhow. In Mozilla this works ok, but in IE the <img src=”…..”> leads to this X mark to show that an image is not loaded properly.
Is there a way to stop IE from doing that?
I was happy to find a solution for myself for those categoryimages, but I forgot to check in IE, until this morning. Damn!
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Hide empty img tags in IE’ is closed to new replies.