<?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>john.geek.nz - 38911 Basic Bytes Free &#187; CSS tips</title>
	<atom:link href="http://www.john.geek.nz/category/tips/css-tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.john.geek.nz</link>
	<description>SQL Tips, Apple Tips and Randomness</description>
	<lastBuildDate>Thu, 10 Jun 2010 10:16:40 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Testing websites with multiple versions of IE</title>
		<link>http://www.john.geek.nz/2009/05/testing-websites-with-multiple-versions-of-ie/</link>
		<comments>http://www.john.geek.nz/2009/05/testing-websites-with-multiple-versions-of-ie/#comments</comments>
		<pubDate>Tue, 05 May 2009 22:29:13 +0000</pubDate>
		<dc:creator>John Burns</dc:creator>
				<category><![CDATA[CSS tips]]></category>
		<category><![CDATA[PC Tips]]></category>

		<guid isPermaLink="false">http://www.john.geek.nz/?p=1236</guid>
		<description><![CDATA[One of the most annoying tasks I have to do when I&#8217;m developing a website is to test it in the many different browsers and in some cases, multiple versions of each.
Internet Explorer is the most difficult to test.  Windows typically only allows one version of IE to be installed and no two versions [...]]]></description>
			<content:encoded><![CDATA[<p>One of the most annoying tasks I have to do when I&#8217;m developing a website is to test it in the many different browsers and in some cases, multiple versions of each.</p>
<p>Internet Explorer is the most difficult to test.  Windows typically only allows one version of IE to be installed and no two versions will render a page the same.  Add to this the frustration that a huge percentage of users still use Internet Explorer version 6 (Come on people, IE6 will be 8 years old this August!) and you&#8217;ve got a real problem on your hands.</p>
<p>Until now&#8230;.<br />
<span id="more-1236"></span><br />
I stumbled across <a href="http://www.my-debugbar.com/wiki/IETester" target="_blank">IETester </a>and I must say, it&#8217;s very good.</p>
<p>Here&#8217;s a screengrab straight from their website:<br />
<a href="http://www.john.geek.nz/wp-content/uploads/2009/05/ietester-03.png"><img src="http://www.john.geek.nz/wp-content/uploads/2009/05/ietester-03-300x173.png" alt="ietester-03" title="ietester-03" width="300" height="173" class="alignnone size-medium wp-image-1237" /></a></p>
<p>You can easily test a website using IE 5.5, 6, 7 and 8 (beta 2) to sort out all those alignment and rendering issues.</p>
<p>Still, users of anything prior to IE 7 could just do the developers a favour and simply upgrade.<br />
<a href="http://www.mozilla-europe.org/en/firefox/" target="_blank">Firefox</a> <a href="http://www.apple.com/safari/" target="_blank">Safari</a> <a href="http://www.opera.com/" target="_blank">Opera</a> <a href="http://www.microsoft.com/windows/products/winfamily/ie/default.mspx" target="_blank">Internet Explorer 7</a> <a href="http://www.microsoft.com/windows/Internet-explorer/default.aspx" target="_blank">Internet Explorer 8</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.john.geek.nz/2009/05/testing-websites-with-multiple-versions-of-ie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting a 1 Pixel high DIV in IE6</title>
		<link>http://www.john.geek.nz/2008/12/getting-a-1-pixel-high-div-in-ie6/</link>
		<comments>http://www.john.geek.nz/2008/12/getting-a-1-pixel-high-div-in-ie6/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 13:01:59 +0000</pubDate>
		<dc:creator>John Burns</dc:creator>
				<category><![CDATA[CSS tips]]></category>

		<guid isPermaLink="false">http://www.john.geek.nz/?p=714</guid>
		<description><![CDATA[For a web designer, IE6 is a real prick of a browser.  You are constantly having to use hacks on CSS to make it work for just one browser, which is now over seven years old.
I was having problems with the following code (inline styles used for simplicity):

&#60;div style=&#34;height: 1px; background-color: #000000;&#34;&#62;&#60;/div&#62;

In most of [...]]]></description>
			<content:encoded><![CDATA[<p>For a web designer, IE6 is a real prick of a browser.  You are constantly having to use hacks on CSS to make it work for just one browser, which is now over seven years old.</p>
<p>I was having problems with the following code (inline styles used for simplicity):</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;div style=&quot;height: 1px; background-color: #000000;&quot;&gt;&lt;/div&gt;</pre></div></div>

<p>In most of the &#8220;real&#8221; browsers (Opera, Safari, Camino, Firefox and even IE7) this showed up perfectly as a one pixel high black line.  In IE6, it comes up as a line around 16 pixels high.</p>
<p>To make it render correctly in IE6 (And still work in the &#8220;real&#8221; browsers) you need to add a non breaking space inside the DIV and supply the line-height style.<br />
Here is the fix:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;div style=&quot;height: 1px; line-height: 1px;
background-color: #000000;&quot;&gt;&amp;nbsp;&lt;/div&gt;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.john.geek.nz/2008/12/getting-a-1-pixel-high-div-in-ie6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
