<?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 Photo Gallery</title>
	<atom:link href="http://ifyoucodeittheywill.com/2009/04/css-photo-gallery/feed/" rel="self" type="application/rss+xml" />
	<link>http://ifyoucodeittheywill.com/2009/04/css-photo-gallery/</link>
	<description>xHTML and CSS made simple.</description>
	<lastBuildDate>Fri, 12 Mar 2010 12:18:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Lesa</title>
		<link>http://ifyoucodeittheywill.com/2009/04/css-photo-gallery/comment-page-1/#comment-148</link>
		<dc:creator>Lesa</dc:creator>
		<pubDate>Sun, 17 May 2009 22:54:47 +0000</pubDate>
		<guid isPermaLink="false">http://ifyoucodeittheywill.com/?p=791#comment-148</guid>
		<description>I couldn&#039;t figure out a good IE6-friendly solution that didn&#039;t entail more code than what I was going for, so a quick &quot;fix&quot; is to make each thumbnail clickable. The anchor link tags are already in place, so all you have to do is change the # to the url of the image.

So instead of:

&lt;pre&gt;&lt;code style=&quot;margin:0; overflow: auto;&quot;&gt;&lt;div id=&quot;gallery&quot;&gt;
&lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;frozen_lake.jpg&quot; alt=&quot;Frozen Lake&quot; title=&quot;Frozen Lake&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;sunrise.jpg&quot; alt=&quot;Sunrise&quot; title=&quot;Sunrise&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;fountain.jpg&quot; alt=&quot;Fountain&quot; title=&quot;Fountain&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;peacock.jpg&quot; alt=&quot;Peacock&quot; title=&quot;Peacock&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;boat.jpg&quot; alt=&quot;Boat&quot; title=&quot;Boat&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;sunset.jpg&quot; alt=&quot;Sunset&quot; title=&quot;Sunset&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;neon_grill.jpg&quot; alt=&quot;Neon Grill&quot; title=&quot;Neon Grill&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;old_print_shop.jpg&quot; alt=&quot;Old Print Shop&quot; title=&quot;Old Print Shop&quot; /&gt;&lt;/a&gt;
&lt;br style=&quot;clear:both;&quot; /&gt;
&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;

You end up with:

&lt;pre&gt;&lt;code style=&quot;margin:0; overflow: auto;&quot;&gt;&lt;div id=&quot;gallery&quot;&gt;
&lt;a href=&quot;frozen_lake.jpg&quot;&gt;&lt;img src=&quot;frozen_lake.jpg&quot; alt=&quot;Frozen Lake&quot; title=&quot;Frozen Lake&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;sunrise.jpg&quot;&gt;&lt;img src=&quot;sunrise.jpg&quot; alt=&quot;Sunrise&quot; title=&quot;Sunrise&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;fountain.jpg&quot;&gt;&lt;img src=&quot;fountain.jpg&quot; alt=&quot;Fountain&quot; title=&quot;Fountain&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;peacock.jpg&quot;&gt;&lt;img src=&quot;peacock.jpg&quot; alt=&quot;Peacock&quot; title=&quot;Peacock&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;boat.jpg&quot;&gt;&lt;img src=&quot;boat.jpg&quot; alt=&quot;Boat&quot; title=&quot;Boat&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;sunset.jpg&quot;&gt;&lt;img src=&quot;sunset.jpg&quot; alt=&quot;Sunset&quot; title=&quot;Sunset&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;neon_grill.jpg&quot;&gt;&lt;img src=&quot;neon_grill.jpg&quot; alt=&quot;Neon Grill&quot; title=&quot;Neon Grill&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;old_print_shop.jpg&quot;&gt;&lt;img src=&quot;old_print_shop.jpg&quot; alt=&quot;Old Print Shop&quot; title=&quot;Old Print Shop&quot; /&gt;&lt;/a&gt;
&lt;br style=&quot;clear:both;&quot; /&gt;
&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;

If you&#039;d like, you may also add a conditional statement that will only be seen by people who use IE6 or older versions of IE, such as:

&lt;pre&gt;&lt;code style=&quot;overflow: auto; margin:0;&quot;&gt;&lt;!--[if lte IE 6]&gt;
&lt;p id=&quot;old_ie&quot;&gt;You won&#039;t see this photo gallery as intended, because you are using an obsolete version of Internet Explorer. Due to its many bugs and security holes, you should &lt;a href=&quot;http://www.google.com/#hl=en&amp;q=upgrade+ie&amp;btnG=Google+Search&amp;aq=f&amp;oq=upgrade+ie&amp;fp=1_wXsDL0V4s&quot;&gt;upgrade your IE&lt;/a&gt;, or switch to a different browser all together. Better browsers than the one you are currently using include, but are not limited to: &lt;a href=&quot;http://www.mozilla.com/firefox/&quot;&gt;Firefox&lt;/a&gt;, &lt;a href=&quot;http://www.opera.com/download/&quot;&gt;Opera&lt;/a&gt;, &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, &lt;a href=&quot;http://www.flock.com&quot;&gt;Flock&lt;/a&gt;, and &lt;a href=&quot;http://www.google.com/chrome&quot;&gt;Google Chrome&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;To see enlarged photos in this browser, click on the thumbnails. Then, click the back button in your browser&#039;s toolbar to return to this page.&lt;/p&gt;
&lt;![endif]--&gt;&lt;/code&gt;&lt;/pre&gt;

You may then style (and even position) that message by targeting &lt;strong&gt;#old_ie&lt;/strong&gt; in your CSS, without it affecting any other browsers.</description>
		<content:encoded><![CDATA[<p>I couldn&#8217;t figure out a good IE6-friendly solution that didn&#8217;t entail more code than what I was going for, so a quick &#8220;fix&#8221; is to make each thumbnail clickable. The anchor link tags are already in place, so all you have to do is change the # to the url of the image.</p>
<p>So instead of:</p>
<pre><code style="margin:0; overflow: auto;">&lt;div id="gallery"&gt;
&lt;a href="#"&gt;&lt;img src="frozen_lake.jpg" alt="Frozen Lake" title="Frozen Lake" /&gt;&lt;/a&gt;
&lt;a href="#"&gt;&lt;img src="sunrise.jpg" alt="Sunrise" title="Sunrise" /&gt;&lt;/a&gt;
&lt;a href="#"&gt;&lt;img src="fountain.jpg" alt="Fountain" title="Fountain" /&gt;&lt;/a&gt;
&lt;a href="#"&gt;&lt;img src="peacock.jpg" alt="Peacock" title="Peacock" /&gt;&lt;/a&gt;
&lt;a href="#"&gt;&lt;img src="boat.jpg" alt="Boat" title="Boat" /&gt;&lt;/a&gt;
&lt;a href="#"&gt;&lt;img src="sunset.jpg" alt="Sunset" title="Sunset" /&gt;&lt;/a&gt;
&lt;a href="#"&gt;&lt;img src="neon_grill.jpg" alt="Neon Grill" title="Neon Grill" /&gt;&lt;/a&gt;
&lt;a href="#"&gt;&lt;img src="old_print_shop.jpg" alt="Old Print Shop" title="Old Print Shop" /&gt;&lt;/a&gt;
&lt;br style="clear:both;" /&gt;
&lt;/div&gt;</code></pre>
<p>You end up with:</p>
<pre><code style="margin:0; overflow: auto;">&lt;div id="gallery"&gt;
&lt;a href="frozen_lake.jpg"&gt;&lt;img src="frozen_lake.jpg" alt="Frozen Lake" title="Frozen Lake" /&gt;&lt;/a&gt;
&lt;a href="sunrise.jpg"&gt;&lt;img src="sunrise.jpg" alt="Sunrise" title="Sunrise" /&gt;&lt;/a&gt;
&lt;a href="fountain.jpg"&gt;&lt;img src="fountain.jpg" alt="Fountain" title="Fountain" /&gt;&lt;/a&gt;
&lt;a href="peacock.jpg"&gt;&lt;img src="peacock.jpg" alt="Peacock" title="Peacock" /&gt;&lt;/a&gt;
&lt;a href="boat.jpg"&gt;&lt;img src="boat.jpg" alt="Boat" title="Boat" /&gt;&lt;/a&gt;
&lt;a href="sunset.jpg"&gt;&lt;img src="sunset.jpg" alt="Sunset" title="Sunset" /&gt;&lt;/a&gt;
&lt;a href="neon_grill.jpg"&gt;&lt;img src="neon_grill.jpg" alt="Neon Grill" title="Neon Grill" /&gt;&lt;/a&gt;
&lt;a href="old_print_shop.jpg"&gt;&lt;img src="old_print_shop.jpg" alt="Old Print Shop" title="Old Print Shop" /&gt;&lt;/a&gt;
&lt;br style="clear:both;" /&gt;
&lt;/div&gt;</code></pre>
<p>If you&#8217;d like, you may also add a conditional statement that will only be seen by people who use IE6 or older versions of IE, such as:</p>
<pre><code style="overflow: auto; margin:0;">&lt;!--[if lte IE 6]&gt;
&lt;p id="old_ie"&gt;You won't see this photo gallery as intended, because you are using an obsolete version of Internet Explorer. Due to its many bugs and security holes, you should &lt;a href="http://www.google.com/#hl=en&#038;q=upgrade+ie&#038;btnG=Google+Search&#038;aq=f&#038;oq=upgrade+ie&#038;fp=1_wXsDL0V4s"&gt;upgrade your IE&lt;/a&gt;, or switch to a different browser all together. Better browsers than the one you are currently using include, but are not limited to: &lt;a href="http://www.mozilla.com/firefox/"&gt;Firefox&lt;/a&gt;, &lt;a href="http://www.opera.com/download/"&gt;Opera&lt;/a&gt;, &lt;a href="http://www.apple.com/safari/"&gt;Safari&lt;/a&gt;, &lt;a href="http://www.flock.com"&gt;Flock&lt;/a&gt;, and &lt;a href="http://www.google.com/chrome"&gt;Google Chrome&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;To see enlarged photos in this browser, click on the thumbnails. Then, click the back button in your browser's toolbar to return to this page.&lt;/p&gt;
&lt;![endif]--&gt;</code></pre>
<p>You may then style (and even position) that message by targeting <strong>#old_ie</strong> in your CSS, without it affecting any other browsers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lesa</title>
		<link>http://ifyoucodeittheywill.com/2009/04/css-photo-gallery/comment-page-1/#comment-147</link>
		<dc:creator>Lesa</dc:creator>
		<pubDate>Sun, 17 May 2009 01:36:41 +0000</pubDate>
		<guid isPermaLink="false">http://ifyoucodeittheywill.com/?p=791#comment-147</guid>
		<description>&lt;h2&gt;Update:&lt;/h2&gt;

It has been brought to my attention by a friend who has access to IE6, that the images don&#039;t enlarge in IE6 when they&#039;re hovered on.  Since IE6 is incompatible with Windows Vista (go figure), I downloaded &lt;a href=&quot;http://www.my-debugbar.com/wiki/IETester/HomePage&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;IETester&lt;/a&gt; and did some experimenting with it.

&lt;a href=&quot;http://ifyoucodeittheywill.com/samples/gallery/shifts-in-ie6.htm&quot; rel=&quot;nofollow&quot;&gt;Here is what I found&lt;/a&gt;. If you have &lt;a href=&quot;http://tredosoft.com/Multiple_IE&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;standalone versions of IE&lt;/a&gt; (works only with Windows XP), or a program like IETester (works with XP or Vista, but it crashes occasionally on my laptop), you may be able to see these results for yourself. Otherwise, you can just read my comments on the experimental pages.

&lt;strong&gt;Note:&lt;/strong&gt; If you view it in the standalone that I linked to above, the last page in my experiments will display incorrectly because the page uses an IE conditional statement that the standalone doesn&#039;t recognize. In IE6, the last page actually looks like the page before it, and IETester depicts this behavior accurately.

Another thing I didn&#039;t add to the comments on those pages is that the layout is messed up in IE6. The thumbnails appear in 3 columns instead of 4, and there is extra space on the right. You can see this for yourself without installing anything if you go to &lt;a href=&quot;http://www.totalvalidator.com/validator/ValidatorForm?type=url&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;Total Validator&lt;/a&gt;, paste in &lt;a href=&quot;http://ifyoucodeittheywill.com/samples/gallery/shifts-in-ie6.htm&quot; rel=&quot;nofollow&quot;&gt;this url&lt;/a&gt;, and choose IE6 from the dropbox where it says &quot;Screenshot&quot;. The url and screenshot are all you need to fill in/choose, then submit at the bottom, wait for it to process, and scroll down to see the screenshot.

The results in Safari, Opera, Flock, and Google Chrome (all on Windows) were all the same as the results in Firefox. This goes for the page used in this tutorial as well as the experimental pages, and IE6 is the only browser I tested with that doesn&#039;t display the initial code correctly.</description>
		<content:encoded><![CDATA[<h2>Update:</h2>
<p>It has been brought to my attention by a friend who has access to IE6, that the images don&#8217;t enlarge in IE6 when they&#8217;re hovered on.  Since IE6 is incompatible with Windows Vista (go figure), I downloaded <a href="http://www.my-debugbar.com/wiki/IETester/HomePage" target="_blank" rel="nofollow">IETester</a> and did some experimenting with it.</p>
<p><a href="http://ifyoucodeittheywill.com/samples/gallery/shifts-in-ie6.htm" rel="nofollow">Here is what I found</a>. If you have <a href="http://tredosoft.com/Multiple_IE" target="_blank" rel="nofollow">standalone versions of IE</a> (works only with Windows XP), or a program like IETester (works with XP or Vista, but it crashes occasionally on my laptop), you may be able to see these results for yourself. Otherwise, you can just read my comments on the experimental pages.</p>
<p><strong>Note:</strong> If you view it in the standalone that I linked to above, the last page in my experiments will display incorrectly because the page uses an IE conditional statement that the standalone doesn&#8217;t recognize. In IE6, the last page actually looks like the page before it, and IETester depicts this behavior accurately.</p>
<p>Another thing I didn&#8217;t add to the comments on those pages is that the layout is messed up in IE6. The thumbnails appear in 3 columns instead of 4, and there is extra space on the right. You can see this for yourself without installing anything if you go to <a href="http://www.totalvalidator.com/validator/ValidatorForm?type=url" target="_blank" rel="nofollow">Total Validator</a>, paste in <a href="http://ifyoucodeittheywill.com/samples/gallery/shifts-in-ie6.htm" rel="nofollow">this url</a>, and choose IE6 from the dropbox where it says &#8220;Screenshot&#8221;. The url and screenshot are all you need to fill in/choose, then submit at the bottom, wait for it to process, and scroll down to see the screenshot.</p>
<p>The results in Safari, Opera, Flock, and Google Chrome (all on Windows) were all the same as the results in Firefox. This goes for the page used in this tutorial as well as the experimental pages, and IE6 is the only browser I tested with that doesn&#8217;t display the initial code correctly.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
