<?xml version="1.0" encoding="utf-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
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/"
> <channel><title>Comments on: CSS Heading Image Replacement</title> <atom:link href="http://rynoweb.com/css-heading-image-replacement/feed/" rel="self" type="application/rss+xml" /><link>http://rynoweb.com/css-heading-image-replacement/</link> <description>rYnoweb.com is the blog of web architect, seo and consultant, Chuck Reynolds. The articles on this site try to focus on web development, design, security and my life in general on the internet.</description> <lastBuildDate>Fri, 12 Feb 2010 03:12:48 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>By: Chuck Reynolds</title><link>http://rynoweb.com/css-heading-image-replacement/#comment-209</link> <dc:creator>Chuck Reynolds</dc:creator> <pubDate>Fri, 26 Sep 2008 16:53:48 +0000</pubDate> <guid
isPermaLink="false">http://rynoweb.com/?p=6#comment-209</guid> <description>Hey Ken, thanks for the great response on the article, I&#039;m going to check that out here soon.  And part of my todo list is to widen this site and open her up a bit... but you know how personal sites/projects go... lol</description> <content:encoded><![CDATA[<p>Hey Ken, thanks for the great response on the article, I'm going to check that out here soon.  And part of my todo list is to widen this site and open her up a bit&#8230; but you know how personal sites/projects go&#8230; lol</p> ]]></content:encoded> </item> <item><title>By: Ken Hanson</title><link>http://rynoweb.com/css-heading-image-replacement/#comment-208</link> <dc:creator>Ken Hanson</dc:creator> <pubDate>Fri, 26 Sep 2008 07:55:02 +0000</pubDate> <guid
isPermaLink="false">http://rynoweb.com/?p=6#comment-208</guid> <description>well, the css is sexier when the codes not compressed into a 515px div, heh.</description> <content:encoded><![CDATA[<p>well, the css is sexier when the codes not compressed into a 515px div, heh.</p> ]]></content:encoded> </item> <item><title>By: Ken Hanson</title><link>http://rynoweb.com/css-heading-image-replacement/#comment-207</link> <dc:creator>Ken Hanson</dc:creator> <pubDate>Fri, 26 Sep 2008 07:54:03 +0000</pubDate> <guid
isPermaLink="false">http://rynoweb.com/?p=6#comment-207</guid> <description>So, here&#039;s a nice take that I&#039;ve been using as of late.A good write up is here: &lt;a href=&quot;http://www.mezzoblue.com/tests/revised-image-replacement/#gilderlevin&quot; rel=&quot;nofollow&quot;&gt;Gilder Levin Image Replacemnt&lt;/a&gt;This one&#039;s great because it solves the: 1) Images off, CSS off 2) Images Off, CSS On, and 3) Images On / CSS On cases. It only has problems with transparent images.I tend to run from transparency, as that will land you in some hacky territory, and most transparency can be faked anyway, so I&#039;ve generally embraced this method.Anyways, the basic idea is that you wrap an empty element in your original element, stick the text outside of the empty element, and then absolute position the element on top of the text.No display or text-indent CSS involved at all.The Code looks like this:&lt;code&gt;
&lt;em&gt;&lt;/em&gt;Image Name
&lt;/code&gt;Tightening up your CSS can really help you automate things by using a global class for the image replacement rules, and then using one single set of rules for the image paths like so:&lt;code&gt;
.ir { position: relative; display: block;}
.ir em { position: absolute; width: 100%; height: 100%; top: 0px; left: 0px; display: block; background-repeat: no-repeat;}
&lt;/code&gt;And then your image declarations just need a height on the parent, a width, and your image like so:&lt;code&gt;
.eventEmail { width: 15px; height: 15px;}
.eventEmail em { background-image: url(images/icon_eventEmail.png); }.eventDelete { width: 15px; height: 15px; }
.eventDelete em { background-image: url(images/icon_eventDelete.png); }
&lt;/code&gt;Tightening those icons up even more gets you sexy CSS like this:&lt;code&gt;
.eventView, .eventEdit, .eventDelete, .eventEmail { width: 14px; height: 14px;}
.eventView em { background-image: url(images/icon_eventView.png); }
.eventEdit em { background-image: url(images/icon_eventEdit.png); }
.eventDelete em { background-image: url(images/icon_eventDelete.png); }
.eventEmail em { background-image: url(images/icon_eventEmail.png); }
&lt;/code&gt;So that any time you need to add an icon, you just add an image and a selector above.I&#039;ve found this to be the best way, and JAWS absolutely loooves it. Reads it straight through without any problems at all. So you&#039;ve got JAWS giving it the thumbs up, users that don&#039;t look at images (think slow internet) giving it thumbs up, users that don&#039;t use images or styling giving it thumbs up, and google loving it because its not flagging it as possible black hat. Win all around.</description> <content:encoded><![CDATA[<p>So, here's a nice take that I've been using as of late.</p><p>A good write up is here: <a
href="http://www.mezzoblue.com/tests/revised-image-replacement/#gilderlevin">Gilder Levin Image Replacemnt</a></p><p>This one's great because it solves the: 1) Images off, CSS off 2) Images Off, CSS On, and 3) Images On / CSS On cases. It only has problems with transparent images.</p><p>I tend to run from transparency, as that will land you in some hacky territory, and most transparency can be faked anyway, so I've generally embraced this method.</p><p>Anyways, the basic idea is that you wrap an empty element in your original element, stick the text outside of the empty element, and then absolute position the element on top of the text.</p><p>No display or text-indent CSS involved at all.</p><p>The Code looks like this:</p><p><code><br
/> <em></em>Image Name<br
/> </code></p><p>Tightening up your CSS can really help you automate things by using a global class for the image replacement rules, and then using one single set of rules for the image paths like so:</p><p><code><br
/> .ir { position: relative; display: block;}<br
/> .ir em { position: absolute; width: 100%; height: 100%; top: 0px; left: 0px; display: block; background-repeat: no-repeat;}<br
/> </code></p><p>And then your image declarations just need a height on the parent, a width, and your image like so:</p><p><code><br
/> .eventEmail { width: 15px; height: 15px;}<br
/> .eventEmail em { background-image: url(images/icon_eventEmail.png); }</p><p>.eventDelete { width: 15px; height: 15px; }<br
/> .eventDelete em { background-image: url(images/icon_eventDelete.png); }<br
/> </code></p><p>Tightening those icons up even more gets you sexy CSS like this:</p><p><code><br
/> .eventView, .eventEdit, .eventDelete, .eventEmail { width: 14px; height: 14px;}<br
/> .eventView em { background-image: url(images/icon_eventView.png); }<br
/> .eventEdit em { background-image: url(images/icon_eventEdit.png); }<br
/> .eventDelete em { background-image: url(images/icon_eventDelete.png); }<br
/> .eventEmail em { background-image: url(images/icon_eventEmail.png); }<br
/> </code></p><p>So that any time you need to add an icon, you just add an image and a selector above.</p><p>I've found this to be the best way, and JAWS absolutely loooves it. Reads it straight through without any problems at all. So you've got JAWS giving it the thumbs up, users that don't look at images (think slow internet) giving it thumbs up, users that don't use images or styling giving it thumbs up, and google loving it because its not flagging it as possible black hat. Win all around.</p> ]]></content:encoded> </item> <item><title>By: Indescretely Observant</title><link>http://rynoweb.com/css-heading-image-replacement/#comment-126</link> <dc:creator>Indescretely Observant</dc:creator> <pubDate>Thu, 22 May 2008 16:46:19 +0000</pubDate> <guid
isPermaLink="false">http://rynoweb.com/?p=6#comment-126</guid> <description>Great reference for this exact topic and further proof that it is currently accepted by Google..
&lt;a href=&quot;http://mezzoblue.com/archives/2008/05/05/image_replac/&quot; rel=&quot;nofollow&quot;&gt;Tallyho&lt;/a&gt;</description> <content:encoded><![CDATA[<p>Great reference for this exact topic and further proof that it is currently accepted by Google..<br
/> <a
href="http://mezzoblue.com/archives/2008/05/05/image_replac/">Tallyho</a></p> ]]></content:encoded> </item> <item><title>By: Indescretely Observant</title><link>http://rynoweb.com/css-heading-image-replacement/#comment-114</link> <dc:creator>Indescretely Observant</dc:creator> <pubDate>Sun, 27 Apr 2008 03:26:34 +0000</pubDate> <guid
isPermaLink="false">http://rynoweb.com/?p=6#comment-114</guid> <description>EZNowDude and Martin Kulakowski, how the hell did you even happen upon this site and NOT know that Chuck builds his sites according to not only semantically correct code  but standards-based, which means that it is accessible to &quot;ALL&quot;? CSS images replacement has not only been deemed as an acceptable method but also recommended as well. Most European countries require that sites are build this way(standards-based), and soon it will be the standard. As far as the reason the method is used, you will never alleviate that particular client that says &quot;well, I have to use this typeface, there is no alternative&quot;, so tell me, if that&#039;s the case, what option do you have?&gt;! Do the research on whatever method you use and you will be fine, that goes for comments as well guys!</description> <content:encoded><![CDATA[<p>EZNowDude and Martin Kulakowski, how the hell did you even happen upon this site and NOT know that Chuck builds his sites according to not only semantically correct code  but standards-based, which means that it is accessible to "ALL"? CSS images replacement has not only been deemed as an acceptable method but also recommended as well. Most European countries require that sites are build this way(standards-based), and soon it will be the standard. As far as the reason the method is used, you will never alleviate that particular client that says "well, I have to use this typeface, there is no alternative", so tell me, if that's the case, what option do you have?&gt;! Do the research on whatever method you use and you will be fine, that goes for comments as well guys!</p> ]]></content:encoded> </item> <item><title>By: Martin Kulakowski</title><link>http://rynoweb.com/css-heading-image-replacement/#comment-112</link> <dc:creator>Martin Kulakowski</dc:creator> <pubDate>Thu, 17 Apr 2008 01:10:07 +0000</pubDate> <guid
isPermaLink="false">http://rynoweb.com/?p=6#comment-112</guid> <description>Correcto mundo. Basically what I&#039;ve told Beau on his blog. Don&#039;t abuse the power and you&#039;ll be fine. Remember, the man is always watching! Word to your mother, Chuck-ee!</description> <content:encoded><![CDATA[<p>Correcto mundo. Basically what I've told Beau on his blog. Don't abuse the power and you'll be fine. Remember, the man is always watching! Word to your mother, Chuck-ee!</p> ]]></content:encoded> </item> <item><title>By: EZNowDude</title><link>http://rynoweb.com/css-heading-image-replacement/#comment-107</link> <dc:creator>EZNowDude</dc:creator> <pubDate>Sat, 12 Apr 2008 00:14:24 +0000</pubDate> <guid
isPermaLink="false">http://rynoweb.com/?p=6#comment-107</guid> <description>Google has been known to change their minds on things.  One year at the SES they said doorway pages were the way to go.  Everybody went out and created doorway pages.  Within a few months, it was estimated that 20% of the sites in the index were doorway pages.  The next year at SES, google and every other SE said that doorway pages were spam.My point is, anytime you put anything on a page that is not visible to the usual viewer, it MIGHT be viewed as spam.  Just design a good clean site, get proper links from authority sites, give good links that pass pagerank, and everything will be fine.  Trying to trick google is just dangerous.  If they ever decide some tactic you are using is spam-ish, then you are screwed.  The worst part is that they don&#039;t tell you what is wrong and you might never know it.Why put anything on your site that google can see but a viewer can&#039;t (other than the stuff required by the Disabilities Acts)?</description> <content:encoded><![CDATA[<p>Google has been known to change their minds on things.  One year at the SES they said doorway pages were the way to go.  Everybody went out and created doorway pages.  Within a few months, it was estimated that 20% of the sites in the index were doorway pages.  The next year at SES, google and every other SE said that doorway pages were spam.</p><p>My point is, anytime you put anything on a page that is not visible to the usual viewer, it MIGHT be viewed as spam.  Just design a good clean site, get proper links from authority sites, give good links that pass pagerank, and everything will be fine.  Trying to trick google is just dangerous.  If they ever decide some tactic you are using is spam-ish, then you are screwed.  The worst part is that they don't tell you what is wrong and you might never know it.</p><p>Why put anything on your site that google can see but a viewer can't (other than the stuff required by the Disabilities Acts)?</p> ]]></content:encoded> </item> <item><title>By: Eric Doolan</title><link>http://rynoweb.com/css-heading-image-replacement/#comment-105</link> <dc:creator>Eric Doolan</dc:creator> <pubDate>Thu, 10 Apr 2008 17:39:09 +0000</pubDate> <guid
isPermaLink="false">http://rynoweb.com/?p=6#comment-105</guid> <description>I liked the article.  It’s funny how people become so desperate to do black hat SEO work.About 3 months ago I put some crazy plugin on my Wordpress  site and it pulled some stupid SEO trick that got me on Google’s  blocked list.  Not fun.  I had to go through StopBadware.org and appealed the whole thing.  Thank god they fixed the problem but it took 3 months.   Now what if that was a client?  Oh man.</description> <content:encoded><![CDATA[<p>I liked the article.  It’s funny how people become so desperate to do black hat SEO work.</p><p>About 3 months ago I put some crazy plugin on my Wordpress  site and it pulled some stupid SEO trick that got me on Google’s  blocked list.  Not fun.  I had to go through StopBadware.org and appealed the whole thing.  Thank god they fixed the problem but it took 3 months.   Now what if that was a client?  Oh man.</p> ]]></content:encoded> </item> <item><title>By: Beau</title><link>http://rynoweb.com/css-heading-image-replacement/#comment-104</link> <dc:creator>Beau</dc:creator> <pubDate>Thu, 10 Apr 2008 16:13:49 +0000</pubDate> <guid
isPermaLink="false">http://rynoweb.com/?p=6#comment-104</guid> <description>Good stuff Charlie Bucket! Thanks!</description> <content:encoded><![CDATA[<p>Good stuff Charlie Bucket! Thanks!</p> ]]></content:encoded> </item> </channel> </rss>
<!-- This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 10/18 queries in 0.033 seconds using disk

Served from: forte.websitewelcome.com @ 2010-03-12 06:30:15 -->