<?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>CSSquirrel &#187; CSS</title>
	<atom:link href="http://cssquirrel.com/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://cssquirrel.com/blog</link>
	<description>opinions and news on web design</description>
	<lastBuildDate>Fri, 18 May 2012 16:26:23 +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>Elsewhere: Pea.rs</title>
		<link>http://cssquirrel.com/blog/2012/02/06/elsewhere-pea-rs/</link>
		<comments>http://cssquirrel.com/blog/2012/02/06/elsewhere-pea-rs/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 17:25:02 +0000</pubDate>
		<dc:creator>Kyle Weems</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[aea]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[dan cederholm]]></category>
		<category><![CDATA[design patterns]]></category>
		<category><![CDATA[elsewhere]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[pea.rs]]></category>

		<guid isPermaLink="false">http://cssquirrel.com/blog/?p=1021</guid>
		<description><![CDATA[I&#8217;m not at An Event Apart: Atlanta. Which is a shame because by all accounts I missed some wicked banjo playing by Dan Cederholm. And I love listening to some good banjo. However, I am following along via Twitter, and saw this announcement by Jeffrey Zeldman, web design godfather and co-founder of An Event Apart: [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m not at <a title="An Event Apart: Atlanta 2012" href="http://aneventapart.com/2012/atlanta/">An Event Apart: Atlanta</a>. Which is a shame because by all accounts I missed some wicked banjo playing by <a title="SimpleBits" href="http://simplebits.com/">Dan Cederholm</a>. And I love listening to some good banjo.</p>
<p>However, I am following along via Twitter, and saw <a title="tweet by Jeffrey Zeldman" href="https://twitter.com/#!/zeldman/status/166563547722162176">this announcement</a> by <a title="Jeffrey Zeldman Presents" href="http://www.zeldman.com/">Jeffrey Zeldman</a>, web design godfather and co-founder of An Event Apart:</p>
<blockquote><p>.<a href="http://twitter.com/simplebits" rel="user">@simplebits</a> just unveiled Pears <a href="http://pea.rs/">pea.rs</a>, an open source web design pattern library/WP theme. <a href="http://twitter.com/search?q=%23aea" rel="hashtag">#aea</a></p></blockquote>
<p><a title="Pears" href="http://pea.rs/">Pea.rs</a> looks like a convenient little tool for web designers to bookmark, a library of sorts where commonly needed HTML/CSS patterns for common page elements like navigation, lists and such can be quickly grabbed and used. I&#8217;m sure you&#8217;re all so amazing that you don&#8217;t <em>need</em> it for your markup, but I also think for prototyping some page elements this might be a good resource to go-to to quickly grab and paste. You might also find a few new ideas on how to arrange your markup or CSS, too.</p>
<p>Check it out.</p>
]]></content:encoded>
			<wfw:commentRss>http://cssquirrel.com/blog/2012/02/06/elsewhere-pea-rs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comic Update: So Cold</title>
		<link>http://cssquirrel.com/blog/2011/09/06/comic-update-so-cold/</link>
		<comments>http://cssquirrel.com/blog/2011/09/06/comic-update-so-cold/#comments</comments>
		<pubDate>Tue, 06 Sep 2011 20:45:47 +0000</pubDate>
		<dc:creator>Kyle Weems</dc:creator>
				<category><![CDATA[Comic]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Standards]]></category>
		<category><![CDATA[beep and the squirrel]]></category>
		<category><![CDATA[conditional rules]]></category>
		<category><![CDATA[ethan marcotte]]></category>
		<category><![CDATA[w3c]]></category>

		<guid isPermaLink="false">http://cssquirrel.com/blog/?p=932</guid>
		<description><![CDATA[In a perfect world, Ethan Marcotte would star opposite of me in a web design-themed, buddy cop action comedy called Beep and the Squirrel. Actually&#8230; I&#8217;m writing that one down, just in case. Until that glorious moment, I&#8217;ll enjoy his raw intellect and seasoned wit while envying his creative talent in a suitably stalker-like fashion. [...]]]></description>
			<content:encoded><![CDATA[<div class="comic"><img longdesc="http://cssquirrel.com/comicscripts/script86.htm" src="/images/comic/cs086.png" alt="CSSquirrel #86: So Cold" /></div>
<p>In a perfect world, <a title="Ethan Marcotte" href="http://unstoppablerobotninja.com/" target="_blank">Ethan Marcotte</a> would star opposite of me in a web design-themed, buddy cop action comedy called <em>Beep and the Squirrel</em>.</p>
<p>Actually&#8230; I&#8217;m writing that one down, just in case.</p>
<p>Until that glorious moment, I&#8217;ll enjoy his raw intellect and seasoned wit while envying his creative talent in a suitably stalker-like fashion. (Unless you&#8217;re reading this, Ethan, in which case I assure you that I am in no way digging through your refuse bins looking for cast-off brilliant ideas and toothbrushes.)</p>
<p>While we&#8217;re in the vein of borderline creepy idol worship, I&#8217;m going to agree with Ethan&#8217;s succinct tweet on the W3C&#8217;s <a title="CSS Conditional Rules Module Level 3" href="http://www.w3.org/TR/css3-conditional/" target="_blank">CSS Conditional Rules Module Level 3 Working Draft</a> (which I&#8217;ll reduce to the much easier to remember abbreviation &#8220;CCR Module&#8221;, hereafter nicknamed the &#8220;More Cowbell&#8221; document). I feel cold.</p>
<p>I&#8217;m still perusing the document. Although any judgement leveled while shooting from the hips (hello, ladies) is bound to be rife with bad summaries and skewed views, in my opinion the module doesn&#8217;t seem to solve any problems that aren&#8217;t already being solved in a better fashion by good CSS practice or other techniques. It&#8217;s a lazy man&#8217;s shortcut to &#8220;supportin&#8217; olla them thar browsers&#8221;.</p>
<p>As Dylan Wilbanks said, <a title="tweet by Dylan Wilbanks" href="http://twitter.com/dylanw/status/111141999737978883" target="_blank">these aren&#8217;t the conditionals I&#8217;m looking for</a>.</p>
<p>Just look at <a title="@supports" href="http://www.w3.org/TR/css3-conditional/#at-supports" target="_blank">@supports</a>, for the love of cheese (or dairy-free cheese alternative for vegans and the lactose intolerant). It lets you test if a browser supports a feature, before (in their examples) you then go and use the feature. What? How bizarre is that? I know in their examples you can get far trickier with <em>not</em> and <em>or</em> and <em>doogie howser</em>, but seriously?</p>
<p>When it comes to the problems that CSS is supposed to solve, although @supports and its ilk would work, they seem to encourage bad or unnecessarily laboriously bloated CSS documents instead of streamlining the process. And when it comes to <a title="@document" href="http://www.w3.org/TR/css3-conditional/#at-document" target="_blank">@document</a> I believe that the authors are trying to make CSS solve problems it wasn&#8217;t intended for.</p>
<p>Look, if you&#8217;re trying to get your CSS to be flexibly supported across different browsers and devices, I recommend checking out Ethan&#8217;s <a title="Responsive Web Design published by A Book Apart" href="http://www.abookapart.com/products/responsive-web-design" target="_blank">Responsive Web Design</a>, or at least actually using your skullmeat instead of slapping shoddy shortcuts into your CSS. Capiche?</p>
]]></content:encoded>
			<wfw:commentRss>http://cssquirrel.com/blog/2011/09/06/comic-update-so-cold/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Square Peg, Round Hole</title>
		<link>http://cssquirrel.com/blog/2010/11/02/square-peg-round-hole/</link>
		<comments>http://cssquirrel.com/blog/2010/11/02/square-peg-round-hole/#comments</comments>
		<pubDate>Tue, 02 Nov 2010 16:40:49 +0000</pubDate>
		<dc:creator>Kyle Weems</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[border-radius]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[rant]]></category>

		<guid isPermaLink="false">http://www.cssquirrel.com/?p=758</guid>
		<description><![CDATA[There is going to be a comic that gets attached to this rant, I assure you. However, I&#8217;m so fired up on the topic at the moment that I&#8217;m tossing this post out sans the punchline. I&#8217;ve used border-radius quite a bit. As far as CSS3 goes, it&#8217;s one of my go-to styles for making [...]]]></description>
			<content:encoded><![CDATA[<p>There is going to be a comic that gets attached to this rant, I assure you. However, I&#8217;m so fired up on the topic at the moment that I&#8217;m tossing this post out sans the punchline.</p>
<p>I&#8217;ve used border-radius quite a bit. As far as CSS3 goes, it&#8217;s one of my go-to styles for making something look snazzy. Just round it and it&#8217;s cool, right? Right?</p>
<p>While working on an internal project for <a title="Mindfly Studio" href="http://mindfly.com/" target="_blank">Mindfly Studio</a>, I found myself grabbing this particular tool for rounding the thumbnail images that were attached with a list of article briefs. When I went to test the results, I found to my dismay that the images were square still, with the rounded borders cutting behind the square of the image.</p>
<p>Then I remembered that I&#8217;d encountered this particular issue before. No problem, I thought to myself. Just wrap that bad-boy in a div (or in this case, an anchor that already existed around the image) and use border-radius on the wrapper. Perfect! Right?</p>
<p>No, sadly.</p>
<p>At this point I felt like my CSS cred was rapidly drying up, and started debating going by JSONSquirrel instead.</p>
<p>&#8220;To the cloud!&#8221; I pronounced, feeling inclined to abuse buzz words, and fired up Twitter. I was informed this was an issue with Firefox (my browser of choice. I like big butts and I cannot lie) but that it&#8217;d be all peachy in Webkit (also known as Apple Browser Jesus in web designer circles).</p>
<p>But as it turns out, Webkit also does it wrong. Less wrong, but wrong.</p>
<p>Here&#8217;s my proof: <a title="Images with Border-Radius Test Page" href="http://cssquirrel.com/testcases/images-with-border-radius/" target="_blank">border-radius test page</a>.</p>
<p>What Webkit does correctly is round the corner of the image itself (when the border-radius property is set for the image, but not the wrapper), but it clips the border if one exists. If placed in a wrapper, like Firefox, it fails altogether.</p>
<p>I tested on the following browsers: Safari 5, Chrome, Firefox 3, Firefox 4 Beta, Opera 10.63, Internet Explorer 8 and Internet Explorer 9 Beta. It&#8217;s no shock that IE8 didn&#8217;t do what I wanted, as it doesn&#8217;t support border-radius at all. Although, humorously enough, their outright failure to round the border (while leaving the image square) was still more aesthetically pleasing than the clipping/overlapping that were the results in Firefox, Webkit and Opera. And yes, Firefox 4 Beta also failed to round the corners as I desired.</p>
<p>Unexpectedly, IE9 Beta did exactly what I desired, which was rounding the image with the border intact (and rounded) with it. The only one, in fact, to do so. That was a shock.</p>
<p>Maybe I&#8217;m expecting this property to do something other than its actual purpose. That said, wouldn&#8217;t an image tag be the most likely case of an element that you&#8217;d want a rounded border to work properly with? It certainly is for me.</p>
<p>I&#8217;m aware that setting a background-image on an element and rounding it is a workaround that functions perfectly. However, if styles are turned off, you lose the image. What if you want the actual image present regardless of whether CSS was present? Well, at present, go with square corners, it seems.</p>
<p>If someone more clever than me comes up with a way around this that is CSS-based (and not overlapping it with a PNG with a rounded hole in it or some other such workaround) then please let me know. I&#8217;d be really curious to see how others tackle this shortcoming.</p>
]]></content:encoded>
			<wfw:commentRss>http://cssquirrel.com/blog/2010/11/02/square-peg-round-hole/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Elsewhere: Getting Vertical With CSS</title>
		<link>http://cssquirrel.com/blog/2010/07/29/elsewhere-getting-vertical-with-css/</link>
		<comments>http://cssquirrel.com/blog/2010/07/29/elsewhere-getting-vertical-with-css/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 16:20:16 +0000</pubDate>
		<dc:creator>Kyle Weems</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[elsewhere]]></category>
		<category><![CDATA[link]]></category>
		<category><![CDATA[mindfly]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.cssquirrel.com/?p=710</guid>
		<description><![CDATA[Over at the Mindfly Studio Blog I&#8217;ve added a small tutorial on how to vertically align your text with CSS. Yes, it annoys the hell out of me to use display: table-cell (which was the source of Monday&#8217;s comic on this very topic), but for now it&#8217;s the best thing we&#8217;ve got. If you&#8217;re wrestling [...]]]></description>
			<content:encoded><![CDATA[<p>Over at the Mindfly Studio Blog I&#8217;ve added a <a title="Link to Mindfly blog post: Getting Vertical with CSS" href="http://www.mindfly.com/blog/post/2010/07/28/Getting-Vertical-With-CSS.aspx" target="_blank">small tutorial</a> on how to vertically align your text with CSS. Yes, it annoys the hell out of me to use <strong>display: table-cell</strong> (which was the source of <a title="Link to CSSquirrel #66: Aligning Text In The Outback" href="/comic/?comic=66">Monday&#8217;s comic</a> on this very topic), but for now it&#8217;s the best thing we&#8217;ve got. If you&#8217;re wrestling with just this, pop on over for a simple explanation.</p>
<p>If you&#8217;ve got a better method, please tell me in the comments. I&#8217;m open to new and strange things, like Texan sushi.</p>
]]></content:encoded>
			<wfw:commentRss>http://cssquirrel.com/blog/2010/07/29/elsewhere-getting-vertical-with-css/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Comic Update: Aligning Text In The Outback</title>
		<link>http://cssquirrel.com/blog/2010/07/26/comic-update-aligning-text-in-the-outback/</link>
		<comments>http://cssquirrel.com/blog/2010/07/26/comic-update-aligning-text-in-the-outback/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 16:28:44 +0000</pubDate>
		<dc:creator>Kyle Weems</dc:creator>
				<category><![CDATA[Comic]]></category>
		<category><![CDATA[Australia]]></category>
		<category><![CDATA[Crocodile Dundee]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[john allsopp]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[table-cell]]></category>
		<category><![CDATA[vertical align]]></category>
		<category><![CDATA[yak]]></category>

		<guid isPermaLink="false">http://www.cssquirrel.com/?p=702</guid>
		<description><![CDATA[Today&#8217;s comic features John Allsopp, the trouble with aligning text vertically, and the Outback. No, not the restaurant. The vast arid part of Australia. Mind you, I have in fact been to the restaurant, and I was disappointed for a number of reasons. At least one of which is the entire lack of kangaroo steaks. [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Link to CSSquirrel #66: Aligning Text In The Outback" href="/comic/?comic=66">Today&#8217;s comic</a> features <a title="Link to John Allsopp" href="http://johnfallsopp.com/" target="_blank">John Allsopp</a>, the trouble with aligning text vertically, and the Outback. No, not the restaurant. <a title="Link to a Wikipedia article on the Outback" href="http://en.wikipedia.org/wiki/Outback" target="_blank">The vast arid part of Australia</a>. Mind you, I have in fact <em>been </em>to the restaurant, and I was disappointed for a number of reasons.</p>
<p>At least one of which is the entire lack of kangaroo steaks.</p>
<p>My apologies to the vegetarians among you.</p>
<p>There&#8217;s two non-restaurant related points to the comic. The first is that almost everything I know about Australia I learned from <a title="Link to &quot;Is That a Knife?&quot;" href="http://www.youtube.com/watch?v=01NHcTM5IA4" target="_blank">Crocodile Dundee</a>. Which means that large knives, boomerangs, and poisonous animals are <em>everywhere</em>. The second (and more relevant) point is that I am more than a little annoyed at the task of vertically aligning text with CSS. And clearly, <a title="Link to a tweet by John Allsopp" href="http://twitter.com/johnallsopp/status/18950926483" target="_blank">John agrees with me</a>. But, naturally, when he discusses the point it sounds so much cooler because of that dreamy Australian accent.</p>
<p>Let&#8217;s get to it. CSS has been around in some shape or form since, what, 1994? And most of the early web was all about text. Red text. Blue text. Flashing text. Marquee text. Text that was occasionally on fire with a sword going through it. Epic, taste-shatteringly bad text. In the entire intervening generation since, why has nobody in a position to do something about it said, &#8220;Hey, if we want to vertically center more than one line of text&#8230; how do we do that?&#8221;</p>
<p>Really, why? How wild and crazy is the concept that you may want to vertically align a paragraph of something in the mouth of a giant robot, or otherwise arrange it delicately between two slices of bread?</p>
<p>I&#8217;m aware that I can center text vertically inside an element that&#8217;s been given <strong>display: table-cell</strong>. And when the need arises, I&#8217;ve even used it. But it leaves my mouth tasting almost as bad as it did the day I chewed on a tiny blue plastic donkey I found in the playground when I was five. It&#8217;s the kind of rancid, oily taste that ruins your meals for the next several days. No, really. Kids, don&#8217;t chew on blue donkeys.</p>
<p>What if I want an inline-block? What if I don&#8217;t want all the behaviors of a table-cell? What if I hate tables with such a passion that I&#8217;d rather eat my meals while standing rather than bring back memories of table-based layouts with either using a CSS style that imitates them or eating on a wooden surface that shares a name with them? Huh? What then?</p>
<p>Well, in such a circumstance, I believe I&#8217;d be screwed.</p>
<p>I&#8217;m not entirely sure how necessary it is to have a <a title="Link to CSS3 Marquee Module" href="http://www.w3.org/TR/css3-marquee/" target="_blank">Marquee module in CSS3</a>. Don&#8217;t get me wrong, panning text is&#8230; er, hot&#8230; but along with all the whiz bang animations that CSS3 brought us, can I please get something that makes me capable of vertically aligning some bloody text in a bloody parent element with a single bloody style? Especially without invoking tables?</p>
<p>Thanks. Loves and kisses.</p>
<p>P.S. John Allsopp is a nutter. I say this, because he&#8217;s running a five week online course, <a title="Link to HTML5 Live with John Allsopp" href="http://courses.sitepoint.com/html5-live" target="_blank">HTML5 Live With John Allsopp</a>, over at SitePoint. My evidence for his insanity is that this course contains 8 structured lessons, 2 Live Q&amp;A sessions, practical exercises and a yak! All for <strong>under $10</strong>. Ok, it doesn&#8217;t have a yak. But it has the rest, and looks to be an in depth look at harnessing HTML5 hotness today and tomorrow (markup, native audio and video, canvas, ARIA and more!)</p>
<p>It&#8217;s a crazy good bargain. Go take advantage of it.</p>
]]></content:encoded>
			<wfw:commentRss>http://cssquirrel.com/blog/2010/07/26/comic-update-aligning-text-in-the-outback/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Comic Update: This is not a Reference</title>
		<link>http://cssquirrel.com/blog/2009/07/13/comic-update-this-is-not-a-reference/</link>
		<comments>http://cssquirrel.com/blog/2009/07/13/comic-update-this-is-not-a-reference/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 15:06:02 +0000</pubDate>
		<dc:creator>Kyle Weems</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Comic]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[reference]]></category>
		<category><![CDATA[René Magritte]]></category>
		<category><![CDATA[sitepoint]]></category>
		<category><![CDATA[this is not a pipe]]></category>

		<guid isPermaLink="false">http://www.cssquirrel.com/?p=360</guid>
		<description><![CDATA[[Update: The CSS3 Attribute Selectors article in the Reference was updated just prior to this post going live. So my ranting about that section is largely out-of-date and can be summed up now as "Took much longer than I'd anticipated".] When I was first hired by Mindfly in 2007 I was not what you&#8217;d call [...]]]></description>
			<content:encoded><![CDATA[<p>[<strong>Update:</strong> The CSS3 Attribute Selectors article in the Reference was updated just prior to this post going live. So my ranting about that section is largely out-of-date and can be summed up now as "Took much longer than I'd anticipated".]</p>
<p>When I was first hired by <a title="Link to Mindfly Website Design Studio" href="http://www.mindfly.com/" target="_blank">Mindfly</a> in 2007 I was not what you&#8217;d call &#8220;web standards aware&#8221;. Upon seeing the table-based layouts, font tags, and massive collection of inline-styles that stampeded through my pages like wild buffalo, grown men would gnash their teeth and wail in torment and mothers would hide their children.</p>
<p>It only took a few crying infants for me to realize something needed to change if I wanted to keep this career. My infovore nature led me to consume as much information on the topic I could muster, starting with Andy Clarke&#8217;s <a title="Link to the homepage of Transcending CSS by Andy Clarke" href="http://forabeautifulweb.com/buy/transcendingcss" target="_blank">Transcending CSS</a> and continuing through dozens of online tutorials and references. Learning the errors of my past, I spent a bit of time quietly taking my old sites out to the woods, instructing them to dig their own graves, then whacking them with a shovel before burying them for all time.</p>
<p>After the evidence had been destroyed, I went about trying to make compliant, pretty sites using the best practices in HTML and CSS. By 2008, I had friends who thought making website was the bee&#8217;s knees, but they didn&#8217;t know where to look for learning CSS, etc. At that point my bookmarks of handy sites had grown enormously, so I heartily recommended several.</p>
<p>One that I mentioned time and again was the <a title="Link to the Sitepoint CSS Reference" href="http://reference.sitepoint.com/css" target="_blank">Sitepoint CSS Reference</a>, which was (to my knowledge at the time) a very complete, useful reference to the wonderful world of CSS. It even included tasty tidbits about CSS3 support. The main reason I sent each person who asked to this reference was explained in Sitepoint&#8217;s <a title="Link to Introducing the Sitepoint CSS Reference!" href="http://www.sitepoint.com/blogs/2008/01/31/introducing-the-ultimate-css-reference/" target="_blank">announcement</a>:  <em>&#8220;&#8230;the reference contains a bunch of features that make it stand out from the pack — things like cross-browser compatibility charts and user feedback to ensure that it is <strong>accurate</strong>, <strong>up to date</strong>, and best-practice. If you’re building sites with CSS, this is a reference you’ll keep coming back to again and again.&#8221;</em></p>
<p>With the speed at which this industry changes, who wouldn&#8217;t want access to a constantly updated reference that even incorporated outside feedback?</p>
<p>There is a problem, unfortunately. As near as I can tell, the reference<strong> isn&#8217;t</strong> updating. Since its launch, it seems to be sitting still, failing to modernize its information as browsers march on. Every single browser on their compatibility list has had major updates since its launch, putting much of the CSS3 support information well out of date. Never mind that Google Chrome has been out for quite a bit of time now (as the Internet sees such things) and has no compatibility information present despite it&#8217;s higher browser share than Opera in most markets.</p>
<p>In a book, this situation is a necessary reality. Books, by their static nature, are out-of-date typically before they&#8217;ve even been published, requiring later editions, etc. But for a web-based reference, which claims specifically to have the benefit of staying up-to-date and incorporating user feedback, this isn&#8217;t terribly cool.</p>
<p>For me, the situation is exasperated by their promise to incorporate feedback (or even claiming to do so) when they (at least in situations I&#8217;ve experienced) clearly are not. To back my claim, I&#8217;d like like to direct you to my own experience I&#8217;ve had, which I&#8217;ll call  Exhibit A. If you examine the page on <a title="Link to Sitepoint Reference on CSS3 Attribute Selectors" href="http://reference.sitepoint.com/css/css3attributeselectors" target="_blank">CSS3 Attribute Selectors</a>, you&#8217;ll find that it erroneously claims that Internet Explorer 7 completely fails to support these little gems.</p>
<p>I&#8217;m no IE fan, but I can tell you my friends, that this is a falsehood. And because I was foolish enough to take that advice at face value (who doesn&#8217;t trust Sitepoint?) I created IE-specific workarounds in a project where I first included these selectors, workarounds which ended up costing me a decent chunk of time. It was only later that I decided the best experience is personal experience and I actually tried the selectors in IE7, only to discover that they work perfectly fine. I&#8217;d wasted time (translate that: money) fixing a nonexistent problem they claimed existed.</p>
<p>Not being the type to hoard information, I shared the fact that they were mistaken in a comment on May 2, 2008, complete with a link to a test page to confirm that I wasn&#8217;t full of hot air. (The old test page has disappeared, so you can see what I&#8217;m talking about if you check <a title="Link to test page" href="http://www.cssquirrel.com/testcases/attribute_tests.htm" target="_blank">this test page</a> in IE7). Eventually they marked that they&#8217;d incorporated my comment into the article&#8230; only they hadn&#8217;t. It still incorrectly stated IE7 support didn&#8217;t exist. Sometime much later (aka, this year), I commented in annoyance at the mistake again on Twitter. They responded multiple times over Twitter to me, asking for clarification (which I gave) and then promised to update their Reference (which they didn&#8217;t).</p>
<p>That was a couple months ago.</p>
<p><a title="Link to CSSquirrel #27: This is not a reference" href="/comic/?comic=27">Today&#8217;s comic shares my view on the so-called Reference</a>, albeit in a somewhat abstract sense. So let me make it clear: I don&#8217;t think the Reference is what they claim: a reference. Rather, much like René Magritte&#8217;s <a title="Link to Wikipedia Article on The Treachery of Images" href="http://en.wikipedia.org/wiki/This_is_not_a_pipe" target="_blank">unpipe</a> it is not what it appears, merely the image of it. The unreference, if you will, is something that claims authority and completeness but increasingly lacks both as time moves forward.</p>
<p>One erroneous page isn&#8217;t worth tearing down their entire reference. However, with a complete lack of modern CSS support information on every major browser, Sitepoint&#8217;s &#8220;up-to-date&#8221; CSS Reference has become largely useless as a source for web designers living and working in 2009.  I&#8217;m upset at this, because I sent literally everyone I knew with an interest in learning CSS to their site, saying &#8220;Hey, these guys know their stuff.&#8221;</p>
<p>Now&#8230; well, now I tell people to avoid it. I&#8217;ll repeat that for anyone reading: Don&#8217;t bother. They mean well, but they&#8217;ve failed to live up to their mandate of keeping updated. In March, when I&#8217;d commented (again) on my disgruntlement with the lack of updates, I received the following pair of tweets from <a title="Link to Kevin Yank" href="http://www.kevinyank.com/" target="_blank">Kevin Yank</a> (<a title="Link to Kevin Yank on Twitter" href="http://twitter.com/sentience" target="_blank">@sentience</a>).</p>
<p><a title="Link to a tweet by Kevin Yank" href="http://twitter.com/sentience/status/1466035763" target="_blank">April 6, 2009 4:19pm</a>: &#8220;<em><span class="status-body"><span class="entry-content">What erroneous compatibility info did you find? We are planning to refresh the Reference for the latest crop of browsers in <strong>May</strong>.</span></span></em>&#8221; (after which I gave a summary).</p>
<p><a title="Link to tweet by Kevin Yank" href="http://twitter.com/sentience/status/1466225107" target="_blank">April 6, 2009 4:50pm</a>: &#8220;<span class="status-body"><span class="entry-content"><em>Thanks! Will get that corrected ASAP.</em>&#8220;</span></span></p>
<p><span class="status-body"><span class="entry-content">It&#8217;s July now. I think we may have different definitions for &#8220;corrected&#8221; or &#8220;ASAP&#8221;.<br />
</span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://cssquirrel.com/blog/2009/07/13/comic-update-this-is-not-a-reference/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Posted at Mindfly: Web Developer Weems and the Case of the Multiclass Bungler (AKA, IE6)</title>
		<link>http://cssquirrel.com/blog/2009/06/18/posted-at-mindfly-ie6-multiclass-bungler/</link>
		<comments>http://cssquirrel.com/blog/2009/06/18/posted-at-mindfly-ie6-multiclass-bungler/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 16:31:58 +0000</pubDate>
		<dc:creator>Kyle Weems</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[elsewhere]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[mindfly]]></category>
		<category><![CDATA[nicole sullivan]]></category>
		<category><![CDATA[oop]]></category>

		<guid isPermaLink="false">http://www.cssquirrel.com/?p=320</guid>
		<description><![CDATA[Nothing keeps you more humble in your industry than learning an important job-related detail, then discovering shortly thereafter that everyone else has known for years. For the past few months I&#8217;ve been experimenting with &#8220;OOP CSS&#8221;, taking advantage of mutliclassed elements to reduce stylesheet size and increase CSS reusability (after attending this presentation by Nicole [...]]]></description>
			<content:encoded><![CDATA[<p>Nothing keeps you more humble in your industry than learning an important job-related detail, then discovering shortly thereafter that everyone else has known for years. For the past few months I&#8217;ve been experimenting with &#8220;OOP CSS&#8221;, taking advantage of mutliclassed elements to reduce stylesheet size and increase CSS reusability (after attending <a title="Link to Nicole Sullivan's OOP CSS presentation at WDN" href="http://www.stubbornella.org/content/2009/03/23/object-oriented-css-video-on-ydn/" target="_blank">this presentation</a> by Nicole Sullivan at Web Directions North.) Within the past couple weeks, I found some major roadblocks to using this technique with IE6 when being incautious about how the rule descriptors are ordered: IE6 majorly bungles multiple-class descriptor support.</p>
<p>To get a better view of what I&#8217;m speaking about (assuming you&#8217;re not already familiar with it), go check out the post I wrote at Mindfly about this very issue: <a title="Link to Mindfly Post: Web Developer Weems and the Case of the Multiclass Bungler (AKA IE6)" href="http://mindfly.com/blog/post/2009/06/ie6-multiclass-bungler.aspx" target="_blank">Web Developer Weems and the Case of the Multiclass Bungler (AKA IE6)</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://cssquirrel.com/blog/2009/06/18/posted-at-mindfly-ie6-multiclass-bungler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Word-Spacing and Inline-Block Incompatibility in Webkit Browsers</title>
		<link>http://cssquirrel.com/blog/2009/04/09/word-spacing-and-inline-block-incompatibility-in-webkit-browsers/</link>
		<comments>http://cssquirrel.com/blog/2009/04/09/word-spacing-and-inline-block-incompatibility-in-webkit-browsers/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 20:59:49 +0000</pubDate>
		<dc:creator>Kyle Weems</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[inline-block]]></category>
		<category><![CDATA[webkit]]></category>
		<category><![CDATA[word-spacing]]></category>

		<guid isPermaLink="false">http://www.cssquirrel.com/?p=223</guid>
		<description><![CDATA[This is a quick sanity check, if nothing else. A while back, I found a way to make my inline-block spacing issues go away by getting tricky and using word-spacing to remove the gap, as discussed and tested here. I failed to check the results in a webkit browser, though, and recently discovered a slight [...]]]></description>
			<content:encoded><![CDATA[<p>This is a quick sanity check, if nothing else.</p>
<p>A while back, I found a way to make my inline-block spacing issues go away by getting tricky and using word-spacing to remove the gap, as discussed and tested <a title="Link to Using Inline-Block and Word-Spacing to Make Columns Easier" href="http://www.cssquirrel.com/2009/03/23/using-inline-block-and-word-spacing-to-make-columns-easier/">here</a>. I failed to check the results in a webkit browser, though, and recently discovered a slight problem.</p>
<p>Mainly, they don&#8217;t support that.</p>
<p>For whatever reason, IE, Firefox and Opera all apply word-spacing styling to inline-blocks, either adding to or removing the whitespace between the elements depending on your style. Safari and Chrome, however, do not. Mind you, they both have whitespace between the elements. They simply don&#8217;t allow the use of word-spacing to modify that space.</p>
<p>Here&#8217;s an <a title="Link to CSS example on how word-spacing affects inline-blocks." href="http://www.cssquirrel.com/testcases/ibws_compatibility.htm" target="_blank">example page</a> showing the use of word-spacing with inline-blocks and normal sentances. Take a look in a webkit and non-webkit browser to notice the difference. (I didn&#8217;t bother to do IE 6&amp;7 correction, so those browsers won&#8217;t show the lists side-by-side. Upgrade your browser already!)</p>
<p>As you&#8217;ll see, the webkit browser isn&#8217;t removing the whitespace.</p>
<p>So, the question is this: Does the w3c spec say what behavior is supposed to occur? Is the webkit result a bug/out-of-spec, or are the other browsers providing a result that isn&#8217;t required by the spec? It seems to me that the non-webkit result is the proper one. If you&#8217;re going to make blocks behave like words with spacing, you should be able to modify them in the same fashion. But then, there&#8217;s a lot about CSS that doesn&#8217;t always work like you think it should. (point in case: vertical-align. Probably the worst style ever.)</p>
]]></content:encoded>
			<wfw:commentRss>http://cssquirrel.com/blog/2009/04/09/word-spacing-and-inline-block-incompatibility-in-webkit-browsers/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Using Inline-Block and Word-Spacing to Make Columns Easier</title>
		<link>http://cssquirrel.com/blog/2009/03/23/using-inline-block-and-word-spacing-to-make-columns-easier/</link>
		<comments>http://cssquirrel.com/blog/2009/03/23/using-inline-block-and-word-spacing-to-make-columns-easier/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 20:50:56 +0000</pubDate>
		<dc:creator>Kyle Weems</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[inline-block]]></category>
		<category><![CDATA[trick]]></category>
		<category><![CDATA[word-spacing]]></category>

		<guid isPermaLink="false">http://www.cssquirrel.com/?p=194</guid>
		<description><![CDATA[Columns or grids, whatever you&#8217;re calling your blocks of content that are stacked next to each other, you&#8217;ve often got an annoyance when working on a design. I&#8217;ve probably covered this topic something like six million times, as I for one am easily annoyed by unnecessary floats, but historically found myself using them way too [...]]]></description>
			<content:encoded><![CDATA[<p>Columns or grids, whatever you&#8217;re calling your blocks of content that are stacked next to each other, you&#8217;ve often got an annoyance when working on a design. I&#8217;ve probably covered this topic something like six million times, as I for one am easily annoyed by unnecessary floats, but historically found myself using them way too much to make some sort of grid of blocks work out to make a designer&#8217;s dream a reality.</p>
<p>I don&#8217;t know why floats drive me bonkers. But they do. I feel like frequently they&#8217;re being used almost exclusively to solve problems that were never intended for them, and the end results can get messy as soon as a client starts using a carefully balanced page built upon delicate floats and adds an unexpected list or makes a given element too full or too empty.</p>
<p>Not terribly far back in the past I talked about <strong>display: inline-block</strong>, one of my favorite CSS style, as a solution to this problem at Mindfly in <a title="Link to the Curious Case of Inline Block" href="http://www.mindfly.com/blog/post/2008/12/The-Curious-Case-of-Inline-Block.aspx" target="_blank">The Curious Case of Inline-Block</a>. It provides a nice tutorial to getting columns of content to work side-by-side without floats using inline-block, and how thanks to the quick adoption rate of Firefox 3, all major browsers (including IE6) support this style (granted, IE6 &amp; 7 actually require a helping hand, but the tutorial discusses the easy fix).</p>
<p>I had one problem that nagged at me, though. Whitespace. In particular, the inline-block style is whitespace sensitive, so normal markup practice will result in your columns getting space between them when you use this style, which can mess with your carefully measured columns, and so forth. One possible fix is to simply remove any whitespace between the elements in question, but this is impractical for two reasons: 1. A lot of dynamically generated content won&#8217;t be set up with that sort of issue in mind, and 2. Clients entering their own content.</p>
<p>So I did some digging around, and through a complete accident later stumbled upon <strong>word-spacing</strong>, a style I&#8217;ve never had cause to make use of in the past. It&#8217;s simple enough as a style goes. Give it a value (in px, em, etc) and that&#8217;s how it modifies the existing whitespace between words. This counts for space between inline-block elements as well. So if you give the parent of those elements <strong>word-spacing: -1em</strong>, then it will remove the whitespace (normally 1em) that is between your inline-block elements. The catch? Make sure to give the elements themselves <strong>word-spacing: normal</strong> to resest the spacing for any text inside them, or you&#8217;ll get some nasty results.</p>
<p><a title="Link to Example Page" href="http://www.cssquirrel.com/testcases/ib_ws.htm" target="_blank">Here is an example</a> of positioning items side-by-side cleanly by using word-spacing and inline-block together (as well as showing the IE6&amp;7 fix). Of course, with the whitespace issue solved, you can add your own margins to elements to create whatever nice gutters and such that you prefer.</p>
]]></content:encoded>
			<wfw:commentRss>http://cssquirrel.com/blog/2009/03/23/using-inline-block-and-word-spacing-to-make-columns-easier/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Posted at Mindfly: Get Refreshed &#8211; Liquid Layouts With Simpler CSS and Without A Semantic Mess</title>
		<link>http://cssquirrel.com/blog/2009/01/13/posted-at-mindfly-get-refreshed-liquid-layouts-with-simpler-css-and-without-a-semantic-mess/</link>
		<comments>http://cssquirrel.com/blog/2009/01/13/posted-at-mindfly-get-refreshed-liquid-layouts-with-simpler-css-and-without-a-semantic-mess/#comments</comments>
		<pubDate>Tue, 13 Jan 2009 17:28:39 +0000</pubDate>
		<dc:creator>Kyle Weems</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[liquid layouts]]></category>
		<category><![CDATA[mindfly]]></category>

		<guid isPermaLink="false">http://www.cssquirrel.com/?p=181</guid>
		<description><![CDATA[Although recently the trend seems to be more towards fixed widths or flexible percentage-based width layouts, from time to time I&#8217;m tasked with building a site with a liquid layout. Thanks to the demands of appropriately-ordered content and the challenges of having one column stay fixed in width while the other flexibly expands to fill [...]]]></description>
			<content:encoded><![CDATA[<p>Although recently the trend seems to be more towards fixed widths or flexible percentage-based width layouts, from time to time I&#8217;m tasked with building a site with a liquid layout. Thanks to the demands of appropriately-ordered content and the challenges of having one column stay fixed in width while the other flexibly expands to fill the remaining space, these types of sites haven&#8217;t been the cleanest to make with CSS. One common technique that I&#8217;ve made a lot of use of was written in A List Apart called <a title="Link to A List Apart article about Negative Margins" href="http://www.alistapart.com/articles/negativemargins" target="_blank">Creating Liquid Layouts with Negative Margins</a> by Ryan Brill. It does the job, but it&#8217;s a semantic mess with a ton of divs.</p>
<p>I decided to try to find a method that pares down the div count, and makes the CSS a bit cleaner and more appropriate to the task. Lightning struck, and my mind put together a technique that feels like a decided improvement on accomplishing the desired task. I wrote about it over at Mindfly&#8217;s blog. Go check it out at <a title="Link to Mindfly blog post about liquid layouts" href="http://www.mindfly.com/blog/post/2009/01/Get-Refreshed-Liquid-Layouts-With-Simpler-CSS-and-Without-A-Semantic-Mess.aspx" target="_blank">Get Refreshed: Liquid Layouts with Simpler CSS and Without A Semantic Mess</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://cssquirrel.com/blog/2009/01/13/posted-at-mindfly-get-refreshed-liquid-layouts-with-simpler-css-and-without-a-semantic-mess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

