title: Text using image sprite and CSS
body: <p>Is is possible to use an image sprite for text on a webpage using CSS?</p>
  
  <p><img src="https://i.stack.imgur.com/7OPAp.gif" alt="font.gif"></p>
  
  <pre><code>&lt;html&gt;
      &lt;head&gt;
          &lt;style&gt;
          p { background-image: url('font.gif') }
          p 'character' { width: 4px; height: 5px }
          p 'a' { background-position: 0 0 }
          p 'b' { background-position: -6px 0 }
          p 'c' { background-position: -10px 0 }
          etc...
          &lt;/style&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;p&gt;This is some test text. It doesn't mean anything.&lt;/p&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>