<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>nasarik.com - one man&#039;s journey through life and design &#187; span</title>
	<atom:link href="http://nasarik.com/tag/span/feed/" rel="self" type="application/rss+xml" />
	<link>http://nasarik.com</link>
	<description>A web designer try&#039;s to make sense of web design and pretty much everything else</description>
	<lastBuildDate>Sun, 25 Jul 2010 20:18:07 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<image>
  <link>http://nasarik.com</link>
  <url>http://nasarik.com/wp-content/themes/sandbox/images/nasarikfav.jpg</url>
  <title>nasarik.com - one man&#039;s journey through life and design</title>
</image>
		<item>
		<title>Replacing text headers with images using CSS</title>
		<link>http://nasarik.com/2009/01/replacing-text-headers-with-images-using-css/</link>
		<comments>http://nasarik.com/2009/01/replacing-text-headers-with-images-using-css/#comments</comments>
		<pubDate>Sat, 17 Jan 2009 22:23:38 +0000</pubDate>
		<dc:creator>nasarik</dc:creator>
				<category><![CDATA[tutorials]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[engine]]></category>
		<category><![CDATA[h1]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[span]]></category>

		<guid isPermaLink="false">http://nasarik.com/?p=27</guid>
		<description><![CDATA[
The lack of fonts available to web designers is a constant source of frustration.  Don&#8217;t panic though, just over the horizon is CSS font embedding, until then here is a simple solution to help keep your pages looking good while still keeping those search engine&#8217;s happy.

Firstly here is the CSS, I will explain in more detail later.
h1 [...]]]></description>
			<content:encoded><![CDATA[<p><img class="post_images" src="http://farm4.static.flickr.com/3259/3232499192_195ab88b15.jpg?v=0" alt="" width="445" height="120" /></p>
<p>The lack of fonts available to web designers is a constant source of frustration.  Don&#8217;t panic though, just over the horizon is CSS font embedding, until then here is a simple solution to help keep your pages looking good while still keeping those search engine&#8217;s happy.</p>
<p><span id="more-27"></span></p>
<p>Firstly here is the CSS, I will explain in more detail later.</p>
<p>h1 {font: 18px  Arial, Helvetica, sans-serif; width:200px, height:100px; background: url(nasariklogo.jpg);}<br />
h1 span {display:none;}</p>
<p>And here is the HTML.</p>
<p>&lt;h1&gt;&lt;span&gt;nasarik.com tutorials life technology&lt;/span&gt;&lt;/h1&gt;</p>
<p>So here are the details, the h1 contains the background image that is to be displayed as well as the text style, the h1 span is requesting that nothing should display.  So all you need to do is reference your h1 in the body with your text inside, then to hide the text add the span, easy really.  There are variations on this theme, for instance instead of using display:none; you can use absolute positioning to move the text off the displaying document.</p>
<p>This would look like-</p>
<p>h1 span {position:absolute; left:-2000px;}</p>
<p>Both give the same effect, but I prefer the first option as it simplifies your code just that little bit.  There are however a number of alternatives which are covered on <a href="http://www.webdesignerwall.com/general/fonts-and-the-web/">Web Designer Wall.</a>  I am now waiting for CSS and web browsers to catch up so that we can start embedding our fonts.</p>
]]></content:encoded>
			<wfw:commentRss>http://nasarik.com/2009/01/replacing-text-headers-with-images-using-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
