<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
>

<channel>
	<title>Hand Coding &#187; css</title>
	<atom:link href="http://www.handcoding.com/archives/category/web/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.handcoding.com</link>
	<description>Refenestration Daily.</description>
	<lastBuildDate>Tue, 24 Jan 2012 21:27:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<creativeCommons:license>http://creativecommons.org/licenses/by-nc/3.0/us/</creativeCommons:license>
		<item>
		<title>Getting Pocket IE to Obey the &#8220;Screen&#8221; CSS Media Type</title>
		<link>http://www.handcoding.com/archives/2006/09/12/getting-pocket-ie-to-obey-the-screen-css-media-type/</link>
		<comments>http://www.handcoding.com/archives/2006/09/12/getting-pocket-ie-to-obey-the-screen-css-media-type/#comments</comments>
		<pubDate>Tue, 12 Sep 2006 15:12:07 +0000</pubDate>
		<dc:creator>A. Bischoff</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">http://www.handcoding.com/archives/2006/09/12/getting-pocket-ie-to-obey-the-screen-css-media-type/</guid>
		<description><![CDATA[CSS Media Types can be rather handy for delivering CSS rules to one platform or another. Not uncommonly, they can be used to automagically create printer-friendly pages. They can, however, also be used to create mobile-friendly pages (such as for PDAs, cell phones and the like) through the &#8220;screen&#8221; media type. The general idea is [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.yourhtmlsource.com/stylesheets/cssmediatypes.html" title="CSS and Media Types">CSS Media Types</a> can be rather handy for delivering CSS rules to one platform or another. Not uncommonly, they can be used to automagically <a href="http://meyerweb.com/eric/articles/webrev/200001.html" title="&ldquo;Print Different&rdquo; &mdash; January 2000">create printer-friendly pages</a>. They can, however, also be used to create mobile-friendly pages (such as for PDAs, cell phones and the like) through the &ldquo;screen&rdquo; media type. The general idea is that large screen devices (CRTs and LCD monitors) can be fed CSS rules with the &ldquo;screen&rdquo; media type while handheld devices get a set of CSS rules with the &ldquo;handheld&rdquo; media type.</p>

<p>One fly in the ointment is that Pocket IE tries to outthink a page&rsquo;s media types. Because some  front-end coders put much of their CSS in a file with the &ldquo;screen&rdquo; media type, the Pocket IE development team decided that their browser should render rules with the &ldquo;screen&rdquo; media type. Ruh-roh. All of a sudden, all of the potentially small screen-unfriendly declarations &ldquo; floating, absolute positioning and the like &mdash; were being gargled and swallowed by this diminutive browser.</p>

<p>What that meant was that coders had to employ CSS with &ldquo;screen&rdquo; and &ldquo;handheld&rdquo; media types; and, in addition to having the usual mobile-type tweaks in &ldquo;handheld&rdquo; (such as perhaps removing extraneous page elements), coders also had to resort to undoing the effects present in &ldquo;screen&rdquo; stylesheets. Yuk. Pleasantly, Michael Angeles discovered a workaround &mdash; <a href="http://urlgreyhot.com/personal/weblog/css_for_windows_mobile_pocket_pc_internet_explorer" title="CSS for Windows Mobile / Pocket PC Internet Explorer">by capitalizing &ldquo;Screen&rdquo;</a>, Pocket IE properly ignores CSS with that media type.</p>

<p>I&rsquo;ve not been able to find a comprehensive table of CSS media support among handheld browsers, but the comments attached to this <a href="http://htmldog.com/ptg/archives/000055.php" title="&ldquo;HTML and CSS for Mobiles&rdquo; &mdash; Monday 14 June, 2004">post about CSS for Mobiles</a> are a decent starting point. There, the author set up some test pages for CSS media support and invited readers to send in their results. Here&rsquo;s an excerpt:</p>

<ul>
<li>Pocket IE &mdash; applies &ldquo;screen&rdquo; and &ldquo;handheld&rdquo;</li>
<li>SonyEricsson browser &mdash; passes over &ldquo;screen&rdquo; and applies &ldquo;handheld&rdquo;</li>
<li>Blackberry (7730) &mdash; neither &ldquo;screen&rdquo; nor  &ldquo;handheld&rdquo; are applied</li>
<li>Motorola browser &mdash; passes over &ldquo;screen&rdquo; and applies &ldquo;handheld&rdquo;</li>
</ul>

<p>I wouldn&rsquo;t be surprised if some handheld browsers still incorrectly apply the &ldquo;screen&rdquo; media type. All the same, with Pocket IE back on the good side of the force, that helps quite a bit; granted, Pocket IE doesn&rsquo;t have quite the market dominance that desktop IE does, but (until now) it was still one of the major offenders among mobile support for CSS media types. And, with a work-around as straightforward as tossing in some capitalization, it&rsquo;s not hard to push Pocket IE in the right direction.</p>]]></content:encoded>
			<wfw:commentRss>http://www.handcoding.com/archives/2006/09/12/getting-pocket-ie-to-obey-the-screen-css-media-type/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>#CSS IRC Channel on EFNet</title>
		<link>http://www.handcoding.com/archives/2006/03/05/css-irc-channel-on-efnet/</link>
		<comments>http://www.handcoding.com/archives/2006/03/05/css-irc-channel-on-efnet/#comments</comments>
		<pubDate>Sun, 05 Mar 2006 17:21:32 +0000</pubDate>
		<dc:creator>A. Bischoff</dc:creator>
				<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://www.handcoding.com/?p=921</guid>
		<description><![CDATA[I came across a mention of a #CSS IRC channel among the comments on a post at TechCrunch. I did some Googling around to try to see if it was a just-started channel trying to get off the ground, but it looks to be a more established venue. I&#8217;ve found that a second set of [...]]]></description>
			<content:encoded><![CDATA[<p>I came across a mention of a #CSS IRC channel among the comments on a <a href="http://www.techcrunch.com/2006/01/11/help-me-pick-the-winner/" title="Help Me Pick the SXSW Pass Winner &mdash; January 11, 2006">post at TechCrunch</a>. I  did some Googling around to try to see if it was a just-started channel trying to get off the ground, but it looks to be a more established venue.</p>

<p>I&rsquo;ve found that a second set of eyes can often be invaluable when debugging CSS (or code in general, I suppose) &mdash; sometimes all it takes is a second point of view to help shed some light on a problem. So, I think I may just give this channel a shot. The channel is <a href="http://css-standards.org/" title="CSS Standards &mdash; The Official Website of #CSS on EFnet">#CSS on EFnet</a> and I figure that I&rsquo;ll load it up during the day and let it run in the background; even if I don&rsquo;t run into an issue myself, maybe I&rsquo;ll be able to help someone else out.</p>

<p>The <a href="http://css-standards.org/" title="CSS Standards &mdash; The Official Website of #CSS on EFnet">channel&rsquo;s official home page</a> goes over a few rules that they follow &mdash; they're generally pretty reasonable, such as &ldquo;You must validate&rdquo; and &ldquo;We need a URL to your problem&rdquo;. In addition, though, they also discourage nick-changing (&ldquo;nickname_lunch&rdquo;, &ldquo;nickname_brb&rdquo;, and so on) which I may have to un-learn. I&rsquo;ll give it a try and see how it goes :).</p>

<p>(Oh, and here&rsquo;s a <a href="http://www.efnet.org/?module=servers">list of EFnet servers</a> in case that&rsquo;s helpful.)</p>]]></content:encoded>
			<wfw:commentRss>http://www.handcoding.com/archives/2006/03/05/css-irc-channel-on-efnet/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Opera Browser Now Free!</title>
		<link>http://www.handcoding.com/archives/2005/09/20/opera-browser-now-free/</link>
		<comments>http://www.handcoding.com/archives/2005/09/20/opera-browser-now-free/#comments</comments>
		<pubDate>Tue, 20 Sep 2005 15:03:21 +0000</pubDate>
		<dc:creator>A. Bischoff</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[opera]]></category>

		<guid isPermaLink="false">http://www.handcoding.com/?p=897</guid>
		<description><![CDATA[Opera has always been a good browser with excellent standards support &#8212; and now it&#8217;s free! Opera has removed the banners, found within our browser, and the licensing fee. Opera's growth, due to tremendous worldwide customer support, has made today's milestone an achievable goal. [&#8230;] For a moment there, I was wondering how they&#8217;d make [...]]]></description>
			<content:encoded><![CDATA[<p>Opera has always been a good browser with <a href="http://www.quirksmode.org/css/contents.html" title="CSS contents and browser compatibility">excellent standards support</a> &mdash; and <a href="http://opera.com/free/" title="Opera removes ad banner and licensing fee">now it&rsquo;s free</a>!</p>

<blockquote cite="http://opera.com/free/">
<p>Opera has removed the banners, found within our browser, and the licensing fee. Opera's growth, due to tremendous worldwide customer support, has made today's milestone an achievable goal. [&hellip;]</p>
</blockquote>

<p>For a moment there, I was wondering how they&rsquo;d make their money, but it looks like they have a <a href="http://opera.com/buy/">Premium Support </a> plan in place. All the same, I&rsquo;m pretty stoked about this. And, if Firefox didn&rsquo;t have so many <a href="http://del.icio.us/handcoding/firefox+extensions" title="Firefox extensions &mdash; these are the extensions that I have installed (currently or previously)">scrumptious extensions</a>, I&rsquo;d consider trying Opera as my day-to-day browser.</p>

<p><em>Update 2005-09-23:</em> According to <a href="http://gigaom.com/">Om Malik</a>, it was <a href="http://gigaom.com/2005/09/21/google-made-opera-browser-free/" title="Google Made Opera Browser Free &mdash; September 21, 2005"">Google that made Opera free</a>, through a compensation deal. Well, yay Google :).</p>]]></content:encoded>
			<wfw:commentRss>http://www.handcoding.com/archives/2005/09/20/opera-browser-now-free/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>IE7 Beta Due This Summer</title>
		<link>http://www.handcoding.com/archives/2005/02/15/ie7-beta-due-this-summer/</link>
		<comments>http://www.handcoding.com/archives/2005/02/15/ie7-beta-due-this-summer/#comments</comments>
		<pubDate>Tue, 15 Feb 2005 18:49:55 +0000</pubDate>
		<dc:creator>A. Bischoff</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://test.handcoding.com/archives/2005/02/15/ie7-beta-due-this-summer/</guid>
		<description><![CDATA[In an apparent policy reversal, Microsoft has said that it will release a beta of IE 7 this summer (Microsoft previously said that IE updates would only be available with Windows upgrades). Details seem to be scarce at the moment, but a Q&#38;A with Mike Nash, their Corporate VP of Security, revealed this much: &#8220;We&#8217;re [...]]]></description>
			<content:encoded><![CDATA[<p>In an apparent policy reversal, Microsoft has said that it will <a href="http://www.mozillazine.org/talkback.html?article=6079" title="MozillaZine: Microsoft Internet Explorer 7.0 Beta Due This Summer">release a beta of IE 7 this summer</a> (Microsoft previously said that IE updates would only be available with Windows upgrades). Details seem to be scarce at the moment, but a <a href="http://www.microsoft.com/presspass/features/2005/feb05/02-15Updates.asp">Q&amp;A with Mike Nash</a>, their Corporate VP of Security, revealed this much:</p>

<blockquote cite="http://www.microsoft.com/presspass/features/2005/feb05/02-15Updates.asp">
<p>&ldquo;We&rsquo;re very excited to announce at the RSA Conference today that this summer we&rsquo;ll release a beta of Internet Explorer 7.0 for Windows XP with Service Pack 2, which will have even more enhancements to security and privacy protections. These enhancements align very closely with the three core tenets of Microsoft&rsquo;s security approach that I mentioned earlier. Internet Explorer 7.0 will be the most secure browser we&rsquo;ve ever released, building on and surpassing the success of the SP2-enhanced Internet Explorer 6.0. We don�t plan to ship it until it meets our quality bar, which we�ve set pretty high. [&hellip;]&rdquo;</p>
</blockquote>

<p>So, while it looks like they&rsquo;re primarily focusing on securing their browser (which isn't a bad thing), I&rsquo;m hoping that they&rsquo;ll improve IE&rsquo;s standards compliance as well &mdash; oh, what I wouldn&rsquo;t give to be able to use <a href="http://css.maxdesign.com.au/selectutorial/selectors_adjacent.htm" title="Selectutorial: Adjacent Sibling Selectors">adjacent sibling</a> or <a href="http://css.maxdesign.com.au/selectutorial/selectors_attribute.htm" title="Selectutorial: Attribute Selectors">attribute</a> selectors.</p>]]></content:encoded>
			<wfw:commentRss>http://www.handcoding.com/archives/2005/02/15/ie7-beta-due-this-summer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>HTML Altimeter Bookmarklet</title>
		<link>http://www.handcoding.com/archives/2004/04/18/html-altimeter-bookmarklet/</link>
		<comments>http://www.handcoding.com/archives/2004/04/18/html-altimeter-bookmarklet/#comments</comments>
		<pubDate>Mon, 19 Apr 2004 05:33:45 +0000</pubDate>
		<dc:creator>A. Bischoff</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[xhtml]]></category>
		<category><![CDATA[bookmarklets]]></category>

		<guid isPermaLink="false">http://test.handcoding.com/archives/2004/04/18/html-altimeter-bookmarklet/</guid>
		<description><![CDATA[I heard about this an intriguing HTML Altimeter bookmarklet via Asa (or &#8220;Topographic View&#8221;, as the author calls it). It&#8217;s a bit hard to describe, but it essentially reassigns the CSS background for each element on the current page to represent the number of nested elements at that point. Level zero starts at black and [...]]]></description>
			<content:encoded><![CDATA[<p>I heard about this an intriguing <a href="http://www.make-believe.org/posts/04/04/01/0" title="make-believe.org: Topographic page layout">HTML Altimeter</a> bookmarklet <a href="http://weblogs.mozillazine.org/asa/archives/005204.html" title="adot&rsquo;s notblog*: a few interesting links">via Asa</a> (or &ldquo;Topographic View&rdquo;, as the author calls it). It&rsquo;s a bit hard to describe, but it essentially reassigns the CSS background for each element on the current page to represent the number of nested elements at that point.</p>

<p>Level zero starts at black and each additional nested element gets closer to white (with 16 shades in total). To make use of the bookmarklet, visit the <a href="http://www.make-believe.org/posts/04/04/01/0" title="make-believe.org: Topographic page layout">author&rsquo;s page</a> and drag the &ldquo;Topographic view&rdquo; link to your Personal Toolbar. Then, just click that link to see the effect applied to the current page.</p>

<p>As you might expect, well formed <a href="http://www.plainscapital.com/">CSS-based sites</a> barely get out of black, but <a href="http://www.digitallyimported.com/" title="Digitally Imported is actually a decent online electronica radio station">table-based layouts</a> can easily approach pink (the color designating nesting past 16). All the same, though this bookmarklet is good for an easy laugh at the expense of poorly built sites, I&rsquo;m not sure if it has any practical development applications :-/.</p>]]></content:encoded>
			<wfw:commentRss>http://www.handcoding.com/archives/2004/04/18/html-altimeter-bookmarklet/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>XHTML Jokes</title>
		<link>http://www.handcoding.com/archives/2004/03/22/xhtml-jokes/</link>
		<comments>http://www.handcoding.com/archives/2004/03/22/xhtml-jokes/#comments</comments>
		<pubDate>Mon, 22 Mar 2004 19:38:52 +0000</pubDate>
		<dc:creator>A. Bischoff</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[humor]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://test.handcoding.com/archives/2004/03/22/xhtml-jokes/</guid>
		<description><![CDATA[I found these XHTML Jokes at Photo Matt though they&#8217;re originally from HTML Dog. I&#8217;m guessing that only standards-aware web developers will get these, but I found some of them rather amusing: Q: Why did the XHTML actress turn down an Oscar? A: Because she refused to be involved in the presentation. Q: Why was [...]]]></description>
			<content:encoded><![CDATA[<p>I found these <a href="http://www.htmldog.com/ptg/archives/000036.php">XHTML Jokes</a> at <a href="http://photomatt.net/archives/2004/03/11/standards-jokes/" title="Photo Matt: Standards Jokes">Photo Matt</a> though they&rsquo;re originally from <a href="http://www.htmldog.com/ptg/archives/000036.php" title="HTML Dog: &ldquo;Against my better judgement&hellip;&rdquo;">HTML Dog</a>. I&rsquo;m guessing that only standards-aware web developers will get these, but I found some of them rather amusing:</p>

<blockquote>
<p>Q: Why did the <acronym title="eXtensible HyperText Markup Language">XHTML</acronym> actress turn down an Oscar?<br />
A: Because she refused to be involved in the presentation.</p>

<p>Q: Why was the font tag an orphan?<br />
A: Because it didn&rsquo;t have a font-family.</p>

<p>Q: Why do <acronym title="Cascading Style Sheets">CSS</acronym> designers have too many children?<br />
A: Because they employ lots of child selectors.</p>

<p>Q: Why was <acronym title="Internet Explorer">IE</acronym>5&rsquo;s 3-metre wide cell in the insane asylum smaller than IE6&rsquo;s 3-metre wide cell?<br />
A: Because the width of the cell included the padding&hellip;</p>

<p>Q: Why was the XHTML bird an invalid?<br />
A: Because it wasn&rsquo;t nested properly.</p>
</blockquote>

<p>I think the XHTML/Oscar one may be my favorite, though I liked the IE/cell-width one as well. And considering geeks&rsquo; general penchant for tech humor, I&rsquo;m almost surprised that these jokes have only come about now. In any case, they brightened my day a bit :).</p>]]></content:encoded>
			<wfw:commentRss>http://www.handcoding.com/archives/2004/03/22/xhtml-jokes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Semantically Correct Rounded Corners in CSS</title>
		<link>http://www.handcoding.com/archives/2004/03/10/semantically-correct-rounded-corners-in-css/</link>
		<comments>http://www.handcoding.com/archives/2004/03/10/semantically-correct-rounded-corners-in-css/#comments</comments>
		<pubDate>Wed, 10 Mar 2004 23:42:29 +0000</pubDate>
		<dc:creator>A. Bischoff</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://test.handcoding.com/archives/2004/03/10/semantically-correct-rounded-corners-in-css/</guid>
		<description><![CDATA[It seems that rounded corners are making a comeback in web design (or, maybe it&#8217;s just the designers I work with). And there&#8217;s not really an easy way about it since the current versions of CSS have no native support for rounding corners (however, I believe something may be in the works for CSS3). So, [...]]]></description>
			<content:encoded><![CDATA[<p>It seems that rounded corners are making a comeback in web design (or, maybe it&rsquo;s just the designers I work with). And there&rsquo;s not really an easy way about it since the current versions of CSS have no native support for rounding corners (however, I believe something may be in the works for CSS3).</p>

<p>So, what it comes down to is using multiple background images and placing them at each corner (top-left, bottom-left, and so on). Of course, CSS only supports one background image per element, so that doesn&rsquo;t make things easier. The workaround is simply to use multiple nested elements (such as nested DIVs), each with its own background image.</p>

<p>Nested DIVs can have their own problems, as they can quickly become semantically meaningless (that is, the HTML no longer describes the document&rsquo;s structure). However, Ryan Thrash has come up with what he calls the ThrashBox &mdash; a semantically correct set of HTML &amp; CSS to <a href="http://www.vertexwerks.com/tests/sidebox/" title="The ThrashBox &mdash; imple, Semantically Correct CSS Boxen with Clean Code">create rounded corners</a>.</p>

<p>His technique still relies on nested DIVs but he structures them so that the code remains meaningful (one div for the box, one div for the box&rsquo;s header and one div for the box&rsquo;s content). It may not be semantically perfect, but I think it&rsquo;s the best that can be achieved with current CSS. And, the next time I need to create a box with rounded corners, I&rsquo;ll consider his technique.</p>]]></content:encoded>
			<wfw:commentRss>http://www.handcoding.com/archives/2004/03/10/semantically-correct-rounded-corners-in-css/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>PNG Alpha Transparency Support in IE 5.5+</title>
		<link>http://www.handcoding.com/archives/2004/03/02/png-alpha-transparency-support-in-ie-55/</link>
		<comments>http://www.handcoding.com/archives/2004/03/02/png-alpha-transparency-support-in-ie-55/#comments</comments>
		<pubDate>Wed, 03 Mar 2004 05:04:19 +0000</pubDate>
		<dc:creator>A. Bischoff</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[png]]></category>

		<guid isPermaLink="false">http://test.handcoding.com/archives/2004/03/02/png-alpha-transparency-support-in-ie-55/</guid>
		<description><![CDATA[A coworker was asking me about PNGs the other day, and I pointed him to the LibPNG page &#8212; one of the more comprehensive sites I&#8217;ve found on the PNG format. For those not aware, PNG is a lossless image format (like GIF) but it supports up to 24 bit color (like JPEG). It&#8217;s also [...]]]></description>
			<content:encoded><![CDATA[<p>A coworker was asking me about PNGs the other day, and I pointed him to the <a href="http://www.libpng.org/pub/png/">LibPNG page</a> &mdash; one of the more comprehensive sites I&rsquo;ve found on the PNG format. For those not aware, PNG is a lossless image format (like GIF) but it supports up to 24 bit color (like JPEG). It&rsquo;s also supported by all the major browsers and many desktop applications.</p>

<p>Another advantage to PNG is that it supports <a href="http://www.libpng.org/pub/png/pngintro.html" title="Intro to PNG Features">alpha transparency</a>. Unlike GIFs which have on-or-off transparency, PNGs support up to 256 levels of transparency. So, a properly designed PNG image with alpha transparency can look good against a background of any color.</p>

<p>Basic PNG functionality is <a href="http://www.libpng.org/pub/png/pngapbr.html" title="PNG support by browser">supported by almost all browsers</a> (Netscape, IE and so on), and support for PNG&rsquo;s alpha transparency is also widespread. In fact, just about every browser &mdash; even the Sega Dreamcast browser &mdash; supports alpha transparency&hellip; <a href="http://www.libpng.org/pub/png/pngapbr.html#msie-win-unix" title="PNG support in IE/Windows">except for IE on Windows</a> (PNGs work there, just not the alpha transparency part).</p>

<p>And, as IE/Windows currently has the largest market share, it was thought that PNGs with alpha transparency essentially weren&rsquo;t usable on the web. However, after re-reading the <a href="http://www.libpng.org/pub/png/pngapbr.html#msie-win-unix" title="PNG support in IE/Windows">IE/Windows section</a>, I see that there&rsquo;s now a workaround to get <a href="http://webfx.eae.net/dhtml/pngbehavior/pngbehavior.html" title="Technique for getting PNG alpha transparency support in IE 5.5+">PNG alpha transparency support in IE 5.5+</a>!</p>

<p>As I understand it, IE can be induced &mdash; via some proprietary HTML &mdash; into using DirectX to render PNGs. And, as DirectX supports alpha transparency, you get alpha-channel support in IE. As all the other major browsers already have alpha channel support, it&rsquo;s conceivable that PNGs with alpha channel transparency could be used throughout a site.</p>]]></content:encoded>
			<wfw:commentRss>http://www.handcoding.com/archives/2004/03/02/png-alpha-transparency-support-in-ie-55/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Andy Budd on CSS Margin Collapsing</title>
		<link>http://www.handcoding.com/archives/2004/02/14/andy-budd-on-css-margin-collapsing/</link>
		<comments>http://www.handcoding.com/archives/2004/02/14/andy-budd-on-css-margin-collapsing/#comments</comments>
		<pubDate>Sat, 14 Feb 2004 19:24:04 +0000</pubDate>
		<dc:creator>A. Bischoff</dc:creator>
				<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://test.handcoding.com/archives/2004/02/14/andy-budd-on-css-margin-collapsing/</guid>
		<description><![CDATA[Margin-collapsing can sometimes be tricky to CSS beginners; especially as modern browsers support CSS better, collapsing margins is something that you could easily run into. However, Andy Budd has written an extended blog entry on the workings behind collapsing margins. For the most part, margin collapsing has few rules: At its core, margin collapsing is [...]]]></description>
			<content:encoded><![CDATA[<p>Margin-collapsing can sometimes be tricky to CSS beginners; especially as modern browsers support CSS better, collapsing margins is something that you could easily run into. However, Andy Budd has written an extended blog entry on the <a href="http://www.andybudd.com/blog/archives/000114.html" title="Andy Budd | No Margin for Error | November 23, 2003">workings behind collapsing margins</a>.</p>

<p>For the most part, margin collapsing has few rules:</p>

<blockquote>
<p>At its core, margin collapsing is very easy to understand. Basically when two vertical margins meet up, instead of adding together, the largest margin takes precedent and the other one &ldquo;collapses&rdquo; to nothing. [&hellip;]</p>
</blockquote>

<p>For example, if you have two adjacent paragraphs, the first with a 20px bottom margin and the second with a 15px top margin, the space between them will only be 20px &mdash; since the smaller of the two margins (15px) collapses into the larger one (20px).</p>

<p>It can get a bit tricky when borders come into play. In the case of borders, the two elements&rsquo; margins are no longer directly touching and so the margins don&rsquo;t collapse. I&rsquo;ve run into that one a few times when I&rsquo;ve turned on borders on an element (for debugging) and then found the layout to be wildly different after I finished debugging and turned off the borders.</p>

<p>The article also goes on to talk about how margins collapse around floated elements. But, most beginners who would run into collapsing margins may not be using floats as a layout technique anyhow. In all, I found the article informative and I won&rsquo;t hesitate to refer to it if I run into some weird collapsing issues.</p>]]></content:encoded>
			<wfw:commentRss>http://www.handcoding.com/archives/2004/02/14/andy-budd-on-css-margin-collapsing/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Multiple IE Versions on One Box!!</title>
		<link>http://www.handcoding.com/archives/2003/11/13/multiple-ie-versions-on-one-box/</link>
		<comments>http://www.handcoding.com/archives/2003/11/13/multiple-ie-versions-on-one-box/#comments</comments>
		<pubDate>Thu, 13 Nov 2003 20:36:43 +0000</pubDate>
		<dc:creator>A. Bischoff</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://test.handcoding.com/archives/2003/11/13/multiple-ie-versions-on-one-box/</guid>
		<description><![CDATA[Joe Maddalone of Insert Title Web Designs has discovered a method of running multiple versions of IE on one box! He made the discovery when he noticed that a developer&#8217; edition of IE was able to run concurrently with his installed version. Working backwards, he discovered which files the developer&#8217;s edition used and applied that [...]]]></description>
			<content:encoded><![CDATA[<p>Joe Maddalone of <a href="http://www.insert-title.com/web_design/" title="Chicago Web Design and Development">Insert Title Web Designs</a> has discovered a method of running <a href="http://www.insert-title.com/web_design/?page=articles/dev/multi_IE" title="Multiple IEs in Windows">multiple versions of IE on one box</a>! He made the discovery when he noticed that a <a href="http://msdn.microsoft.com/ieupdate/" title="The developer&rsquo;s edition is due to a patent case that Microsoft lost.">developer&rsquo; edition of IE</a> was able to run concurrently with his installed version.</p>

<p>Working backwards, he discovered which files the developer&rsquo;s edition used and applied that knowledge towards older IE versions &mdash; he downloaded their respective CAB files and extracted bits as needed. A few tweaks later, and he had stand-alone versions (<a href="http://www.insert-title.com/web_design/articles/dev/multiIE.jpg" title="Screenshot of three IE versions tiled across the screen">screenshot</a>). (The tweaks, involving IEXPLORE.exe.local, are further explained in the article.)</p>

<p>Of course, Joe outlines the steps he used to create the stand-alone versions and you could follow along with those. Or &mdash; even easier &mdash; QuicksMode.org has links to the <a href="http://www.quirksmode.org/browsers/multipleie.html" title="Browsers &mdash; Multiple Explorers">ready-to-run stand-alone versions of IE</a> download.</p>

<p>I&rsquo;ve tested this on my XP machine here at work, and it works great! When running multiple versions of IE, it can be easy to confuse which version is which; so, <a href="http://www.quirksmode.org/">QuicksMode</a> wrote a small script to <a href="http://www.quirksmode.org/js/keepieapart.html" title="JavaScript &mdash; Keeping multiple IE's apart">dynamically prepend the IE version number</a> to the page&rsquo;s title (so that it&rsquo;s easily visible in the taskbar).</p>

<p>Joe also includes a link for PayPal donations at the bottom of <a href="http://www.insert-title.com/web_design/?page=articles/dev/multi_IE">his page</a> to cover bandwidth costs and the like. And, considering how much time this discovery will save me, I was happy to contribute. <!-- $25 --></p>

<p>PS As you may have noticed, I&rsquo;m not one to use exclamation points gratuitously. It could have been two years or more since I last typed two consecutive exclamation points. But, I was so excited about this discovery that I included <em>two</em> in the title of this blog entry ;).</p>]]></content:encoded>
			<wfw:commentRss>http://www.handcoding.com/archives/2003/11/13/multiple-ie-versions-on-one-box/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc/3.0/us/</creativeCommons:license>
	</item>
	</channel>
</rss>

