<?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>Sierra Image Works - Web Design &#38; Development Firm serving clients in San Francisco and San Jose</title>
	<atom:link href="http://www.sierrausa.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.sierrausa.com</link>
	<description>Sierra Image Works - Web Design &#38; Development Firm serving clients in San Francisco and San Jose</description>
	<lastBuildDate>Mon, 27 Jun 2011 17:07:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Hello world!</title>
		<link>http://www.sierrausa.com/archives/1</link>
		<comments>http://www.sierrausa.com/archives/1#comments</comments>
		<pubDate>Wed, 09 Mar 2011 06:01:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://66.147.244.203/~sierraus/?p=1</guid>
		<description><![CDATA[Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!]]></description>
			<content:encoded><![CDATA[<p>Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sierrausa.com/archives/1/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Any font on the web @font-face</title>
		<link>http://www.sierrausa.com/archives/115</link>
		<comments>http://www.sierrausa.com/archives/115#comments</comments>
		<pubDate>Mon, 18 Jan 2010 23:04:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Useful Code Snippets]]></category>

		<guid isPermaLink="false">http://sierrausa.com/blog/?p=115</guid>
		<description><![CDATA[1. Conver fonts of any type to to .eot font format: www.fontsquirrel.com/fontface/generator 2. Insert the following script into css file: @font-face { font-family: 'Eaves'; src: url('/fonts/MrsEavesItalic.eot'); src: local('MrsEaves Italic'), local('MrsEavesItalic'), url('/fonts/MrsEavesItalic.otf') format('opentype'); }]]></description>
			<content:encoded><![CDATA[<p>1. Conver fonts of any type to to .eot font format: <a href="http://www.fontsquirrel.com/fontface/generator">www.fontsquirrel.com/fontface/generator</a></p>
<p>2. Insert the following script into css file:</p>
<pre>@font-face { </pre>
<pre> font-family: 'Eaves';</pre>
<pre>src: url('/fonts/MrsEavesItalic.eot');</pre>
<pre>src: local('MrsEaves Italic'), local('MrsEavesItalic'), url('/fonts/MrsEavesItalic.otf') format('opentype');</pre>
<pre>}</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.sierrausa.com/archives/115/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to center absolute positioned element</title>
		<link>http://www.sierrausa.com/archives/107</link>
		<comments>http://www.sierrausa.com/archives/107#comments</comments>
		<pubDate>Tue, 01 Dec 2009 18:07:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS Tips]]></category>
		<category><![CDATA[Useful Code Snippets]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://sierrausa.com/blog/?p=107</guid>
		<description><![CDATA[Naturally an element with absolute positioning tends to be align to the left. To make that element float in the center horizontally use the following code: #elem { position: absolute; left: 0; right:0; } Unfortunately this does not work in &#8230; <a href="http://www.sierrausa.com/archives/107">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Naturally an element with absolute positioning tends to be align to the left. To make that element float in the center horizontally use the following code:</p>
<pre>#elem {
position: absolute; left: 0; right:0;
}</pre>
<p>Unfortunately this does not work in EI6-7</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sierrausa.com/archives/107/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaScript &#8211; clear value of input field</title>
		<link>http://www.sierrausa.com/archives/101</link>
		<comments>http://www.sierrausa.com/archives/101#comments</comments>
		<pubDate>Fri, 06 Nov 2009 18:22:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Useful Code Snippets]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://sierrausa.com/blog/?p=101</guid>
		<description><![CDATA[This useful code sets the value on an input field to nothing. &#60;input type="text" value="anything" onclick='this.value = "";' /&#62;]]></description>
			<content:encoded><![CDATA[<p>This useful code sets the value on an input field to nothing.</p>
<pre>&lt;input type="text" value="anything" onclick='this.value = "";' /&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.sierrausa.com/archives/101/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Applying two background images</title>
		<link>http://www.sierrausa.com/archives/91</link>
		<comments>http://www.sierrausa.com/archives/91#comments</comments>
		<pubDate>Sun, 25 Oct 2009 19:42:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS Tips]]></category>
		<category><![CDATA[Useful Code Snippets]]></category>

		<guid isPermaLink="false">http://sierrausa.com/blog/?p=91</guid>
		<description><![CDATA[To apply two images to  HTML page background you can use the following code: html { height: 100%; background:url(bg.gif); } body { margin:0; background:url(bg_content.gif) repeat-y center top; min-height:100% !important; height: 100%; } min-height:100% &#8211; allows the background image to stretch &#8230; <a href="http://www.sierrausa.com/archives/91">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>To apply two images to  HTML page background you can use the following code:</p>
<pre>html {
 height: 100%;
 background:url(bg.gif);
}

body {
 margin:0;
 background:url(bg_content.gif) repeat-y center top;
 min-height:100% !important;
 height: 100%;
}</pre>
<p>min-height:100% &#8211; allows the background image to stretch beyond the 100% window height if the page content is longer</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sierrausa.com/archives/91/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Special HTML Character for Bullet List</title>
		<link>http://www.sierrausa.com/archives/76</link>
		<comments>http://www.sierrausa.com/archives/76#comments</comments>
		<pubDate>Fri, 09 Oct 2009 00:22:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS Tips]]></category>
		<category><![CDATA[Useful Code Snippets]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://sierrausa.com/blog/?p=76</guid>
		<description><![CDATA[This is a best way to use a special character as a bullet for lists in CSS: li:before {     content: "0BB 020";  /* » for example } When using these characters, like », it is necessary to encode them &#8230; <a href="http://www.sierrausa.com/archives/76">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This is a best way to use a special character as a bullet for lists in <strong class="highlight">CSS: </strong></p>
<pre><strong class="highlight">
</strong><span style="color: #333333;"><span style="color: #333333;">li:before {
    content: " 0BB  020";</span>  /* </span> » for example</pre>
<pre><span style="color: #333333;">}</span></pre>
<p>When using these characters, like », it is <a title="Read more at w3.org" href="http://www.w3.org/TR/REC-CSS2/syndata.html#escaped-characters" target="_blank">necessary to encode them</a> as their escaped <a title="hex and html# codes for ascii characters" href="http://www.ascii.cl/htmlcodes.htm" target="_blank">HEX equivalents</a>. Unfortunately this doesn&#8217;t work in IE7 and the previous versions. So If you want it to be cross-browser use an image instead.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sierrausa.com/archives/76/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaScript body ID refference</title>
		<link>http://www.sierrausa.com/archives/57</link>
		<comments>http://www.sierrausa.com/archives/57#comments</comments>
		<pubDate>Wed, 26 Aug 2009 18:24:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Useful Code Snippets]]></category>

		<guid isPermaLink="false">http://sierrausa.com/blog/?p=57</guid>
		<description><![CDATA[Addressing an individual page  based on its ID is possible with the following JavaScript code: if (document.body.id == "ID") { do something; }]]></description>
			<content:encoded><![CDATA[<p>Addressing an individual page  based on its ID is possible with the following JavaScript code:</p>
<pre><span style="color: #333333;">if (document.body.id == "ID") {</span></pre>
<pre><span style="color: #333333;"> do something;
}</span></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.sierrausa.com/archives/57/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a link with JavaScript</title>
		<link>http://www.sierrausa.com/archives/54</link>
		<comments>http://www.sierrausa.com/archives/54#comments</comments>
		<pubDate>Wed, 26 Aug 2009 18:19:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Useful Code Snippets]]></category>

		<guid isPermaLink="false">http://sierrausa.com/blog/?p=54</guid>
		<description><![CDATA[Using this JavaScript snippet makes it possible to create a link out of a  non-link element: &#60;div id="fakeLink" onclick="location.href='url'"&#62;&#60;/div&#62; But the above code does not convert the cursor to a hand, so it is best practice to do in with &#8230; <a href="http://www.sierrausa.com/archives/54">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Using this  JavaScript snippet makes it possible to create a link out of a  non-link element:</p>
<pre><span style="color: #003366;"><span style="color: #333333;">&lt;div id="fakeLink" onclick="location.href='url'"&gt;&lt;/div&gt;
</span>
</span></pre>
<p><span style="color: #000000;">But the above code does not convert the  cursor to a hand, so it is best practice to do in with CSS  in order for the users to be able to see the hot spot.<br />
</span></p>
<pre><span style="color: #333333;">#fakeLink {</span></pre>
<pre><span style="color: #333333;">   cursor:pointer;</span></pre>
<pre><span style="color: #333333;">}</span></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.sierrausa.com/archives/54/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating favicon</title>
		<link>http://www.sierrausa.com/archives/47</link>
		<comments>http://www.sierrausa.com/archives/47#comments</comments>
		<pubDate>Wed, 26 Aug 2009 18:03:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Useful Code Snippets]]></category>

		<guid isPermaLink="false">http://sierrausa.com/blog/?p=47</guid>
		<description><![CDATA[The following four steps briefly describe how to create a favorites icon for your website. 1.  Create 16px X 16px square image and call it &#8220;favicon.png&#8221; (the name could be anything) 2.  Go to www.convertico.com and convert that image to &#8230; <a href="http://www.sierrausa.com/archives/47">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The following four steps briefly describe how to create a favorites icon for your website.</p>
<p>1.  Create 16px X 16px square image and call it &#8220;favicon.png&#8221; (the name could be anything)</p>
<p>2.  Go to <a href="http://www.convertico.com" target="_blank">www.convertico.com</a> and convert that image to &#8220;favicon.ico&#8221;</p>
<p>3.  Place the&#8221; favicon.ico&#8221; in the root of the site</p>
<p>4.  Create a link in the <span style="color: #003366;"><span style="color: #333333;">&lt;head&gt;</span> </span>of the document:</p>
<pre><span style="color: #333333;">&lt;link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /&gt; </span></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.sierrausa.com/archives/47/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating various includes</title>
		<link>http://www.sierrausa.com/archives/38</link>
		<comments>http://www.sierrausa.com/archives/38#comments</comments>
		<pubDate>Wed, 26 Aug 2009 17:51:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Useful Code Snippets]]></category>

		<guid isPermaLink="false">http://sierrausa.com/blog/?p=38</guid>
		<description><![CDATA[This is a PHP include code: &#60;?php include("inc/filename.php"); ?&#62; Using absolute path for PHP include code: &#60;?php include $_SERVER['DOCUMENT_ROOT'] . '/inc/filename.php'; ?&#62; This is a ASP include code: &#60;!--#include file="inc/filename.inc"--&#62; This is a Server Side HTML include code (the document &#8230; <a href="http://www.sierrausa.com/archives/38">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This is a PHP include code:</p>
<pre><span style="color: #003366;"><span style="color: #333333;">&lt;?php include("inc/filename.php"); ?&gt;
</span>
</span></pre>
<p>Using absolute path for PHP include code:</p>
<pre><span style="color: #333333;">&lt;?php include $_SERVER['DOCUMENT_ROOT'] . '/inc/filename</span><span style="color: #003366;"><span style="color: #333333;">.php'; ?&gt;
</span>
</span></pre>
<p>This is a ASP include code:</p>
<pre><span style="color: #003366;"><span style="color: #333333;">&lt;!--#include file="inc/filename.inc"--&gt;</span>
</span></pre>
<p>This is a Server Side HTML include code (the document containing this code <strong>must</strong> be saved as .shtml):</p>
<pre><span style="color: #333333;">&lt;!--#include virtual="inc/filename.html" --&gt;</span></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.sierrausa.com/archives/38/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
