The text replacement technique for images is a common occurrence for headings and page navigation, but there really aren't any pure cross-browser compatible CSS methods ( this is a good technique, but you should not rely on it).
If you have a finite amount of text to which you want to apply a texture, it is best to simply replace the text with images manually:
HTML:
<h1 class="title">Title</h1>
CSS
h1.title { background: url(images/title.gif) 0 0 no-repeat; width: 80px; height: 23px; text-indent: -10000px; }
source share