<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: abbr code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Mon, 06 Oct 2008 03:53:54 GMT</pubDate>
    <description>DZone Snippets: abbr code</description>
    <item>
      <title>abbr formatting</title>
      <link>http://snippets.dzone.com/posts/show/5227</link>
      <description>haml (easily transformed to css) snippet to format abbrs in a proper manner - you can still type them in ALL CAPS, but they will be displayed in Titlecase and small-caps. If you're using this, you're probably also using a custom face via @font-face, so you might want to explicitly declare the small-caps and lowercase variants of the typeface - the browser often fucks up auto-small-caps.&lt;br /&gt;&lt;br /&gt;also, not tested in internet explorer. nothing I write is.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;abbr&lt;br /&gt;  :display inline-block&lt;br /&gt;  :text-transform lowercase&lt;br /&gt;  :font-variant small-caps&lt;br /&gt;  &lt;br /&gt;  &amp;:first-letter&lt;br /&gt;    :text-transform uppercase&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Thu, 13 Mar 2008 21:13:51 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/5227</guid>
      <author>elliottcable (elliott cable)</author>
    </item>
  </channel>
</rss>
