<?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>Gabriel de Kadt &#187; CSS</title>
	<atom:link href="http://www.lazydada.com/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lazydada.com</link>
	<description>Personal notes on Mac based web development and design.</description>
	<lastBuildDate>Tue, 30 Aug 2011 10:47:39 +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>CSS in PHP</title>
		<link>http://www.lazydada.com/2011-02-02/css-in-php/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=css-in-php</link>
		<comments>http://www.lazydada.com/2011-02-02/css-in-php/#comments</comments>
		<pubDate>Wed, 02 Feb 2011 11:43:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web design & development]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.lazydada.com/?p=875</guid>
		<description><![CDATA[The last time I tried to render CSS through PHP was many, many moons ago. I didn&#8217;t work and I couldn&#8217;t figure it out. Yesterday I tried again and found out why&#8230; the MIME type must be set as text/css. D&#8217;oh. Set MIME type like this:]]></description>
			<content:encoded><![CDATA[<p>The last time I tried to render CSS through PHP was many, many moons ago. I didn&#8217;t work and I couldn&#8217;t figure it out. Yesterday I tried again and found out why&#8230; the MIME type must be set as text/css. D&#8217;oh. Set MIME type like this:</p>
<pre class="brush: php; title: ; notranslate">&lt; ?php
header(&quot;Content-Type: text/css&quot;);
?&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.lazydada.com/2011-02-02/css-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Weird line-height in Chrome?</title>
		<link>http://www.lazydada.com/2011-01-28/weird-line-height-in-chrome/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=weird-line-height-in-chrome</link>
		<comments>http://www.lazydada.com/2011-01-28/weird-line-height-in-chrome/#comments</comments>
		<pubDate>Fri, 28 Jan 2011 14:41:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Asides]]></category>
		<category><![CDATA[Web design & development]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.lazydada.com/?p=868</guid>
		<description><![CDATA[Specifying line-height on an &#60;a&#62; in a &#60;li&#62; will not work in your webkit based browsers. Line-height needs to be set on the containing &#60;li&#62; to work at all in Chrome or consistently in Firefox. Now you know.]]></description>
			<content:encoded><![CDATA[<p>Specifying line-height on an &lt;a&gt; in a &lt;li&gt; will not work in your webkit based browsers. Line-height needs to be set on the containing &lt;li&gt; to work at all in Chrome or consistently in Firefox. Now you know.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lazydada.com/2011-01-28/weird-line-height-in-chrome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The CSS reset has been reset</title>
		<link>http://www.lazydada.com/2011-01-09/the-css-reset-has-been-reset/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=the-css-reset-has-been-reset</link>
		<comments>http://www.lazydada.com/2011-01-09/the-css-reset-has-been-reset/#comments</comments>
		<pubDate>Sun, 09 Jan 2011 17:15:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web design & development]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[reset]]></category>

		<guid isPermaLink="false">http://www.lazydada.com/?p=862</guid>
		<description><![CDATA[The grandaddy of all CSS resets hits version 2.o beta: Eric Meyer&#8217;s Reset Revisited. See also the subsequent thoughts on how to handle :focus. Update! Now at Beta 2.]]></description>
			<content:encoded><![CDATA[<p>The grandaddy of all CSS resets hits version 2.o beta: <a href="http://meyerweb.com/eric/thoughts/2011/01/03/reset-revisited/" target="_blank">Eric Meyer&#8217;s Reset Revisited</a>. See also the <a href="http://meyerweb.com/eric/thoughts/2011/01/05/looking-for-focus/">subsequent thoughts</a> on how to handle <tt>:focus</tt>.</p>
<p><a href="http://meyerweb.com/eric/thoughts/2011/01/10/reset-2-0b2-paring-down/" target="_blank">Update</a>! Now at Beta 2.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lazydada.com/2011-01-09/the-css-reset-has-been-reset/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>On CSS image replacement techniques and SEO</title>
		<link>http://www.lazydada.com/2010-10-16/on-css-image-replacement-techniques-and-seo/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=on-css-image-replacement-techniques-and-seo</link>
		<comments>http://www.lazydada.com/2010-10-16/on-css-image-replacement-techniques-and-seo/#comments</comments>
		<pubDate>Sat, 16 Oct 2010 17:17:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web design & development]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://www.lazydada.com/?p=822</guid>
		<description><![CDATA[Having learnt that properly structuring headings is very important to SEO but wishing to be able to style and design pages beyond the limitations of HTML text I&#8217;ve often reverted to this old CSS hack to replace heading text with nice image substitutes: I&#8217;ve been wondering about whether this is still good practice recently and [...]]]></description>
			<content:encoded><![CDATA[<p>Having learnt that properly structuring headings is very important to SEO but wishing to be able to style and design pages beyond the limitations of HTML text I&#8217;ve often reverted to this old CSS hack to replace heading text with nice image substitutes:</p>
<pre class="brush: css; title: ; notranslate">.hide {visibility: hidden; display: block; line-height: 0; font-size: 0.1em; height: 0; margin: 0; padding: 0;}</pre>
<p>I&#8217;ve been wondering about whether this is still good practice recently and found today that I&#8217;m not the only one&#8230; thanks to Laura Carlson&#8217;s [webdev] Web Design Update newsletter (subscribe already! <a title="Laura Carlson webdev" href="http://www.d.umn.edu/itss/support/Training/Online/webdesign/webdev_listserv.html" target="_blank">HERE</a>) I seem to have found a reasonable debate in this post and subsequent comments from Roger Johansson on his site at <a title="to hide or not to hide. CSS and headings..." href="http://www.456bereastreet.com/archive/201010/is_hiding_text_with_css_to_improve_accessibility_bad_for_seo/" target="_blank">456 Berea Street</a>. In short:</p>
<ul>
<li>Avoid using CSS techniques to hide text from your site. Especially avoid hiding text that contains keywords that are important to your site.</li>
<li>If you want to provide an accessible format of text that is in an image &#8211; use a regular image with alt text in preference to any CSS background image replacing actual text. <a title="CSS Sprites" href="http://css-tricks.com/css-sprites/" target="_blank">CSS sprites</a> may be very useful to reduce server requests and page load times but use sprites for pure graphic elements only &#8211; not text.</li>
</ul>
<p>In a moment of clarity I realise that an image is valid within a heading tag&#8230; but whether alt text within an image within a heading tag is as strong for SEO as regular text in that same heading tag (whether or not hidden/positioned off-screen) is a question that could do with a clear answer. I suspect that alt text is not as strong: clear guidelines from those Google folks (I do love you) seem to be lacking again. SEO and graphically rich websites are not something that the engines of Google can cope with properly when faced with trying to be a <a title="Google: Shit Umbrellas" href="http://techcrunch.com/2010/03/14/key-to-gmail/" target="_blank">sh*t umbrella</a> (in gmail or the wider web) against the legions of spam pedlars out there who would love to stuff keywords into every corner of a page. In the meantime the life of a web designer remains tough.</p>
<p>Poor me.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lazydada.com/2010-10-16/on-css-image-replacement-techniques-and-seo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaScript Rounded Corners</title>
		<link>http://www.lazydada.com/2009-11-27/javascript-rounded-corners/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=javascript-rounded-corners</link>
		<comments>http://www.lazydada.com/2009-11-27/javascript-rounded-corners/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 09:40:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web design & development]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[ie8]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.lazydada.com/?p=495</guid>
		<description><![CDATA[Rounded corners with CSS and graphics is OK &#8211; but a pain to set up &#8211; requiring custom images and plenty of extra markup. JavaScript &#8211; particularly when helped by jQuery comes to the rescue and makes it fairly trivial. Requiremtents: must work with IE6, IE7, iE8, FF and Safari (note about IE8 below). Main [...]]]></description>
			<content:encoded><![CDATA[<p>Rounded corners with CSS and graphics is OK &#8211; but a pain to set up &#8211; requiring custom images and plenty of extra markup. JavaScript &#8211; particularly when helped by jQuery comes to the rescue and makes it fairly trivial. Requiremtents: must work with IE6, IE7, iE8, FF and Safari (note about IE8 below).</p>
<p>Main contenders:</p>
<ol>
<li>for jQuery: <a href="http://jrc.rctonline.nl/demo/index.html">jquery.corner.js from rc.rctonline.nl</a></li>
<li>for jQuery: <a href="http://www.malsup.com/jquery/corner/">jquery.corner.js from malsup.com</a></li>
<li>for jQuery: <a href="http://www.parkerfox.co.uk/labs/cornerz">cornerz</a></li>
<li>stand alone: <a href="http://www.curvycorners.net/">curvycorners</a></li>
</ol>
<p>Using #1 at the moment. Would like to try them all again in the light of the IE8 workaround below. Gotta say I now think #3 (cornerz) looks most promising in terms of size and ability. Going to have another look to see which ones look to CSS first (for those browsers that are modern &#8211; and not Internet Explorer) before turning to JavaScript.</p>
<p>Problem with most of these is IE8 doesn&#8217;t play nice&#8230; fix seems simply to add the behave like IE7 meta tag: &lt;tt&gt;&lt;meta http-equiv=&#8221;X-UA-Compatible&#8221; content=&#8221;IE=EmulateIE7&#8243; /&gt;&lt;/tt&gt;</p>
<p>First impressions:</p>
<ol>
<li>good, non-transparent outside corner</li>
<li>good,</li>
<li>throws errors in IE7, non-transparent outside corner</li>
<li>slow in IE,</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.lazydada.com/2009-11-27/javascript-rounded-corners/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free from the shackles of CSS conditional comments</title>
		<link>http://www.lazydada.com/2009-09-08/free-from-the-shackles-of-css-conditional-comments/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=free-from-the-shackles-of-css-conditional-comments</link>
		<comments>http://www.lazydada.com/2009-09-08/free-from-the-shackles-of-css-conditional-comments/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 12:12:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web design & development]]></category>
		<category><![CDATA[conditional comments]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[ie7]]></category>

		<guid isPermaLink="false">http://www.lazydada.com/?page_id=433</guid>
		<description><![CDATA[CSS hacks are here to stay but lets bundle them up in a single style-sheet… After trying to &#8220;hide my shame&#8221; [was it Zeldman that turned me on to CondComs with this phrase?] by using conditional comments for IE specific hacks, I&#8217;m now happier with the new and revised and reverted wisdom that throwing all [...]]]></description>
			<content:encoded><![CDATA[<h4 class="standfirst"><acronym title="Cascading Style Sheets">CSS</acronym> hacks are here to stay but lets bundle them up in a single style-sheet…</h4>
<p>After trying to &#8220;hide my shame&#8221; [was it <a href="http://zeldman.com">Zeldman</a> that turned me on to <abbr title="Conditional Comments">CondComs</abbr> with this phrase?] by using <a href="http://www.456bereastreet.com/archive/200510/stop_using_css_hacks_now/">conditional</a> <a href="http://www.quirksmode.org/css/condcom.html">comments</a> for IE specific hacks, I&#8217;m now happier with the new and revised and reverted wisdom that throwing all your CSS code into a single style sheet is best.</p>
<p>I&#8217;d read Meiert&#8217;s «<a href="http://meiert.com/en/blog/20070201/why-conditional-comments-are-bad-repeat-bad/">CondComs are bad</a>» article ages ago but I was still a print designer by trade so the message went into a back drawer in my mind. It&#8217;s a good read on the cons and it&#8217;s updated too.</p>
<p>For a while I have found elegance in removing offending and non-valid CSS code to fix bug for <acronym title="Microsoft Internet Explorer">IE</acronym>, particularly as a way of dealing with proprietary <acronym title="Microsoft">MS</acronym> code when incorporating PNGs with full alpha transparency into IE6. I&#8217;ve since moved away from trying to make <a href="http://www.lazydada.com/2008-10-18/full-alpha-transparency-for-png-images-and-css-backgrounds-in-ie6/">png24 work with IE6</a>; and then came the <a href="http://www.stubbornella.org/content/category/general/geek/performance-geek-general/">speed demons</a> and calls from the gallery for fewer HTTP requests.</p>
<h2>Avoid Extra Stylesheets</h2>
<ul>
<li>Fewer HTTP requests = quicker site (particularly for the majority IE crowd that need the hacks)</li>
<li>All code is kept together for easy reading. &#8216;Cos we al know that code is read more than it is written&#8230;</li>
<li>And lastly; the typical, for me, extra-ordinary reason: no more 404 errors sent to me from my <a title="get server errors emailed to you automatically with a PHP driven 404 error page" href="http://www.lazydada.com/2009-01-21/a-better-404/">better 404 page</a> indicating phantom strangeness for style-sheets linked to through conditional comments when there&#8217;s an .htaccess versioning rule.</li>
</ul>
<h4>Hide my shame.</h4>
<p>The only reason I was still using conditional comments was because I had failed to find an IE-7-only selector hack. Thanks to <a href="http://www.webdevout.net/css-hacks#in_css-selectors/ title=">Web Devout</a>. Look there for the comprehensive list &#8211; for posterity I copy paste here:</p>
<h2>CSS hacks in CSS Selectors</h2>
<blockquote><p>IE 6 and below<br />
<code>* html {}</code></p>
<p>IE 7 and below<br />
<code>*:first-child+html {} * html {}</code></p>
<p>IE 7 only<br />
<code>*:first-child+html {}</code></p>
<p>IE 7 and modern browsers only<br />
<code>html&gt;body {}</code></p>
<p>Modern browsers only (not IE 7)<br />
<code>html&gt;/**/body {}</code></p>
<p>Recent Opera versions 9 and below<br />
<code>html:first-child {}</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.lazydada.com/2009-09-08/free-from-the-shackles-of-css-conditional-comments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Keeping your sites optimised</title>
		<link>http://www.lazydada.com/2009-06-11/keeping-your-sites-optimised/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=keeping-your-sites-optimised</link>
		<comments>http://www.lazydada.com/2009-06-11/keeping-your-sites-optimised/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 09:16:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web design & development]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Optimisation]]></category>
		<category><![CDATA[shadowbox]]></category>
		<category><![CDATA[Sprites]]></category>

		<guid isPermaLink="false">http://www.lazydada.com/?p=382</guid>
		<description><![CDATA[The sites I&#8217;ve been working on had been suffering from flab. A JavaScript library here (jQuery of course), a plug-in there, another, another, another&#8230; then a large plug-in that loads it&#8217;s own plug-ins (Shadowbox v3 &#8211; I&#8217;m talking to you). It took a kick from outside (&#8220;your site x sucks HTTP requests and bandwidth&#8221;) to [...]]]></description>
			<content:encoded><![CDATA[<p>The sites I&#8217;ve been working on had been suffering from flab. A JavaScript library here (<a href="http://jquery.com/">jQuery</a> of course), a plug-in there, another, another, another&#8230; then a large plug-in that loads it&#8217;s own plug-ins (<a href="http://www.shadowbox-js.com/">Shadowbox v3</a> &#8211; I&#8217;m talking to <em>you</em>).</p>
<p>It took a kick from outside (&#8220;your site <em>x</em> sucks HTTP requests and bandwidth&#8221;) to realise things were going downhill.</p>
<p>So &#8211; with the help of the good folk at <a href="http://developer.yahoo.com/yslow/">Yahoo YSlow</a> and the new copy-cat-kid on the block (<a href="http://code.google.com/speed/page-speed/">Google Page Speed</a>) with their plug-ins for a plug-in(<a href="http://www.getfirebug.com/">firebug</a>) for Firefox [oh the irony]&#8230; I&#8217;ve started to get things in line again.</p>
<p>Both YSlow and Page Speed have helpful links and information once called &#8211; and now I can pat myself on the back for having improved my YSlow scores from an &#8216;F&#8217; to a &#8216;B&#8217;. Wetware heh.</p>
<p>Main issues I was able were too fix were too many HTTP requests and a lack of explicit caching direction from the web server. Nextly I&#8217;ll be looking at getting interface elements into a sprites for future jobs. (Must take this <a href="http://spritegen.website-performance.org/">sprite/CSS creation tool</a> for a spin. Looks absolutely fab.)</p>
<h3>Reduce HTTP requests</h3>
<p>While combining CSS files is trivial, combining a bunch of disparate JS files into one is not painless &#8211; I&#8217;ve had to drop a jQuery tooltip plug-in as it wouldn&#8217;t play nice when bundled up with its playground compatriots.</p>
<h3>Server side caching and compression</h3>
<p>is achieved the following htaccess rules:</p>
<pre>##Cacheing static components

FileETag none
Header unset Etag

# Far future 1 YEAR
&lt;FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|swf|mp3|mp4|css|js)$"&gt;
Header set Expires "Thu, 15 Apr 2010 20:00:00 GMT"
&lt;/FilesMatch&gt;
&lt;FilesMatch "scripts.inc.php$"&gt;
Header set Expires "Thu, 15 Apr 2010 20:00:00 GMT"
&lt;/FilesMatch&gt;

# Past last modified
&lt;FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|swf|mp3|mp4|css|js)$"&gt;
Header set last-modified "Sun, 13 Jul 2008 20:00:00 GMT"
&lt;/FilesMatch&gt;
&lt;FilesMatch "scripts.inc.php$"&gt;
Header set last-modified "Sun, 13 Jul 2008 20:00:00 GMT"
&lt;/FilesMatch&gt;

#Compress
&lt;IfModule mod_deflate.c&gt;
&lt;FilesMatch "\.(js|css)$"&gt;
SetOutputFilter DEFLATE
&lt;/FilesMatch&gt;
&lt;/IfModule&gt;</pre>
<h3>Shadowbox woes</h3>
<p>I now may be on the lookout for a replacement to Shadowbox. Shadowbow v2 was great &#8211; it came with lots of build options and could be explicitly launched by jQuery on Document Ready. v2 wasn&#8217;t IE8 compatible however &#8211; forcing an upgrade to v3 &#8211; still in beta&#8230; Ho hum. This required an updated version of the <a href="http://www.longtailvideo.com/players/jw-flv-player/">JW FLV</a> media player which I&#8217;m not mad keen on &#8211; and that needs a new licence. While Shadowbox is now very clever and can automatically find it&#8217;s own dependencies &#8211; it has many of these &#8211; each one with an HTTP request. While it is easy to combine the whole bundle into a single file its something I&#8217;d rather not have to do/keep track of &#8211; I&#8217;ve already got a rod for my back with the other jQuery plugins&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lazydada.com/2009-06-11/keeping-your-sites-optimised/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More PNG transparency notes</title>
		<link>http://www.lazydada.com/2009-05-10/more-png-notes/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=more-png-notes</link>
		<comments>http://www.lazydada.com/2009-05-10/more-png-notes/#comments</comments>
		<pubDate>Sun, 10 May 2009 10:24:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web design & development]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[PNG]]></category>
		<category><![CDATA[webdesign]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.lazydada.com/?p=325</guid>
		<description><![CDATA[Via thinkvitamin and  tipster: a couple of notes that may resolve a couple of outstanding issues I&#8217;ve had with PNG24 transparency use&#8230; Set width and height for the element/s containing the transparent background image [...] (also, bear in mind that the background images can no longer be tiled or positioned via &#8216;background-position&#8217;) Apply  position: relative; to [...]]]></description>
			<content:encoded><![CDATA[<p>Via <a href="http://thinkvitamin.com/design/css/handy-tips-to-help-you-out/">thinkvitamin</a> and  <a href="http://tipster.carsonified.com/categories/css/transparent-background-images-png-fix-for-ie6-a-fe/">tipster</a>: a couple of notes that may resolve a couple of outstanding issues I&#8217;ve had with PNG24 transparency use&#8230;</p>
<blockquote><p>Set width and height for the element/s containing the transparent background image [...] (also, bear in mind that the background images can no longer be tiled or positioned via &#8216;background-position&#8217;)</p>
<div>Apply  <code>position: relative;</code> to any contained links to ensure functionality</div>
</blockquote>
<p>The first point means I&#8217;ll probably not bother trying to tile a drop-shadow background image to a variable length column again. Time to switch to progressive enhancement with Photoshop CS4/Fireworks/other tools&#8217; ability to stuff alpha transparency into  regular PNG8 files.</p>
<p>The second point is probably the better answer to my last <a href="http://www.lazydada.com/2009-02-22/ie6-link-bug-over-png/">PNG problem</a> post.</p>
<p>Main post about how to work with <a href="http://www.lazydada.com/2008-10-18/full-alpha-transparency-for-png-images-and-css-backgrounds-in-ie6/">PNG24 alpha transparency and IE6</a> &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lazydada.com/2009-05-10/more-png-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE6 link bug over PNG</title>
		<link>http://www.lazydada.com/2009-02-22/ie6-link-bug-over-png/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ie6-link-bug-over-png</link>
		<comments>http://www.lazydada.com/2009-02-22/ie6-link-bug-over-png/#comments</comments>
		<pubDate>Sat, 21 Feb 2009 22:36:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web design & development]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[IE6]]></category>
		<category><![CDATA[PNG]]></category>
		<category><![CDATA[webdesign]]></category>

		<guid isPermaLink="false">http://www.lazydada.com/?p=209</guid>
		<description><![CDATA[One day I awoke brightly, but to my surprise&#8230; I&#8217;ve been so excited to be able to use full alpha transparency PNGs and getting them to play nice in IE6. Today I&#8217;ve found another PNG/IE6 issue. It seems that in some cases IE6 doesn&#8217;t like to have links in an element that is child of [...]]]></description>
			<content:encoded><![CDATA[<h4>One day I awoke brightly, but to my surprise&#8230;</h4>
<p>I&#8217;ve been <b>so</b> excited to be able to <a href="http://www.lazydada.com/2008-10-18/full-alpha-transparency-for-png-images-and-css-backgrounds-in-ie6/">use full alpha transparency PNGs and getting them to play nice in IE6</a>. Today I&#8217;ve found another PNG/IE6 issue. It seems that in some cases IE6 doesn&#8217;t like to have links in an element that is child of one with a background PNG to which <code>filter:progid:DXImageTransform.Microsoft.AlphaImageLoader</code> is applied. </p>
<p>The solution (in my case) was very simple:  just needed to close the div for the background and add another for the links. Now the links just appear to be contained by the background. </p>
<p> CSS trickery: eat my heart out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lazydada.com/2009-02-22/ie6-link-bug-over-png/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disappearing fixed div in IE7</title>
		<link>http://www.lazydada.com/2009-02-17/disappearing-fixed-div-in-ie7/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=disappearing-fixed-div-in-ie7</link>
		<comments>http://www.lazydada.com/2009-02-17/disappearing-fixed-div-in-ie7/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 17:52:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web design & development]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[IE]]></category>

		<guid isPermaLink="false">http://www.lazydada.com/?p=186</guid>
		<description><![CDATA[Who&#8217;d have thought &#8211; eh? Here&#8217;s a bug I came across while working on the updated Solutions Overseas website. Not used position:fixed; in anger before. The &#8220;Enquire Now&#8221; button there is fixed. Except in IE7 though. Looked around and it&#8217;s apparently caused by a floated div next to a postion: fixed div (next to/child of [...]]]></description>
			<content:encoded><![CDATA[<h4>Who&#8217;d have thought &#8211; eh?</h4>
<p>Here&#8217;s a bug I came across while working on the updated <a href="http://www.solutionsoverseas.com/" target="_blank">Solutions Overseas website</a>. Not used <code>position:fixed;</code> in anger before. The &#8220;Enquire Now&#8221; button there is fixed. Except in <acronym ="Microsoft Internet Explorer">IE7</acronym> though. Looked around and it&#8217;s apparently caused by a floated div next to a <code>postion: fixed</code> div (next to/child of parent etc&#8230; )</p>
<p>Simple fix &#8211; add another div around or between those two scrapping trouble makers. </p>
<p><a href="http://www.brunildo.org/test/IE_raf3.html" title="fixed div visibility issue in IE7" target="_blank">Documented here.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lazydada.com/2009-02-17/disappearing-fixed-div-in-ie7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
