<?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>Dave Cavins &#187; png</title>
	<atom:link href="http://davecavins.com/tag/png/feed/" rel="self" type="application/rss+xml" />
	<link>http://davecavins.com</link>
	<description>web design, SharePoint customization &#38; random stuff</description>
	<lastBuildDate>Wed, 28 Mar 2012 18:07:27 +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>MOSS PNG Fix.</title>
		<link>http://davecavins.com/2008/08/hello-world/</link>
		<comments>http://davecavins.com/2008/08/hello-world/#comments</comments>
		<pubDate>Sat, 23 Aug 2008 18:53:20 +0000</pubDate>
		<dc:creator>davecavins</dc:creator>
				<category><![CDATA[SharePoint Design]]></category>
		<category><![CDATA[ie fix]]></category>
		<category><![CDATA[png]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://davecavins.com/?p=1</guid>
		<description><![CDATA[Designing for IE6 means you must consider its lack of support for PNG transparency. There are many PNG hacks out there, I prefer this one from Unit Interactive Labs .  The problem with this one is that it has to read through the whole page searching for PNGs to fix which cna make load times [...]
Related posts:<ol>
<li><a href='http://davecavins.com/2009/02/adding-stuff-to-the-page-head-the-easy-way/' rel='bookmark' title='Adding references to the page head: the easy way'>Adding references to the page head: the easy way</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Designing for IE6 means you must consider its lack of support for PNG transparency. There are many PNG hacks out there, I prefer this one from <a href="http://labs.unitinteractive.com/unitpngfix.php" target="_blank">Unit Interactive Labs</a> .  The problem with this one is that it has to read through the whole page searching for PNGs to fix which cna make load times noticable slower.  I was trying top find a faster solution when I remembered that SharePoint uses PNGs on some of its pages.</p>
<p>On the all items view of most lists Sharepoint uses a png image.  Built into the core code is a png fix that allows this image to work in IE6.  You can take advantage of  the built in png fix by using the  following tag:</p>
<pre class="brush: plain; title: ; notranslate">&lt;asp:Content ContentPlaceHolderId=&quot;YourPlaceHolderName&quot;
runat=&quot;server&quot;&gt;
&lt;SharePoint:ViewIcon Width=&quot;widthInPx&quot; Height=&quot;heightInPx&quot; runat=&quot;server&quot;&gt;&lt;/asp:Content&gt;</pre>
<p>The tag will need to be inside of a content placeholder tag.  You can name the placeholder whatever you want that makes sense.  The placeholder canb be wrapped in a DIV tag for positioning purposes.</p>
<p>The ViewIcon tag will require a width and height to render properly and will not work for background images.</p>
<p>Related posts:<ol>
<li><a href='http://davecavins.com/2009/02/adding-stuff-to-the-page-head-the-easy-way/' rel='bookmark' title='Adding references to the page head: the easy way'>Adding references to the page head: the easy way</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://davecavins.com/2008/08/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

