<?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>Denver SEO Blog &#187; CSS</title>
	<atom:link href="http://www.seodenver.com/category/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.seodenver.com</link>
	<description>Websites designed and optimized for results.</description>
	<lastBuildDate>Fri, 10 Feb 2012 14:53:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>The Google +1 Sprite Animation</title>
		<link>http://www.seodenver.com/google-plus-1-sprite-animation/</link>
		<comments>http://www.seodenver.com/google-plus-1-sprite-animation/#comments</comments>
		<pubDate>Thu, 09 Jun 2011 21:03:06 +0000</pubDate>
		<dc:creator>Zack Katz</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Google +1]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[SEO Stylesheet]]></category>

		<guid isPermaLink="false">http://www.seodenver.com/?p=2266</guid>
		<description><![CDATA[How the +1 Button Works The +1 Button uses an advanced sprite technique to simulate an animated gif. The animation occurs when hovering over search results with +1 enabled, and the shine moves across the button. (The image to the &#8230; <a href="http://www.seodenver.com/google-plus-1-sprite-animation/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://www.seodenver.com/googles-sprite-image-is-a-thing-of-beauty/' rel='bookmark' title='Google&#8217;s Sprite Image is a Thing of Beauty'>Google&#8217;s Sprite Image is a Thing of Beauty</a></li>
<li><a href='http://www.seodenver.com/prevent-google-background-image-fading-slowly/' rel='bookmark' title='How to prevent your Google background image from fading in slowly.'>How to prevent your Google background image from fading in slowly.</a></li>
<li><a href='http://www.seodenver.com/seo-stylesheet/' rel='bookmark' title='Introducing: the SEO Stylesheet for Safari, Firefox, Opera, and IE'>Introducing: the SEO Stylesheet for Safari, Firefox, Opera, and IE</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<h2>How the +1 Button Works</h2>
<p><img src="http://www.seodenver.com/wp-content/uploads/2011/06/Google-plus-1.gif" alt="Google +1 Button" title="The animation slowed down and made into an actual animated gif!" width="24" height="15" class="size-full wp-image-2285 alignright" /> The <a href="http://www.google.com/+1/button/">+1 Button</a> uses an advanced sprite technique to simulate an animated <code>gif</code>. The animation occurs when hovering over search results with +1 enabled, and the shine moves across the button. <em>(The image to the right is an animated <code>gif</code> I made&#8230;)</em></p>
<p>The +1 Button is not an animated <code>gif</code>, however. It&#8217;s a sprite image that moves a background image across the &#8220;window&#8221; of the button using Javascript. The code, if you care, goes something like this:</p>
<p><code>onmouseover=&quot;window.gbar&amp;&amp;gbar.pw&amp;&amp;gbar.pw.hvr(this,google.time())&quot;</code></p>
<p>The <a href="http://www.seodenver.com/tag/css-sprites/">sprite</a> image Google uses for the +1 button is below:</p>
<p><img src="http://www.seodenver.com/wp-content/uploads/HLIC/8c8b82d7f2b18814f57dcf330ca330a7.png" alt="Google +1 Sprite" width="499" height="15" title="Google +1 Sprite is here: http://www.google.com/images/experiments/p1/p1sprite.png" /></p>
<p>Pretty neat, huh?</p>
<h2>Yeah, the +1 Button animation is pretty neat&#8230;<br />&#8230;now turn it off!</h2>
<p>Oh goodness gracious, the animation is annoying. After hovering over one search result, it&#8217;s obvious how awful the animation is and I want to claw my eyes out with a rusty nail. I wanted to find a way to disable the animation.<span id="more-2266"></span></p>
<p><strong>Note: To use the code below, you must have a user stylesheet</strong> with the code shown added to the file. Here are links that will help you set it an user stylesheet: <a href="http://yoast.com/user-stylesheet-nofollows/">Safari</a>, <a rel="nofollow" href="http://msdn.microsoft.com/en-us/library/bb158570.aspx">Internet Explorer</a>, <a rel="nofollow" href="http://webdesign.about.com/od/css/ht/htcssuserfirefo.htm">Firefox</a>, <a href="http://operawiki.info/OperaUserCSS" rel="nofollow">Opera</a>. Set that up, and then proceed below!</p>
<h3>Disable the +1 Button Animation</h3>
<p><code>.esws { background-position: -400px 0px!important; } /* Disables animation of the +1 button */</code></p>
<h3>Hide the +1 Button</h3>
<p><code>.esw { display:none!important; } /* Hides the +1 Button completely */</code></p>
<h2>Improve the +1 Button</h2>
<p>I want to use the +1 Button, so I&#8217;ve left it enabled. What I&#8217;ve done, however, is make the image lighter so it stands out less when you hover over a listing. When you hover over the button, it increases the brightness to 100%. <strong>It&#8217;s the best of both worlds:</strong></p>
<p><code>/* Disabled the animation, makes the +1 button lighter yet full brightness on hover */<br />
.esws, .eswh { background-position: -300px 0px!important; }<br />
.eswh:hover { background-position: -400px 0px!important; }</code></p>
<p>I hope this helps people who love the +1 Button but hate the animation.</p>
<p>Related posts:<ol>
<li><a href='http://www.seodenver.com/googles-sprite-image-is-a-thing-of-beauty/' rel='bookmark' title='Google&#8217;s Sprite Image is a Thing of Beauty'>Google&#8217;s Sprite Image is a Thing of Beauty</a></li>
<li><a href='http://www.seodenver.com/prevent-google-background-image-fading-slowly/' rel='bookmark' title='How to prevent your Google background image from fading in slowly.'>How to prevent your Google background image from fading in slowly.</a></li>
<li><a href='http://www.seodenver.com/seo-stylesheet/' rel='bookmark' title='Introducing: the SEO Stylesheet for Safari, Firefox, Opera, and IE'>Introducing: the SEO Stylesheet for Safari, Firefox, Opera, and IE</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.seodenver.com/google-plus-1-sprite-animation/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>How to prevent your Google background image from fading in slowly.</title>
		<link>http://www.seodenver.com/prevent-google-background-image-fading-slowly/</link>
		<comments>http://www.seodenver.com/prevent-google-background-image-fading-slowly/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 17:29:58 +0000</pubDate>
		<dc:creator>Zack Katz</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[load time]]></category>
		<category><![CDATA[User Stylesheets]]></category>

		<guid isPermaLink="false">http://www.seodenver.com/?p=1611</guid>
		<description><![CDATA[Google + slow loading = not worth having background images. In trying to keep their homepage as minimal as possible, in December Google switched to fading in the home page links only on an event: moving your mouse or tabbing &#8230; <a href="http://www.seodenver.com/prevent-google-background-image-fading-slowly/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://www.seodenver.com/googles-sprite-image-is-a-thing-of-beauty/' rel='bookmark' title='Google&#8217;s Sprite Image is a Thing of Beauty'>Google&#8217;s Sprite Image is a Thing of Beauty</a></li>
<li><a href='http://www.seodenver.com/prevent-loading-wpdownloadmanagers-css-file/' rel='bookmark' title='How to Prevent Loading WP-DownloadManager&#8217;s CSS File'>How to Prevent Loading WP-DownloadManager&#8217;s CSS File</a></li>
<li><a href='http://www.seodenver.com/seo-google-profiles-google-adds-nofollow-to-links/' rel='bookmark' title='SEO Google Profiles &#8211; Google Adds NoFollow to Links'>SEO Google Profiles &#8211; Google Adds NoFollow to Links</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<img class="post_image aligncenter" src="http://www.seodenver.com/wp-content/uploads/2010/06/1281342_69909012-e1275931572733.jpg" width="500" height="216" alt="Google fade-in loads slowly. Real slowly." /><h3>Google + slow loading = not worth having background images.</h3>
<p>In trying to keep their homepage as minimal as possible, in December <a href="http://googleblog.blogspot.com/2009/12/now-you-see-it-now-you-dont.html">Google switched to fading</a> in the home page links only on an event: moving your mouse or tabbing out of the search box. This was fine when the home page was only white, as it wasn&#8217;t taxing on computers to fade in on white.</p>
<p>Now that <a href="http://googleblog.blogspot.com/2010/06/freeze-frame.html">Google allows for custom image backgrounds</a> (likely in response to how beautiful the <a href="http://www.bing.com">Bing</a> backgrounds are), the fading in process can be tedious, even using blazing-fast Chrome. I can only imagine what users using Internet Explorer 6 are going through: fading in images takes a lot of work and time!</p>
<p>This was annoying me, so I made a quick modification to my <a href="http://www.seodenver.com/seo-stylesheet/">SEO Stylesheet</a> (a Custom Stylesheet to display search results and no-follow nicely in Safari, IE and Firefox). This mod will make the image load solid, with no fading or resulting lag.<span id="more-1611"></span></p>
<h3>Add to your User Stylesheet CSS file:</h3>
<pre lang="css">#fpdi,#cpBackgroundImg &#123; opacity: 1.0!important; &#125;</pre>
<p>Once the image loads, it will be displayed as solid, and Google will be fast-loading again.</p>
<p>For more information on user stylesheets, check out the <a href="http://www.seodenver.com/seo-stylesheet/">SEO Stylesheets post</a>.</p>
<h3>To prevent the home page links from being hidden&#8230;</h3>
<p>If you want to prevent the new &#8220;fade-in&#8221; look, use the following code in your user stylesheet instead:</p>
<pre>#ghead *, span#footer center#fctr, #fpdi,#cpBackgroundImg &#123; opacity: 1.0!important; &#125;</pre>
<h3>Updated</h3>
<p>I realized that when logged out and logged in, Google changes the ID of the background image. I&#8217;ve updated to code from <code>#cpBackgroundImg</code> to <code>#fpdi,#cpBackgroundImg</code> to reflect that.</p>
<p>Related posts:<ol>
<li><a href='http://www.seodenver.com/googles-sprite-image-is-a-thing-of-beauty/' rel='bookmark' title='Google&#8217;s Sprite Image is a Thing of Beauty'>Google&#8217;s Sprite Image is a Thing of Beauty</a></li>
<li><a href='http://www.seodenver.com/prevent-loading-wpdownloadmanagers-css-file/' rel='bookmark' title='How to Prevent Loading WP-DownloadManager&#8217;s CSS File'>How to Prevent Loading WP-DownloadManager&#8217;s CSS File</a></li>
<li><a href='http://www.seodenver.com/seo-google-profiles-google-adds-nofollow-to-links/' rel='bookmark' title='SEO Google Profiles &#8211; Google Adds NoFollow to Links'>SEO Google Profiles &#8211; Google Adds NoFollow to Links</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.seodenver.com/prevent-google-background-image-fading-slowly/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Generate CSS Body Classes in Interspire Shopping Cart</title>
		<link>http://www.seodenver.com/generate-css-body-classes-interspire-shopping-cart/</link>
		<comments>http://www.seodenver.com/generate-css-body-classes-interspire-shopping-cart/#comments</comments>
		<pubDate>Thu, 20 May 2010 16:18:10 +0000</pubDate>
		<dc:creator>Zack Katz</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Interspire]]></category>
		<category><![CDATA[body_class]]></category>
		<category><![CDATA[Interspire Customization]]></category>
		<category><![CDATA[Interspire Development]]></category>
		<category><![CDATA[Interspire Shopping Cart]]></category>
		<category><![CDATA[Interspire Shopping Cart Mod]]></category>

		<guid isPermaLink="false">http://www.seodenver.com/?p=1599</guid>
		<description><![CDATA[If you&#8217;re used to WordPress&#8217; body_class() function, this post for you. Working with WordPress, it&#8217;s easy to get accustomed to some of its nice features, like the body_class() function introduced in WP 2.8. When working with Interspire Shopping Cart, I &#8230; <a href="http://www.seodenver.com/generate-css-body-classes-interspire-shopping-cart/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://www.seodenver.com/customers-also-bought-interspire-cart/' rel='bookmark' title='Add &#8216;Customers Also Purchased&#8217; to the Cart Page on Interspire Shopping Cart'>Add &#8216;Customers Also Purchased&#8217; to the Cart Page on Interspire Shopping Cart</a></li>
<li><a href='http://www.seodenver.com/interspire-shopping-cart-edit-product-link/' rel='bookmark' title='How to Add an `Edit Product` Link for Interspire Shopping Cart'>How to Add an `Edit Product` Link for Interspire Shopping Cart</a></li>
<li><a href='http://www.seodenver.com/preview-hidden-products-in-interspire-shopping-cart/' rel='bookmark' title='Preview Hidden Products in Interspire Shopping Cart'>Preview Hidden Products in Interspire Shopping Cart</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<img class="post_image aligncenter" src="http://www.seodenver.com/wp-content/uploads/2010/05/63758_9746-e1274371823859.jpg" width="500" height="231" alt="Interspire CSS Body Class" />
<h2>If you&#8217;re used to WordPress&#8217; <code>body_class()</code> function, this post for you.</h2>
<p>Working with WordPress, it&#8217;s easy to get accustomed to some of its nice features, like the <a href="http://codex.wordpress.org/Template_Tags/body_class">body_class() function</a> introduced in WP 2.8. When working with <a href="http://www.interspire.com/240-2-1-7.html">Interspire Shopping Cart</a>, I wanted the same level of information added to the page&#8217;s <code>&lt;body&gt;</code> tag.<span id="more-1599"></span></p>
<h2>Let&#8217;s do this in three stages:</h2>
<h3>1. Generate the body class</h3>
<p>Starting from Dave Beck&#8217;s great <a href="http://www.shoppingcartstrategies.com/interspire/seo-index-module/">canonical link module</a>, I modified the code to create a list of classes based on what page is being viewed. This provides a lot of great information:</p>
<ul>
<li>Brand
<ul>
<li>Brand ID</li>
<li>Brand name</li>
</ul>
</li>
<li>Category
<ul>
<li>Category ID</li>
<li>Category Name</li>
</ul>
</li>
<li>Home</li>
<li>Page
<ul>
<li>Page ID</li>
<li>Page Name</li>
</ul>
</li>
<li>Sorted/Filtered/Paginated
<ul>
<li>Shop by Price</li>
<li>Tag</li>
<li>Sort type</li>
<li>Page number</li>
</ul>
</li>
<li>Checkout/Account
<ul>
<li>Cart</li>
<li>Gift Certificate</li>
<li>Login</li>
<li>Search</li>
<li>SSL</li>
<li>Wishlist</li>
</ul>
</li>
</ul>
<p>This is very helpful stuff for custom styling using CSS.</p>
<h4>Add to the bottom of the <code>/lib/general.php</code> file:</h4>
<pre lang="php">function BodyClass() {
	$bodyClass = array();

	if(isset($GLOBALS['ISC_CLASS_BRANDS'])) {
		$bodyClass[] = 'brand';
		$bodyClass[] = "brandID-".$GLOBALS['ISC_CLASS_BRANDS']-&gt;GetId();
		$bodyClass[] = "brandName-".$GLOBALS['ISC_CLASS_BRANDS']-&gt;GetBrandName();
	}

	if(isset($GLOBALS['ISC_CLASS_CATEGORY']) &amp;&amp; isset($GLOBALS['CatId'])) {
		$bodyClass[] = 'category';
		$bodyClass[] = "catID-{$GLOBALS['CatId']}";
		$bodyClass[] = "catName-".$GLOBALS['ISC_CLASS_CATEGORY']-&gt;GetName();
	}

	if(isset($GLOBALS['ISC_CLASS_INDEX'])) {
		$bodyClass[] = "home";
	}

	if(isset($GLOBALS['ISC_CLASS_PRODUCT']) &amp;&amp; $GLOBALS['ISC_CLASS_PRODUCT']-&gt;GetProductId() &gt; 0) {
		$bodyClass[] = 'product';
		$bodyClass[] = "productID-".$GLOBALS['ISC_CLASS_PRODUCT']-&gt;GetProductId();
		$bodyClass[] = "productName-".$GLOBALS['ISC_CLASS_PRODUCT']-&gt;GetProductName();
	}

	if(isset($GLOBALS['ISC_CLASS_PAGE']) &amp;&amp; !isset($GLOBALS['ISC_CLASS_INDEX']) &amp;&amp; $GLOBALS['ISC_CLASS_PAGE']-&gt;GetPageId() &gt; 0) {
		$bodyClass[] = 'page';
		$bodyClass[] = "pageID-".$GLOBALS['ISC_CLASS_PAGE']-&gt;GetPageId();
		$bodyClass[] = "pageName-".$GLOBALS['ISC_CLASS_PAGE']-&gt;GetPageTitle();
	}

	if(isset($GLOBALS['PriceMin']) &amp;&amp; isset($GLOBALS['PriceMax'])) {
		$bodyClass[] = 'price';
		$bodyClass[] = "shopByPrice";
	}

	if(isset($GLOBALS['ISC_CLASS_TAGS'])) {
		$bodyClass[] = 'tag';
		$bodyClass[] = "productTags";
	}

	if(isset($_REQUEST['page']) &amp;&amp; !empty($_REQUEST['page'])) {
		$bodyClass[] = 'paginated';
		$bodyClass[] = 'page'.(int)$_REQUEST['page'];
	}

	if(isset($_REQUEST['sort']) &amp;&amp; !empty($_REQUEST['sort'])) {
		$bodyClass[] = 'sort';
		$bodyClass[] = 'sort'.ucfirst($_REQUEST['sort']);
	}

	$current_url = $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];

		$noindex_url = str_replace("http://", "", $GLOBALS['ShopPathNormal'].'/cart.php');
		if($current_url == $noindex_url) {
			$bodyClass[] = "cart";
		}

		$noindex_url = str_replace("http://", "", $GLOBALS['ShopPathNormal'].'/giftcertificates.php');
		if($current_url == $noindex_url) {
			$bodyClass[] = "giftCertificates";
		}

		$noindex_url = str_replace("http://", "", $GLOBALS['ShopPathNormal'].'/login.php');
		if($current_url == $noindex_url) {
			$bodyClass[] = "login";
		}

		$noindex_url = str_replace("http://", "", $GLOBALS['ShopPathNormal'].'/search.php');
		$split_url = explode('?', $current_url);
		$split_url = $split_url[0];
		if($split_url == $noindex_url) {
			$bodyClass[] = "search";
		}

		$noindex_url = str_replace("http://", "", $GLOBALS['ShopPathNormal'].'/login.php?from=wishlist.php%3F');
		if($current_url == $noindex_url) {
			$bodyClass[] = "wishList";
		}

		if(($GLOBALS['ISC_CFG']["UseSSL"] &gt;= 1) &amp;&amp; ($_SERVER['HTTPS'] == 'on')) {
			$bodyClass[] = "ssl";
		}
	$i = 0;
	foreach($bodyClass as $class) {
		$class = preg_replace('/\%[0-9]{2}/', '', $class); //mixed pattern, mixed replacement, mixed subject [, int limit [, int &amp;count]])
		$class = str_replace(array('+','\'',' ','&lt;','&gt;','&amp;'),'', $class);
		$bodyClass[$i] = $class;
		$i++;
	}
	$bodyClass = implode(' ', $bodyClass);

	// WordPress integration
	if(function_exists('get_body_class')) {
		$wpBodyClass = get_body_class();
		$wpBodyClass = implode(' ', $wpBodyClass);
		$wpBodyClass = str_replace('home', '', $wpBodyClass);
		$wpBodyClass = trim($wpBodyClass);
		if(!empty($WPBodyClass)) {
			$bodyClass .= ' blog wordpress '.$wpBodyClass;
		}
	}

	return $bodyClass;
}</pre>
<h3>2. Generate the global variable <code>BodyClass</code></h3>
<p>Since code placed in <code>general.php</code> is available to every script in the cart, we can use the result of the function in the script that generates the website&#8217;s <code>&lt;head&gt;</code>, <code>HTMLHead.php</code>. We&#8217;re going to create a global variable named <code>BodyClass</code>, and add it to our template.</p>
<h4>Add to the bottom of the <code>/includes/display/HTMLHead.php</code> file:</h4>
<pre>$GLOBALS['BodyClass'] = ' class="'.BodyClass().'"';</pre>
<h3>3. Add to your template</h3>
<p>Now the not-terribly-fun part: in every template file, find <code>&lt;body&gt;</code> and replace with <code>&lt;body%%GLOBAL_BodyClass%%&gt;</code> &#8212; you may need to go into the <code>__master</code> folder to do this, depending on your setup.</p>
<p>This will generate CSS classes like this: <code>&lt;body class="category catID-123 catName-Example"&gt;</code>, and will give you microscopic control over your template&#8217;s styling.</p>
<h2>How would you do it?</h2>
<p>Manually adding the <code>BodyClass</code> variable into each template is cumbersome, but the only other way to do it is to use ob_start() and process the page before it&#8217;s displayed to the browser, and that would add load time. Any other ideas on how to achieve this?</p>
<p>Related posts:<ol>
<li><a href='http://www.seodenver.com/customers-also-bought-interspire-cart/' rel='bookmark' title='Add &#8216;Customers Also Purchased&#8217; to the Cart Page on Interspire Shopping Cart'>Add &#8216;Customers Also Purchased&#8217; to the Cart Page on Interspire Shopping Cart</a></li>
<li><a href='http://www.seodenver.com/interspire-shopping-cart-edit-product-link/' rel='bookmark' title='How to Add an `Edit Product` Link for Interspire Shopping Cart'>How to Add an `Edit Product` Link for Interspire Shopping Cart</a></li>
<li><a href='http://www.seodenver.com/preview-hidden-products-in-interspire-shopping-cart/' rel='bookmark' title='Preview Hidden Products in Interspire Shopping Cart'>Preview Hidden Products in Interspire Shopping Cart</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.seodenver.com/generate-css-body-classes-interspire-shopping-cart/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Denver Roofing Company &#8211; Website Launched!</title>
		<link>http://www.seodenver.com/denver-roofing-company-website-launched/</link>
		<comments>http://www.seodenver.com/denver-roofing-company-website-launched/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 23:15:46 +0000</pubDate>
		<dc:creator>Zack Katz</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Design Portfolio]]></category>
		<category><![CDATA[Denver Roofing]]></category>
		<category><![CDATA[Denver SEO]]></category>
		<category><![CDATA[Roofing Website]]></category>

		<guid isPermaLink="false">http://katzwebdesign.wordpress.com/?p=472</guid>
		<description><![CDATA[Katz Web Design has completed a website for Mountain High Roofing, Inc., a Denver roofing company. The Mountain High Roofing website is built on WordPress. It&#8217;s what I would consider to be a medium level of customization; the website is &#8230; <a href="http://www.seodenver.com/denver-roofing-company-website-launched/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://www.seodenver.com/denver-seo-informative-website-launched-denverseoinfo/' rel='bookmark' title='Denver SEO informative website launched: DenverSEO.info'>Denver SEO informative website launched: DenverSEO.info</a></li>
<li><a href='http://www.seodenver.com/denver-solar-seo-steps/' rel='bookmark' title='An Inside Look: 4 Step SEO for a Denver Solar Company'>An Inside Look: 4 Step SEO for a Denver Solar Company</a></li>
<li><a href='http://www.seodenver.com/great-jerky-and-cufon/' rel='bookmark' title='Mountain America Jerky Redesign Launched'>Mountain America Jerky Redesign Launched</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a rel="nofollow" href="http://mountainhighroof.com"><img class="alignnone size-full wp-image-473" title="Mountain High Roofing, Inc. - Denver roofing intstallation &amp; repair" src="http://www.seodenver.com//home/katzwebd/seodenver.com/wp-content/uploads/HLIC/katzwebdesign.files.wordpress.com/2009/01/mountainhigh.jpg" alt="Mountain High Roofing, Inc. - Denver roofing intstallation &amp; repair" width="500" height="349" /></a></p>
<h3>Katz Web Design has completed a website for Mountain High Roofing, Inc., a <a href="http://mountainhighroof.com/">Denver roofing company</a>.</h3>
<p>The <a href="http://mountainhighroof.com">Mountain High Roofing website</a> is built on WordPress. It&#8217;s what I would consider to be a medium level of customization; the website is a custom website design with a few plugin customization options. It allows Mountain High to easily update their own content, and add articles to their blog. The code is well-structured for really good SEO results.<span id="more-472"></span></p>
<p>The project went quite smoothly; the copywriting was done by <a href="http://thewritetouchinc.com/">The Write Touch</a>, and the previous website was easy to redirect: it had only been 4 pages.</p>
<h3>Incorporating ServiceMagic.com ratings</h3>
<p><img class="alignright size-full wp-image-474" title="ServiceMagic sidebar" src="http://www.seodenver.com//home/katzwebd/seodenver.com/wp-content/uploads/HLIC/katzwebdesign.files.wordpress.com/2009/01/picture-257.jpg" alt="ServiceMagic sidebar" width="260" height="321" />One of the interesting things developing this site was trying to incorporate the <a href="http://www.servicemagic.com/rfs/serviceprofessional/xmprofile/xmCustomerRatings.jsp?startingIndex=1&amp;XM_SP_ID=12200038">company&#8217;s ServiceMagic.com rating</a>. ServiceMagic is the 800 pound gorilla on the web for the service industry. My customers often love the website because it sends them lots of leads, but it charges a <strong>lot</strong>.  One client told me that ServiceMagic charges $55.00 for every lead.</p>
<p>I hoped, since they charge so much, that the website would at least offer a quality API so that I could pull Mountain High&#8217;s ratings from their website using PHP or Javascript.  I was hoping for a ServiceMagic API with a JSON feed of testimonials and ratings. Instead, there was nothing. I called their support team, and they confirmed no options for incorporating.</p>
<h4>A sneaky CSS trick to get around ServiceMagic</h4>
<p>Service Magic doesn&#8217;t allow access to their pages using techniques such as cURL, which would be easily manipulated and added to the website. I tried all sorts of better options before realizing I&#8217;d have to go old-school!</p>
<div class="wp-caption alignright" style="width: 260px"><img src="http://www.seodenver.com//home/katzwebd/seodenver.com/wp-content/uploads/HLIC/mountainhighroof.com/wp-content/themes/mountainhigh/images/ratings_sidebar.gif" alt="ServiceMagic gets a new header using CSS" width="250" height="71" /><p class="wp-caption-text">ServiceMagic gets a new header using CSS</p></div>
<p>Since there was no way to create an RSS feed using some RSS feed creation services, I had to resort to CSS trickery.  I used an old-school iFrame that pulled in their rating summary pop-up, and then used css to add a header to the sidebar iFrame using absolute positioning. I added an invisible link that covers the entire iFrame and goes to the company&#8217;s full reviews. Voila, an external iFrame that is styled just like the company&#8217;s website.  The end result I think looks great and serves its purpose.</p>
<p>Related posts:<ol>
<li><a href='http://www.seodenver.com/denver-seo-informative-website-launched-denverseoinfo/' rel='bookmark' title='Denver SEO informative website launched: DenverSEO.info'>Denver SEO informative website launched: DenverSEO.info</a></li>
<li><a href='http://www.seodenver.com/denver-solar-seo-steps/' rel='bookmark' title='An Inside Look: 4 Step SEO for a Denver Solar Company'>An Inside Look: 4 Step SEO for a Denver Solar Company</a></li>
<li><a href='http://www.seodenver.com/great-jerky-and-cufon/' rel='bookmark' title='Mountain America Jerky Redesign Launched'>Mountain America Jerky Redesign Launched</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.seodenver.com/denver-roofing-company-website-launched/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Google&#8217;s Sprite Image is a Thing of Beauty</title>
		<link>http://www.seodenver.com/googles-sprite-image-is-a-thing-of-beauty/</link>
		<comments>http://www.seodenver.com/googles-sprite-image-is-a-thing-of-beauty/#comments</comments>
		<pubDate>Tue, 03 Jun 2008 22:40:24 +0000</pubDate>
		<dc:creator>Zack Katz</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS Sprites]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Google Sprite]]></category>
		<category><![CDATA[PNG]]></category>
		<category><![CDATA[PNG Sprite]]></category>
		<category><![CDATA[sprites]]></category>

		<guid isPermaLink="false">http://katzwebdesign.wordpress.com/?p=196</guid>
		<description><![CDATA[Google Sprite changes over time: If you want to know more about CSS sprites and how to put them together, feast your eyes on Google&#8217;s: Here&#8217;s the history of Google&#8217;s PNG sprite image http://www.google.com/images/nav_logo.png http://www.google.com/images/nav_logo2.png http://www.google.com/images/nav_logo3.png http://www.google.com/images/nav_logo4.png http://www.google.com/images/nav_logo5.png http://www.google.com/images/nav_logo6.png http://www.google.com/images/nav_logo7.png &#8230; <a href="http://www.seodenver.com/googles-sprite-image-is-a-thing-of-beauty/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://www.seodenver.com/google-plus-1-sprite-animation/' rel='bookmark' title='The Google +1 Sprite Animation'>The Google +1 Sprite Animation</a></li>
<li><a href='http://www.seodenver.com/prevent-google-background-image-fading-slowly/' rel='bookmark' title='How to prevent your Google background image from fading in slowly.'>How to prevent your Google background image from fading in slowly.</a></li>
<li><a href='http://www.seodenver.com/multiple-matte-colors-for-css-sprites/' rel='bookmark' title='Multiple Matte Colors for CSS Sprites'>Multiple Matte Colors for CSS Sprites</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<h4>Google Sprite changes over time:</h4>
<p><img src="http://www.seodenver.com/wp-content/uploads/2008/06/Animated-Google-Sprite.gif" alt="" title="Animated Google Sprite" width="197" height="289" class="aligncenter size-full wp-image-2228" /></p>
<p>If you want to know more about <a href="http://katzwebdesign.wordpress.com/2008/02/07/multiple-matte-colors-for-css-sprites/">CSS sprites</a> and <a rel="nofollow" href="http://fatagnus.com/how-to-create-css-sprites/">how to put them together</a>, feast your eyes on Google&#8217;s:</p>
<h3>Here&#8217;s the history of Google&#8217;s PNG sprite image</h3>
<p><img src="http://www.seodenver.com//home/katzwebd/seodenver.com/wp-content/uploads/HLIC/7b2ead32817b8d0548cf7d7bddf43a81.png" alt="Google's Sprite Image" width="150" height="78" /></p>
<p>http://www.google.com/images/nav_logo.png</p>
<hr />
<p><img src="http://www.seodenver.com//home/katzwebd/seodenver.com/wp-content/uploads/HLIC/fa18bfa9a385a5091fdbfe475df4f791.png" alt="Google's Sprite Image" width="150" height="123" /></p>
<p>http://www.google.com/images/nav_logo2.png</p>
<hr />
<p><img src="http://www.seodenver.com//home/katzwebd/seodenver.com/wp-content/uploads/HLIC/8195a08741097f0838c047c2401bccb3.png" alt="Google's Sprite Image" width="150" height="105" /></p>
<p>http://www.google.com/images/nav_logo3.png</p>
<hr />
<p><img src="http://www.seodenver.com//home/katzwebd/seodenver.com/wp-content/uploads/HLIC/595e301a0bb35400eeef1cabbfdcf7a8.png" alt="Google's Sprite Image" width="168" height="119" /></p>
<p>http://www.google.com/images/nav_logo4.png</p>
<hr />
<p><img src="http://www.seodenver.com//home/katzwebd/seodenver.com/wp-content/uploads/HLIC/c5a41d721ed75534ab8413068967e856.png" alt="Google's Sprite Image" width="142" height="106" /></p>
<p>http://www.google.com/images/nav_logo5.png</p>
<hr />
<p><img src="http://www.seodenver.com//home/katzwebd/seodenver.com/wp-content/uploads/HLIC/a996c6ad91a460cf71020192f25077d8.png" alt="Google's Sprite Image" width="150" height="106" /></p>
<p>http://www.google.com/images/nav_logo6.png</p>
<hr />
<p><img src="http://www.seodenver.com//home/katzwebd/seodenver.com/wp-content/uploads/HLIC/fdfa03a2e050d10b5c0fbc6ccbdef2cd.png" alt="Google Image Sprite" width="164" height="106" /></p>
<p>http://www.google.com/images/nav_logo7.png</p>
<hr />
<p><img src="http://www.seodenver.com/wp-content/uploads/HLIC/f384fbafaba3537b0a056274770d9c57.png" alt="" /></p>
<p>http://www.google.com/images/srpr/nav_logo8.png</p>
<hr />
<p><img src="http://www.seodenver.com/wp-content/uploads/HLIC/9e56a76b3c48aa3233c9149fa218ba12.png" alt="" /></p>
<p>http://www.google.com/images/srpr/nav_logo9.png</p>
<hr />
<p><img src="http://www.seodenver.com/wp-content/uploads/HLIC/15f437ea58ea13c35a7dc2c954e275fe.png" alt="" /><br />
<strong>March 25, 2010</strong> &#8211; http://www.google.com/images/srpr/nav_logo10.png</p>
<hr />
<p><img src="http://www.seodenver.com/wp-content/uploads/HLIC/ddb655473ca658a8f908287c92f5263c.png" alt="" /><br />
<strong>April 1, 2010</strong> &#8211; http://www.google.com/images/srpr/nav_logo11.png</p>
<hr />
<p><img src="http://www.seodenver.com/wp-content/uploads/HLIC/c3ddcf75436f1538f7ac94d5f571cf1d.png" alt="" /><br />
<strong>April 21, 2010</strong> &#8211; http://www.google.com/images/srpr/nav_logo12.png</p>
<hr />
<p><img src="http://www.seodenver.com/wp-content/uploads/HLIC/36d4b4439aa11d2bcdc5171c8daec767.png" alt="" /><br />
<strong>May 4, 2010</strong> &#8211; http://www.google.com/images/srpr/nav_logo13.png</p>
<hr />
<p><img src="http://www.seodenver.com/wp-content/uploads/HLIC/53708e94f618e796e88d30563dab0856.png" alt="Google Sprite" /><br />
<strong>July 2, 2010</strong> &#8211; http://www.google.com/images/srpr/nav_logo14.png (Added a magnifying glass)</p>
<hr />
<p><img src="http://www.seodenver.com/wp-content/uploads/HLIC/851b7ab1cf1fa001a4807a7c1070ef8d.png" alt="Google Sprite" /><br />
<strong>July 16, 2010</strong> &#8211; http://www.google.com/images/nav_logo15.png (Made logo bigger for Instant Search results layout)</p>
<hr />
<p><img src="http://www.seodenver.com/wp-content/uploads/HLIC/9ee17f431b63c5cfeccb3e944309c1ad.png" alt="Google Sprite" /><br />
<strong>November 8, 2010</strong> &#8211; http://www.google.com/images/nav_logo26.png (Added the Instant Preview images)</p>
<hr />
<p><img src="http://www.seodenver.com/wp-content/uploads/HLIC/9cae25885fe4210b58782ea6f2a579d9.png" alt="Google Sprite 27" /><br />
<strong>November 15, 2010</strong> &#8211; http://www.google.com/images/srpr/nav_logo27.png</p>
<hr />
<p><img src="http://www.seodenver.com/wp-content/uploads/HLIC/f2ce60c820dd7d856da7b8b41d74e1c5.png" alt="Google Sprite 28" /><br />
<strong>November 15, 2010</strong> &#8211; http://www.google.com/images/nav_logo28.png</p>
<hr />
<p><img src="http://www.seodenver.com/wp-content/uploads/HLIC/6e1f4d94434b8755c6d5e4d73427348c.png" alt="Google Sprite 29" /><br />
<strong>November 16, 2010</strong> &#8211; http://www.google.com/images/nav_logo29.png &#8211; seems to be color correction as well as logo size.</p>
<hr />
<p><img src="http://www.seodenver.com/wp-content/uploads/HLIC/5888adbba240ba55bf0dfb09ed681511.png" alt="Google Sprite 34" /><br />
<strong>January 14, 2011</strong> &#8211; http://www.google.com/images/nav_logo34.png</p>
<hr />
<p><img src="http://www.seodenver.com/wp-content/uploads/HLIC/fc7281e3fb2c96af69cf262649b7f9da.png" alt="Google Sprite 36" /><br />
<strong>February 1, 2011</strong> &#8211; http://www.google.com/images/nav_logo36.png &#8211; added star ratings and close x&#8217;s</p>
<hr />
<p><img src="http://www.seodenver.com/wp-content/uploads/HLIC/c7f5b316f4fe3fa11a737778ec63587e.png" alt="Google Sprite 38" /><br />
<strong>February 14, 2011</strong> &#8211; http://www.google.com/images/nav_logo38.png &#8211; added another star</p>
<hr />
<p><img src="http://www.seodenver.com/wp-content/uploads/HLIC/ec7ee04e2d2148b98508a75b64fe19a2.png" width="167" height="267" alt="Google Sprite 39" /><br />
<strong>March 24, 2011</strong> &#8211; http://www.google.com/images/srpr/nav_logo39.png &#8211; added unhappy faces, hover state for happy face</p>
<hr />
<p><img src="http://www.seodenver.com/wp-content/uploads/HLIC/b19e4e546cd97c9bfb49ee20680249cc.png" width="178" height="289" alt="Google Sprite 40" /><br />
<strong>March 24, 2011</strong> &#8211; http://www.google.com/images/nav_logo40.png</p>
<hr />
<p><img src="http://www.seodenver.com/wp-content/uploads/HLIC/1f19d559747855655fbc138f400d6f49.png" width="167" height="287" alt="Google Sprite 41" /><br />
<strong>April 09, 2011</strong> &#8211; http://www.google.com/images/srpr/nav_logo41.png</p>
<hr />
<p>You can&#8217;t get much more efficient than that&#8230;</p>
<p>Related posts:<ol>
<li><a href='http://www.seodenver.com/google-plus-1-sprite-animation/' rel='bookmark' title='The Google +1 Sprite Animation'>The Google +1 Sprite Animation</a></li>
<li><a href='http://www.seodenver.com/prevent-google-background-image-fading-slowly/' rel='bookmark' title='How to prevent your Google background image from fading in slowly.'>How to prevent your Google background image from fading in slowly.</a></li>
<li><a href='http://www.seodenver.com/multiple-matte-colors-for-css-sprites/' rel='bookmark' title='Multiple Matte Colors for CSS Sprites'>Multiple Matte Colors for CSS Sprites</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.seodenver.com/googles-sprite-image-is-a-thing-of-beauty/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Found: Barack Obama&#039;s Web Designer</title>
		<link>http://www.seodenver.com/barack-obamas-web-designer/</link>
		<comments>http://www.seodenver.com/barack-obamas-web-designer/#comments</comments>
		<pubDate>Thu, 10 Apr 2008 23:09:37 +0000</pubDate>
		<dc:creator>Zack Katz</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Politics]]></category>
		<category><![CDATA[Barack Obama]]></category>
		<category><![CDATA[Barack Obama Website]]></category>
		<category><![CDATA[Biden 08]]></category>
		<category><![CDATA[Elections]]></category>
		<category><![CDATA[Joe Biden Website]]></category>
		<category><![CDATA[John Slabyk]]></category>
		<category><![CDATA[Obama 08]]></category>
		<category><![CDATA[Obama Website]]></category>
		<category><![CDATA[Sender]]></category>
		<category><![CDATA[Sender LLC]]></category>
		<category><![CDATA[SimpleScott]]></category>
		<category><![CDATA[Sol Sender]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Website]]></category>

		<guid isPermaLink="false">http://katzwebdesign.wordpress.com/?p=105</guid>
		<description><![CDATA[Update: The New WhiteHouse.gov Website Update: Who will be the White House web designer? A lot of people have wanted to know who designed Barack Obama&#8217;s website. With good reason: Obama&#8217;s website is beautiful. It even conveys Obama&#8217;s message of &#8230; <a href="http://www.seodenver.com/barack-obamas-web-designer/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://www.seodenver.com/who-is-hillary-clintons-web-designer/' rel='bookmark' title='Found: Hillary Clinton&#039;s web designer'>Found: Hillary Clinton&#039;s web designer</a></li>
<li><a href='http://www.seodenver.com/what-is-a-web-designer-and-who-are-these-people/' rel='bookmark' title='What is a web designer, and who are these people?'>What is a web designer, and who are these people?</a></li>
<li><a href='http://www.seodenver.com/white-house-web-designer/' rel='bookmark' title='Obama White House Website Design &#8212; the President&#039;s Web Site'>Obama White House Website Design &#8212; the President&#039;s Web Site</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<h3><a href="http://seodenver.com/2009/01/20/new-white-house-website-launched/">Update: The New WhiteHouse.gov Website</a></h3>
<h3><a href="http://www.seodenver.com/white-house-web-designer/">Update: <span style="font-weight:normal;">Who will be the White House web designer?</span></a></h3>
<p>ArrayA lot of people have wanted to know who designed Barack Obama&#8217;s website. With good reason: <strong>Obama&#8217;s</strong> website is beautiful.  It even conveys Obama&#8217;s message of hope in it&#8217;s wistful design.  Well, here it is:</p>
<h2>Barack Obama&#8217;s web designer is:</h2>
<p><strong><a title="Barack Obama's web designer" rel="nofollow" href="http://simplescott.com/">SimpleScott</a></strong>. SimpleScott designed Barack Obama&#8217;s website, so <strong>here&#8217;s to SimpleScott for a gorgeous design</strong>.</p>
<h4>From Scott Thomas, of SimpleScott:</h4>
<blockquote><p>I am the creative director of New Media for Obama for America. The team consisted of many people in house as well as many volunteers. Project leads were myself and John Slabyk. We are maintaining site and brand in-house. Sol Sender designed the logo before I joined the campaign.</p></blockquote>
<p>How did I find out SimpleScott was involved?  Just check out <a rel="nofollow" href="http://www.barackobama.com/css/globalv3.css">Obama&#8217;s main style sheet</a>. SimpleScott uses <a rel="nofollow" href="http://www.macrabbit.com/cssedit/">CSSEdit</a>, a great program for Mac CSS web design.</p>
<h3>The CSS code gives it away:</h3>
<h4>CSS Version 2: &#8211; <a rel="nofollow" href="http://barackobama.com/css/globalv2.css">View the stylesheet</a></h4>
<p><img class="alignnone size-full wp-image-355" title="BarackObama.com v2 Web Design Screenshot" src="http://katzwebdesign.files.wordpress.com/2008/10/barackobamacom-v2.jpg" alt="" width="500" height="261" /><br />
<code>/* CSS<br />
Author: Scott Thomas<br />
Client: Obama for America<br />
Created: 12-15-07<br />
Modified: 12-22-07<br />
*/</code></p>
<h4>CSS Version 3: &#8211; <a rel="nofollow" href="http://barackobama.com/css/globalv3.css">View the stylesheet</a></h4>
<p><a rel="nofollow" href="http://barackobama.com"><img class="alignnone size-full wp-image-356" title="BarackObama.com v3 Web Design Screenshot" src="http://katzwebdesign.files.wordpress.com/2008/10/barackobamacom-v3.jpg" alt="" width="500" height="274" /></a><br />
<code>/* CSS<br />
Author: Scott Thomas<br />
Created: 12-15-07<br />
Author: Walker Hamilton<br />
Modified: 08-10-07<br />
*/</code><br />
<strong></strong></p>
<p><strong>Did you notice there are two authors for Version 3?</strong> If you&#8217;re like me, you want to know who this Walker Hamilton fella is that is referenced in Version 3 of the CSS.</p>
<p>This is from <a rel="nofollow" href="http://walkerhamilton.com/resume">Walker&#8217;s resume</a> at <a rel="nofollow" href="http://walkerhamilton.com/">walkerhamilton.com</a>:</p>
<blockquote><p>I architected and implemented the deployment mechanisms and technologies for the campaign&#8217;s various web properties. I implemented various applications to improve some processes, automate others, and facilitate instate/headquarters communications for departments within the campaign. Other duties included general maintenance, day to day content administration, and feature planning and development for the social network tied into the site.</p></blockquote>
<p><strong>Update:</strong> I&#8217;ve learned a couple of more people who were involved in the BarackObama.com website:</p>
<ul>
<li><a rel="nofollow" href="http://ipcardesign.com">Matt Ipcar</a> (from <a rel="nofollow" href="http://frogdesign.com/about">frog design</a>)</li>
<li><a rel="nofollow" href="http://www.kylecrouse.com/">Kyle Crouse</a> (from <a rel="nofollow" href="http://frogdesign.com/about">frog design</a>)</li>
</ul>
<h2>The Barack Obama logo design is by Sender, LLC</h2>
<p><a rel="nofollow" href="http://senderllc.com/">Sender, LLC</a> developed the Obama &#8217;08 logo.</p>
<h4>From Brian Drum, of Sender LLC</h4>
<blockquote><p>Sender designed the original mark, but the site is developed and maintained in-house by the campaign&#8217;s web team.</p>
<p>Sender was involved *only* with the development of the &#8220;sunrise&#8221; mark, and had no role whatsoever in the design, development, or maintenance of barackobama.com.</p></blockquote>
<h3>Leave your reactions here</h3>
<p>Do you like the design, or not?  What aspects work best for you?  Drop a line below.</p>
<p>Which design do you like?  I prefer the lighter, more optimistic &#8220;Primary Obama&#8221; website, not the Obama/Biden serious, solumn &#8220;General Election Obama&#8221; site. What do you think?</p>
<p>Related posts:<ol>
<li><a href='http://www.seodenver.com/who-is-hillary-clintons-web-designer/' rel='bookmark' title='Found: Hillary Clinton&#039;s web designer'>Found: Hillary Clinton&#039;s web designer</a></li>
<li><a href='http://www.seodenver.com/what-is-a-web-designer-and-who-are-these-people/' rel='bookmark' title='What is a web designer, and who are these people?'>What is a web designer, and who are these people?</a></li>
<li><a href='http://www.seodenver.com/white-house-web-designer/' rel='bookmark' title='Obama White House Website Design &#8212; the President&#039;s Web Site'>Obama White House Website Design &#8212; the President&#039;s Web Site</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.seodenver.com/barack-obamas-web-designer/feed/</wfw:commentRss>
		<slash:comments>40</slash:comments>
		</item>
		<item>
		<title>Multiple Matte Colors for CSS Sprites</title>
		<link>http://www.seodenver.com/multiple-matte-colors-for-css-sprites/</link>
		<comments>http://www.seodenver.com/multiple-matte-colors-for-css-sprites/#comments</comments>
		<pubDate>Thu, 07 Feb 2008 19:14:24 +0000</pubDate>
		<dc:creator>Zack Katz</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[background images]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[sprites]]></category>

		<guid isPermaLink="false">http://katzwebdesign.wordpress.com/2008/02/07/multiple-matte-colors-for-css-sprites/</guid>
		<description><![CDATA[Here&#8217;s the problem: I want to use CSS Sprites for transparent images, and they require different matte colors. The promise of CSS Sprites is great: you can combine many small images into one bigger image, and use CSS to reveal &#8230; <a href="http://www.seodenver.com/multiple-matte-colors-for-css-sprites/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://www.seodenver.com/standards-compliant-shopping-cart-with-xhtml-css/' rel='bookmark' title='Standards-Compliant Shopping Cart with XHTML &amp; CSS!'>Standards-Compliant Shopping Cart with XHTML &amp; CSS!</a></li>
<li><a href='http://www.seodenver.com/prevent-loading-wpdownloadmanagers-css-file/' rel='bookmark' title='How to Prevent Loading WP-DownloadManager&#8217;s CSS File'>How to Prevent Loading WP-DownloadManager&#8217;s CSS File</a></li>
<li><a href='http://www.seodenver.com/disable-gravity-forms-css-stylesheet/' rel='bookmark' title='5 Easy Ways to Disable the Gravity Forms CSS Stylesheet'>5 Easy Ways to Disable the Gravity Forms CSS Stylesheet</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<h3>Here&#8217;s the problem: I want to use CSS Sprites for transparent images, and they require different matte colors.</h3>
<p>ArrayThe promise of <a href="http://www.alistapart.com/articles/sprites">CSS Sprites</a> is great: you can combine many small images into one bigger image, and use CSS to reveal only the revelant parts. But what if you have a background image, and the background changes color on :hover? When trying to save the smilies, you can only choose one matte color. I need multiple matte colors!</p>
<p>The issue really is a pain when you have already given your object a stroke. Using the Appearance panel, we&#8217;ll make everything happy in the world again!</p>
<p><img style="display:block;clear:right;" src="http://www.katzwebdesign.net/images/tutorial/Picture_24.jpg" alt="I want the three smileys to be combined as one " width="496" height="69" /></p>
<p><span id="more-22"></span></p>
<h2>My solution: Making a Multiple Matte Sprite (&#8220;MMM Sprite&#8221;)</h2>
<p>In order to solve this issue, we must first declare it: one matte color is not enough! And if we can&#8217;t use one, <strong>we must use no matte</strong>. In order to reproduce the matte effect, we will use multiple strokes on an object in Illustrator. There is a similar solution for Photoshop, <a href="#photoshop">described in less detail below</a>.</p>
<h3>The MMM Sprite Process:</h3>
<ol>
<li><img style="display:block;clear:right;" src="http://www.katzwebdesign.net/images/tutorial/Picture_25.jpg" alt="The three desired states of smilies" width="246" height="59" />Create as many objects as you&#8217;ll need (often just two, but for this example, I show three. Each smiley will have a different matte color.</li>
<li><img style="display:block;clear:right;" src="http://www.katzwebdesign.net/images/tutorial/Picture_12.jpg" alt="The Appearance panel in Illustrator" width="244" height="137" />Select one of the smiley&#8217;s yellow circles, and go to the Illustrator Appearance Panel.</li>
<li><img style="display:block;clear:right;" src="http://www.katzwebdesign.net/images/tutorial/Picture_14.jpg" alt="Add a new stroke to the object" width="259" height="234" />In the upper-right corner of the Appearance panel, click the downward facing arrow. This brings up a contextual menu. Select &#8220;Add New Stroke&#8221;. <em>Note: we&#8217;re doing it this way in case your object already has a stroke applied to it. You can apply multiple strokes to an object using this method.</em></li>
<li><img style="display:block;clear:right;" src="http://www.katzwebdesign.net/images/tutorial/Picture_26.jpg" alt="Select the stroke in the Appearance Panel" width="251" height="66" />The stroke should be selected by default now, but if not, select the stroke in the Appearance Panel</li>
<li><img style="display:block;clear:right;" src="http://www.katzwebdesign.net/images/tutorial/Picture_27.jpg" alt="Give the smiley a white stroke" width="249" height="123" />Give the stroke  a color in the Color panel. For the first smiley, we want it to have a white stroke (for the white background).</li>
<li><img style="display:block;clear:right;" src="http://www.katzwebdesign.net/images/tutorial/Picture_16.jpg" alt="In the Stroke panel, align the stroke to the outside" width="136" height="61" />Go to the Stroke panel. In the Stroke panel (with the circle still selected, and the stroke selected in the Appearance Panel) align the stroke to the outside. This makes it so the object does not change.</li>
<li><img style="display:block;clear:right;" src="http://www.katzwebdesign.net/images/tutorial/Picture_18.jpg" alt="Give each smiley its own stroke color" width="264" height="83" />Give each smiley its own stroke color based on the background you have. Notice the smileys have the same background colors as the first graphic (white, blue, and red). You can use the eyedropper tool to accurately select the stroke color <em>(be sure to hold down Shift to not affect the object&#8217;s fill!)</em></li>
<li><img style="display:block;clear:right;" src="http://www.katzwebdesign.net/images/tutorial/Picture_19.jpg" alt="Save for Web settings" width="226" height="163" />When you have finished giving your objects the strokes they need, then Save for Web. In the GIF settings, turn on transparency, and <strong>choose &#8216;None&#8217; for the Matte setting (!important)</strong></li>
<li><img style="display:block;clear:right;" src="http://www.katzwebdesign.net/images/tutorial/Picture_28.jpg" alt="Three matted smiley sprites in a row" width="431" height="96" />When you&#8217;re finished, you have a single GIF image with multiple Matted sprite images.</li>
</ol>
<h3>A summary:</h3>
<p>This simple process allows you to further reduce the number of HTTP Requests that your site is making, just because of a silly matte issue. You can, by adding strokes, make any transparent GIF work in most situations.</p>
<h2><a id="photoshop"></a>But what about Photoshop?</h2>
<p>In Photoshop, you can do a similar trick:</p>
<ul>
<li>Select your layer by Command/Ctr clicking your layer thumbnail in the Layers panel.</li>
<li>Go to the menu bar and click on Select &gt; Modify &gt; Expand</li>
<li>Expand by 1 pixel</li>
<li>Save for Web with no matte</li>
</ul>
<h2>What are your solutions?</h2>
<p>Do you have a better way?  Share your methods below!</p>
<p>Related posts:<ol>
<li><a href='http://www.seodenver.com/standards-compliant-shopping-cart-with-xhtml-css/' rel='bookmark' title='Standards-Compliant Shopping Cart with XHTML &amp; CSS!'>Standards-Compliant Shopping Cart with XHTML &amp; CSS!</a></li>
<li><a href='http://www.seodenver.com/prevent-loading-wpdownloadmanagers-css-file/' rel='bookmark' title='How to Prevent Loading WP-DownloadManager&#8217;s CSS File'>How to Prevent Loading WP-DownloadManager&#8217;s CSS File</a></li>
<li><a href='http://www.seodenver.com/disable-gravity-forms-css-stylesheet/' rel='bookmark' title='5 Easy Ways to Disable the Gravity Forms CSS Stylesheet'>5 Easy Ways to Disable the Gravity Forms CSS Stylesheet</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.seodenver.com/multiple-matte-colors-for-css-sprites/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Object Caching 0/0 objects using disk: basic

Served from: www.seodenver.com @ 2012-02-10 19:20:46 -->
