Reputation: 3462
Please check the following link http://jsfiddle.net/BbkBf/
I got two questions:
1. why is the background-image not working for the first one (you may say it's a
tag is empty, but even then doesn't work).
2. why is the image not shown for the second img
tag?
Is it some wordpress problem?
Upvotes: 0
Views: 153
Reputation: 26554
Because the domain in which the image is hosted is protected against hotlinking, meaning they won't let you load the image from their domain unless you are inside their domain. try uploading it to a different domain.
See example: http://jsfiddle.net/BbkBf/3/
Upvotes: 2