<?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>Design Woop &#124; The Web Design and Development Blog &#187; Hacks</title>
	<atom:link href="http://designwoop.com/category/hacks/feed/" rel="self" type="application/rss+xml" />
	<link>http://designwoop.com</link>
	<description>The Web design blog brought to you by David Martin</description>
	<lastBuildDate>Thu, 02 Feb 2012 08:00:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>PNG Image fix for IE6</title>
		<link>http://designwoop.com/2009/08/png-image-fix-for-ie6/</link>
		<comments>http://designwoop.com/2009/08/png-image-fix-for-ie6/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 12:14:16 +0000</pubDate>
		<dc:creator>Stu Greenham</dc:creator>
				<category><![CDATA[All Posts]]></category>
		<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://designwoop.com/?p=453</guid>
		<description><![CDATA[If you tend to put a lot of PNG images on your websites like I do, then you will know how much of a pain IE6 is! IE6 can display PNG images but it doesn't play to well with transparent ones, in fact, the transparency won't work at all! To get around this I have been using the following css hack to display a GIF image in IE6...]]></description>
			<content:encoded><![CDATA[<p>If you tend to put a lot of PNG images on your websites like I do, then you will know how much of a pain IE6 is! IE6 can display PNG images but it doesn&#8217;t play to well with transparent ones, in fact, the transparency won&#8217;t work at all! To get around this I have been using the following css hack to display a GIF image in IE6&#8230;</p>
<pre class="brush: css; title: ; notranslate">
background:url('../images/image.png') !important;
background:url('../images/image.gif');
</pre>
<p>The hack is the !important part of the CSS, because if you put !important after a line in your CSS, then it will take precedence regardless of what appears after it, except in IE! This means for all browsers the PNG is displayed, but for IE the second line containing the GIF is displayed. </p>
<p>This is a good solution for most, and I have used it to get around the IE6 problem on several sites I have designed. Fortunately, there is another option which uses JavaScript to let you display PNG&#8217;s properly in IE6, with working transparency!</p>
<p>The DD_belatedPNG script was so simple to setup and so far it has worked like a charm! I have not had chance to fully test it but from what I have seen, it looks good! Here&#8217;s how to set it up for your website:</p>
<p>1) Download the JS file from <a rel="nofollow" href="http://www.dillerdesign.com/experiment/DD_belatedPNG/">here</a>.</p>
<p>2) Include the following script in the header of your website:</p>
<pre class="brush: jscript; title: ; notranslate">
&lt;!--[if IE 6]&gt;
&lt;script src=&quot;http://www.domain-name.com/js/DD_belatedPNG.js&quot;&gt;&lt;/script&gt;
&lt;script&gt;
DD_belatedPNG.fix('');
&lt;/script&gt;
&lt;![endif]--&gt;
</pre>
<p>3) Finally, the fix(&#8221;) part of the script requires you to include any classes or id&#8217;s from your CSS that have PNG images set as their background. See the example below:</p>
<pre class="brush: jscript; title: ; notranslate">
&lt;!--[if IE 6]&gt;
DD_belatedPNG.fix('.class1, class2 img, .class3, div.class4');
&lt;![endif]--&gt;
</pre>
<p>As long as you have your CSS Selectors correct inside fix(&#8221;) then the PNG&#8217;s should now display correctly within IE6! If you need to test out your site in IE6 then you can use IETester which is free and can be downloaded from <a rel="nofollow" href="http://www.my-debugbar.com/wiki/IETester/HomePage">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://designwoop.com/2009/08/png-image-fix-for-ie6/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Reverse Your Email with CSS and Prevent Spam</title>
		<link>http://designwoop.com/2009/04/reversing-email-with-css/</link>
		<comments>http://designwoop.com/2009/04/reversing-email-with-css/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 19:56:12 +0000</pubDate>
		<dc:creator>Stu Greenham</dc:creator>
				<category><![CDATA[All Posts]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://designwoop.com/?p=293</guid>
		<description><![CDATA[SPAM... Literally the most annoying word! When I used to work in IT Support, I would constantly get asked how to stop spam, and my reply would always be that you can't! There is only so much software you can install / filters you can set going before you realise, the spam eventually reaches you anyway, fact! It's just part or web life. ]]></description>
			<content:encoded><![CDATA[<p>SPAM&#8230; Literally the most annoying word! When I used to work in IT Support, I would constantly get asked how to stop spam, and my reply would always be that you can&#8217;t! There is only so much software you can install / filters you can set going before you realise, the spam eventually reaches you anyway, fact! It&#8217;s just part or web life.</p>
<p>This is a cheeky little tip that will help preventing &#8216;spam bots&#8217; getting hold of your email address. Next time you have to display your Email on your website, use the following code&#8230;.</p>
<p>CSS:</p>
<pre class="brush: css; title: ; notranslate">
span.test {
  direction: rtl; unicode-bidi:bidi-override;
}
</pre>
<p>HTML:</p>
<pre class="brush: php; title: ; notranslate">
&lt;p&gt;&lt;span class=&quot;test&quot;&gt;moc.tset@tset&lt;/span&gt;&lt;/p&gt;
</pre>
<p>The CSS reverses the direction of the text, so you write your email backwards, the CSS sorts it out so it displays fine on your website, but this way, &#8216;spam bots&#8217; can&#8217;t read your email! woop!</p>
]]></content:encoded>
			<wfw:commentRss>http://designwoop.com/2009/04/reversing-email-with-css/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Removing the Dotted Hyperlink Borders</title>
		<link>http://designwoop.com/2008/10/removing-the-dotted-hyperlink-borders/</link>
		<comments>http://designwoop.com/2008/10/removing-the-dotted-hyperlink-borders/#comments</comments>
		<pubDate>Sun, 12 Oct 2008 09:53:58 +0000</pubDate>
		<dc:creator>Stu Greenham</dc:creator>
				<category><![CDATA[All Posts]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://designwoop.com/?p=132</guid>
		<description><![CDATA[I love Firefox, it is my favoured browser but there is one little thing that really frustrates me, especially from a designer point of view. You may, or may not have noticed that the browser adds a dotted border around hyperlinks that only become visible upon activating the link. For many this is probably not a problem as its not exactly causing any problems to anyone, but I don't like it.]]></description>
			<content:encoded><![CDATA[<p>I love Firefox, it is my favoured browser but there is one little thing that really frustrates me, especially from a designer point of view. You may, or may not have noticed that the browser adds a dotted border around hyperlinks that only become visible upon activating the link. For many this is probably not a problem as its not exactly causing any problems to anyone, but I don&#8217;t like it.</p>
<p><img class="alignnone" title="Example of Hyperlink Border in Firefox" src="http://designwoop.com/images/posts/hyperlinks/hyperlinks.png" alt="" /></p>
<p>To remove this border, all you need to do is add the two lines of code shown below to your sites Stylesheet and wahlaaa, gone! Many of the big sites haven&#8217;t even bothered to do this, a few to mention are <a rel="nofollow" title="Microsoft Homepage" href="http://www.microsoft.com" target="_blank">Microsoft</a>, <a rel="nofollow" title="Twitter Homepage" href="http://www.twitter.com" target="_blank">Twitter</a> and <a rel="nofollow" title="YouTube Homepage" href="http://www.youtube.com" target="_blank">YouTube</a>.</p>
<p>Anyways, here is the code&#8230;</p>
<pre class="brush: css; title: ; notranslate">
a:active { outline: none; }
a:focus { -moz-outline-style: none; }
</pre>
<p>I would be greatful if you could take a second to help promote my blog and share this link with any of your favoured networking sites using the link below&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://designwoop.com/2008/10/removing-the-dotted-hyperlink-borders/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (Feed is rejected)
Page Caching using disk: enhanced
Database Caching using disk: basic
Object Caching 507/529 objects using disk: basic

Served from: designwoop.com @ 2012-02-04 13:43:36 -->
