Image replacement techniques

Two new ways of using CSS to replace the text of a header (or any other element) with an image have shown up. The older technique has the disadvantage of needing an extra <span> element wrapped around the text being replaced. Stuart Langridge and Seamus P. H. Leahy have independently of each other come up with a technique that does not require any extra code inserted into the HTML.