I am trying to use a [`:before` pseudo element](http://www.w3.org/TR/CSS2/generate.html#before-after-content) with an `img` element.

Consider this HTML and CSS...

### HTML

```
<img src="http://0.gravatar.com/avatar/this-is-not-a-hash" alt="" />

```

### CSS

```
img:before {
  content: "hello";
}

```

[jsFiddle](http://jsfiddle.net/LPt7m/).

This does not produce the desired effect (tested in Chrome 13 and Firefox 6). However, it works with a `div` or `span` element.

Why not?

Is there a way to make pseudo elements work with `img` elements?