<?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>Evil Mad Scientist &#187; Code</title>
	<atom:link href="http://blog.lorintackett.com/category/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.lorintackett.com</link>
	<description>Actually, I am quite happy.</description>
	<lastBuildDate>Mon, 06 Apr 2009 20:48:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Disenchanted with the Hardy Heron</title>
		<link>http://blog.lorintackett.com/disenchanted-with-the-hardy-heron/</link>
		<comments>http://blog.lorintackett.com/disenchanted-with-the-hardy-heron/#comments</comments>
		<pubDate>Fri, 27 Jun 2008 22:45:06 +0000</pubDate>
		<dc:creator>ltackett</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://blog.lorintackett.com/?p=39</guid>
		<description><![CDATA[Okay, I like Ubuntu&#8230; or at least I did&#8230; well, I still do&#8230; it&#8217;s complicated. I like all the new features of Hardy Heron, but it seems to come at the price of performance. I can almost go so far as to say my Dell C400 running OpenSUSE 11 outperforms my desktop running Hardy Heron.
My [...]]]></description>
			<content:encoded><![CDATA[<p>Okay, I like Ubuntu&#8230; or at least I did&#8230; well, I still do&#8230; it&#8217;s complicated. I like all the new features of Hardy Heron, but it seems to come at the price of performance. I can almost go so far as to say my Dell C400 running OpenSUSE 11 outperforms my desktop running Hardy Heron.</p>
<p>My laptop is a Pentium M @ 1.2 ghz w/512mb RAM. My desktop is an AMD64 @ 2.2 w/1.5gb RAM.</p>
<p>WTF.</p>
<p>&#8230; and don&#8217;t get me started on when I had HH running on my laptop. It was totally useless for just about anything useful. Not even running XFCE could save the day.</p>
<p>That said, I&#8217;m downloading Linux Mint with high hopes &#8212; but not expecting miracles, as it&#8217;s based on Ubuntu.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lorintackett.com/disenchanted-with-the-hardy-heron/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SASS Blueprint Grid on Github</title>
		<link>http://blog.lorintackett.com/sass-blueprint-grid-on-github/</link>
		<comments>http://blog.lorintackett.com/sass-blueprint-grid-on-github/#comments</comments>
		<pubDate>Fri, 06 Jun 2008 01:55:06 +0000</pubDate>
		<dc:creator>ltackett</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://blog.lorintackett.com/?p=36</guid>
		<description><![CDATA[I started a github project for those of you following the SASS Blueprint Grid.
SASS Blueprint Grid
]]></description>
			<content:encoded><![CDATA[<p>I started a github project for those of you following the SASS Blueprint Grid.</p>
<p><a href="http://github.com/ltackett/sass-blueprint-grid-generator/tree/master">SASS Blueprint Grid</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lorintackett.com/sass-blueprint-grid-on-github/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HAML 2.0</title>
		<link>http://blog.lorintackett.com/haml-2-0/</link>
		<comments>http://blog.lorintackett.com/haml-2-0/#comments</comments>
		<pubDate>Sat, 24 May 2008 16:29:33 +0000</pubDate>
		<dc:creator>ltackett</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://blog.lorintackett.com/?p=35</guid>
		<description><![CDATA[Just reading about HAML 2.0. Man. I wish I wasn&#8217;t packing up for a move. I wanna play with it! Suffice it to say, I&#8217;m more of a SASS junkie than a HAML fiend, and the new SASS 2.0 features alone are enough to make me salivate. 
Mix-ins is by far my favorite new feature [...]]]></description>
			<content:encoded><![CDATA[<p>Just reading about <a href="http://nex-3.com/posts/76-haml-2-0">HAML 2.0</a>. Man. I wish I wasn&#8217;t packing up for a move. I wanna play with it! Suffice it to say, I&#8217;m more of a SASS junkie than a HAML fiend, and the new SASS 2.0 features alone are enough to make me salivate. </p>
<p>Mix-ins is by far my favorite new feature in SASS 2.0. Now you can write chunks of reusable code:</p>
<blockquote class="code"><pre>=clearfix
  display: inline-block
  &#038;:after
    content: "."
    height: 0
    clear: both
    visibility: hidden
  * html &#038;
    height: 1px</pre>
</blockquote>
<p>&#8230; And place it within whatever rule you like</p>
<blockquote class="code"><pre>#sidebar
  +clearfix
  border: 1px solid black</pre>
</blockquote>
<p>Talk about leaner, meaner and more productive. Holy crap!</p>
<p>I&#8217;ll be rejiggering the SASS grid generator in SASS 2.0 in the next few weeks. I also have a new SASS project underway for when I have more time, SASS 2.0 will play an integral part in making it all work&#8230; without tipping my hand too much, it involves color schemes.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lorintackett.com/haml-2-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SASS Gridification &#8211; Part 2: Blueprint</title>
		<link>http://blog.lorintackett.com/sass-gridification-part-2-blueprint/</link>
		<comments>http://blog.lorintackett.com/sass-gridification-part-2-blueprint/#comments</comments>
		<pubDate>Tue, 20 May 2008 12:12:05 +0000</pubDate>
		<dc:creator>ltackett</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://blog.lorintackett.com/?p=33</guid>
		<description><![CDATA[I have extended my initial SASS grid to work with the Blueprint grid library. Now I can leverage the Blueprint grid in a completely SASSy way.
Please refer to Blueprint CSS for instructions and tutorials on how to use the grid.
Feel free to download, use, distribute and modify my work as you like.
[dm]2[/dm]
]]></description>
			<content:encoded><![CDATA[<p>I have extended my initial SASS grid to work with the Blueprint grid library. Now I can leverage the <a href="http://code.google.com/p/blueprintcss/">Blueprint</a> grid in a completely SASSy way.</p>
<p>Please refer to <a href="http://code.google.com/p/blueprintcss/">Blueprint CSS</a> for instructions and tutorials on how to use the grid.</p>
<p>Feel free to download, use, distribute and modify my work as you like.</p>
<p>[dm]2[/dm]</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lorintackett.com/sass-gridification-part-2-blueprint/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Mission:Canonical &#8212; Western Union</title>
		<link>http://blog.lorintackett.com/missioncanonical-western-union/</link>
		<comments>http://blog.lorintackett.com/missioncanonical-western-union/#comments</comments>
		<pubDate>Fri, 16 May 2008 01:08:09 +0000</pubDate>
		<dc:creator>ltackett</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://blog.lorintackett.com/geekdom/missioncanonical-western-union/</guid>
		<description><![CDATA[I just noticed this and thought it was more noteworthy to my blog than to Twitter;
If you go to the non-www westernunion.com, it does not load. It just sits there and eventually times out at the DNS level without sending a 404 message. This is by far one of the worst cases of poor canonicalization [...]]]></description>
			<content:encoded><![CDATA[<p>I just noticed this and thought it was more noteworthy to my blog than to Twitter;</p>
<p>If you go to the non-www <strong>westernunion.com</strong>, it does not load. It just sits there and eventually times out at the DNS level without sending a 404 message. This is by far one of the worst cases of poor canonicalization I&#8217;ve ever seen. Obviously it&#8217;s not hurting their ranking, but still &#8212; I would be horribly embarrassed if I was the website manager.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lorintackett.com/missioncanonical-western-union/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>So far, so good: Microsoft Live Writer</title>
		<link>http://blog.lorintackett.com/microsoft-live-writer-so-far-so-good/</link>
		<comments>http://blog.lorintackett.com/microsoft-live-writer-so-far-so-good/#comments</comments>
		<pubDate>Wed, 07 May 2008 21:35:53 +0000</pubDate>
		<dc:creator>ltackett</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://blog.lorintackett.com/geekdom/so-far-so-good/</guid>
		<description><![CDATA[Trying out Microsoft Live Writer for blog posting now. So far it hasn&#8217;t borked my shiny green W3C validation, so maybe Microsoft has scored two points with me today. First OneNote, now Live Writer, and I&#8217;m working on some design and front-end projects for a Microsoft employee group using SharePoint.
I guess I should stop bashing [...]]]></description>
			<content:encoded><![CDATA[<p>Trying out <a href="http://get.live.com/writer/overview" rel="external">Microsoft Live Writer</a> for blog posting now. So far it hasn&#8217;t borked my shiny green W3C validation, so maybe Microsoft has scored two points with me today. First OneNote, now Live Writer, and I&#8217;m working on some design and front-end projects for a Microsoft employee group using SharePoint.</p>
<p>I guess I should stop bashing MS, they&#8217;re really trying to dig themselves out of the hole. Vista really didn&#8217;t help, but if you ignore the glaring mar, they&#8217;re pushing out some pretty darn cool applications. So I will begrudgingly give a hat tip to Microsoft, after years of sucktitude, they are finally coming around.</p>
<p>The right tools for the right job, I suppose. *grumble*</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lorintackett.com/microsoft-live-writer-so-far-so-good/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using Microsoft OneNote instead of Evernote</title>
		<link>http://blog.lorintackett.com/using-microsoft-onenote-instead-of-evernote/</link>
		<comments>http://blog.lorintackett.com/using-microsoft-onenote-instead-of-evernote/#comments</comments>
		<pubDate>Wed, 07 May 2008 20:50:49 +0000</pubDate>
		<dc:creator>ltackett</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://blog.lorintackett.com/geekdom/using-microsoft-onenote-instead-of-evernote/</guid>
		<description><![CDATA[Since my primary use of Evernote is to jot down music ideas while I wait for something else to process, I&#8217;ve decided that it&#8217;s too many steps needed to use Evernote effectively. Until a direct audio recording and playback plugin is developed, it&#8217;s pretty clunky to record in Adobe Audition, save the file, open the [...]]]></description>
			<content:encoded><![CDATA[<p>Since my primary use of <a href="http://evernote.com/" rel="external">Evernote</a> is to jot down music ideas while I wait for something else to process, I&#8217;ve decided that it&#8217;s too many steps needed to use Evernote effectively. Until a direct audio recording and playback plugin is developed, it&#8217;s pretty clunky to record in <a href="http://www.adobe.com/products/audition/" rel="external">Adobe Audition</a>, save the file, open the folder then drag+drop to Evernote. I&#8217;d rather just press a button to record, then move on&#8230; especially since I&#8217;m usually doing something else when music ideas come to me.</p>
<p>It was a natural progression to go to <a href="http://office.microsoft.com/en-us/onenote/default.aspx" rel="external">Microsoft OneNote</a> as audio recording is one of its main features. I can put as many ideas on one &#8216;page&#8217; as I like, which is especially useful to me as I might come up with several variations on the same theme in one setting. I do this quite often.</p>
<p>OneNote also has text-within-image recognition and indexing, though I&#8217;m wondering how Evernote and OneNote stack up against each other on that front. Evernote was able to recognize handwriting fairly easily, and while I haven&#8217;t done any comparison, the demo of text recognition in OneNote only shows computer fonts being recognized, which doesn&#8217;t impress me.</p>
<p>I&#8217;m not sure whether I will switch over entirely or keep using Evernote for textual notes and to-dos etc. I&#8217;d much rather keep all my notes in one place, but seriously&#8230; Evernote rocks the kazbah as far as search and tags.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lorintackett.com/using-microsoft-onenote-instead-of-evernote/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Liam Anthony Tackett</title>
		<link>http://blog.lorintackett.com/liam-anthony-tackett/</link>
		<comments>http://blog.lorintackett.com/liam-anthony-tackett/#comments</comments>
		<pubDate>Sun, 04 May 2008 16:12:05 +0000</pubDate>
		<dc:creator>ltackett</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://blog.lorintackett.com/?p=27</guid>
		<description><![CDATA[My first-born son arrived May 3rd, 2008 at 4:13pm via C-Section. He is 9lbs 10oz, 21&#189; inches long and 14&#190;cm at the head. He&#8217;s huuuge. =)
He&#8217;s been in the NICU since he was born with some respiratory problems. He was on oxygen and was breathing too fast. Now it&#8217;s the morning of May 4th and [...]]]></description>
			<content:encoded><![CDATA[<p>My first-born son arrived May 3rd, 2008 at 4:13pm via C-Section. He is 9lbs 10oz, 21&frac12; inches long and 14&frac34;cm at the head. He&#8217;s huuuge. =)</p>
<p>He&#8217;s been in the NICU since he was born with some respiratory problems. He was on oxygen and was breathing too fast. Now it&#8217;s the morning of May 4th and he&#8217;s off the oxygen and doing much better. He&#8217;s still in the NICU, we&#8217;re in there with him as often as we can be. He&#8217;s such a beautiful baby boy. I will post pictures as soon as I have them. He does this one-eye-open pirate face that is so freaking awesome.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lorintackett.com/liam-anthony-tackett/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mephisto</title>
		<link>http://blog.lorintackett.com/mephisto/</link>
		<comments>http://blog.lorintackett.com/mephisto/#comments</comments>
		<pubDate>Mon, 28 Apr 2008 02:21:42 +0000</pubDate>
		<dc:creator>ltackett</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://blog.lorintackett.com/?p=25</guid>
		<description><![CDATA[Why don&#8217;t I ever hear about things as cool as Mephisto sooner? Write my blog templates in HAML? Yes, please!
God dammit, why can&#8217;t I stick with one CMS for longer than a month before getting bored?
]]></description>
			<content:encoded><![CDATA[<p>Why don&#8217;t I ever hear about things as cool as <a rel="external" href="http://www.mephistoblog.com/">Mephisto</a> sooner? Write my blog templates in HAML? Yes, please!</p>
<p>God dammit, why can&#8217;t I stick with one CMS for longer than a month before getting bored?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lorintackett.com/mephisto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SASS Gridification &#8211; Part 1</title>
		<link>http://blog.lorintackett.com/sass-gridification/</link>
		<comments>http://blog.lorintackett.com/sass-gridification/#comments</comments>
		<pubDate>Sun, 27 Apr 2008 02:20:14 +0000</pubDate>
		<dc:creator>ltackett</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://blog.lorintackett.com/geekdom/code/xhtml-css-and-js/sass-gridification/</guid>
		<description><![CDATA[
  A common problem faced by many CSS developers is the grid layout. In this example I will be using SASS arithmetic to create grid calculations.


  If you just want to see the end result, here are two beautiful 8-column grids generated entirely using SASS arithmetic:


  Fixed: 8 columns 100px wide with [...]]]></description>
			<content:encoded><![CDATA[<p>
  A common problem faced by many CSS developers is the grid layout. In this example I will be using SASS arithmetic to create grid calculations.
</p>
<p>
  If you just want to see the end result, here are two beautiful 8-column grids generated entirely using SASS arithmetic:
</p>
<p>
  <a href="/code/sass_grid/fixed_100px_10px.html" rel="external">Fixed: 8 columns 100px wide with 10px margins</a><br />
  <a href="/code/sass_grid/fluid_12_5.html" rel="external">Fluid: 8 columns 12% wide with 0.5% margins</a>
</p>
<p>Also, if you haven&#8217;t the foggiest notion what SASS is (&#8221;&#8230; now there&#8217;s a frood who really knows where his towel is.&#8221;) you should probably read up on <a href="http://hamptoncatlin.com/" rel="external">Hampton Catlin&#8217;s site</a> about <a href="http://haml.hamptoncatlin.com/">HAML and SASS</a>.</p>
<p>
  To start things off, I looked around the net for what was already available on the subject. I already knew about <a href="http://code.google.com/p/blueprintcss/" rel="external">Blueprint</a>, though I had never really worked with it, and I learned about the <a href="http://developer.yahoo.com/yui/grids/" rel="external">YUI CSS grids toolkit</a>.
</p>
<p>
  Both of these CSS frameworks are very powerful. Personally, I don’t need that much power for this proof of concept, and it probably would have taken more time to adapt one of the frameworks into SASS than it would to program something from the ground up. So instead I just whipped out my text editor and started hacking.
</p>
<p><span id="more-24"></span></p>
<p>
  First, the markup. I decided this would be an 8 column grid, so I started out with&nbsp;2 columns at 4 grid columns wide.
</p>
<blockquote class="code">
<p>
    #grid<br />
    &nbsp; .block.col-4<br />
    &nbsp;&nbsp;&nbsp; %p<br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; %span 4 col<br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Lorem ipsum<br />
    &nbsp; .block.col-4.last<br />
    &nbsp;&nbsp;&nbsp; %p<br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; %span 4 col<br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Lorem ipsum<br />
    &nbsp; %div.clear &amp;nbsp;<br />
    &nbsp; .block.col-2<br />
    &nbsp;&nbsp;&nbsp; %p<br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; %span 2 col<br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Lorem ipsum<br />
    &nbsp; .block.col-2<br />
    &nbsp;&nbsp;&nbsp; %p<br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; %span 2 col<br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Lorem ipsum<br />
    &nbsp; .block.col-2<br />
    &nbsp;&nbsp;&nbsp; %p<br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; %span 2 col<br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Lorem ipsum<br />
    &nbsp; .block.col-2.last<br />
    &nbsp;&nbsp;&nbsp; %p<br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; %span 2 col<br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Lorem ipsum<br />
    &nbsp; %div.clear &amp;nbsp;
  </p>
</blockquote>
<p>
  At first I just wanted to get the measurements right, so I slapped together some static SASS with measurements like so:
</p>
<blockquote class="code">
<p>
    #grid<br />
    &nbsp; :width&nbsp;870px<br />
    &nbsp; :margin&nbsp;0 auto</p>
<p>    .block<br />
    &nbsp; :float left<br />
    &nbsp; :border<br />
    &nbsp;&nbsp;&nbsp; :top 3px solid black<br />
    &nbsp; :margin<br />
    &nbsp;&nbsp;&nbsp; :right&nbsp;10px<br />
    &nbsp;&nbsp;&nbsp; :bottom =&nbsp;10px<br />
    &nbsp; p<br />
    &nbsp;&nbsp;&nbsp; :text-align justify<br />
    &nbsp;&nbsp;&nbsp; :margin 5px 0<br />
    &nbsp;&nbsp;&nbsp; span<br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :display block<br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :float left<br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :font-weight bold<br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :font-size 200%<br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :text-transform uppercase<br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :padding<br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :right 10px</p>
<p>    // Columns<br />
    .col-1<br />
    &nbsp; :width = 100px<br />
    .col-2<br />
    &nbsp; :width = 210px<br />
    .col-3<br />
    &nbsp; :width = 320px<br />
    .col-4<br />
    &nbsp; :width = 430px<br />
    .col-5<br />
    &nbsp; :width = 540px<br />
    .col-6<br />
    &nbsp; :width = 650px<br />
    .col-7<br />
    &nbsp; :width = 760px<br />
    .col-8<br />
    &nbsp; :width = 870px<br />
    &nbsp; :margin<br />
    &nbsp;&nbsp;&nbsp; :right 0</p>
<p>    // Last column must not have a right margin<br />
    .last<br />
    &nbsp; :margin<br />
    &nbsp;&nbsp;&nbsp; :right 0</p>
<p>    // Clear floats<br />
    div.clear<br />
    &nbsp; :clear both<br />
    &nbsp; :height 0<br />
    &nbsp; :line-height 0<br />
    &nbsp; :font-size 1px
  </p>
</blockquote>
<p>
  So now I have the basics of a static grid. Now let’s add some SASS magic. First, the arithmetic to generate a grid:
</p>
<blockquote class="code">
<p>
    // SASS attack!<br />
    !columns = 8<br />
    !grid_width = 100px<br />
    !grid_margin = 10px<br />
    !grid_size = !grid_width * !columns + (!grid_margin * (!columns &#8211; 1))
  </p>
</blockquote>
<p>
  Now that we have our grid generator, let’s use these constants to assign rules to the grid.
</p>
<blockquote class="code">
<p>
    // Grid container<br />
    #grid<br />
    &nbsp; :width = !grid_size</p>
<p>    // Columns<br />
    .col-1<br />
    &nbsp; :width = !grid_width<br />
    .col-2<br />
    &nbsp; :width = !grid_width * 2 + !grid_margin<br />
    .col-3<br />
    &nbsp; :width = !grid_width * 3 + (!grid_margin * 2)<br />
    .col-4<br />
    &nbsp; :width = !grid_width * 4 + (!grid_margin * 3)<br />
    .col-5<br />
    &nbsp; :width = !grid_width * 5 + (!grid_margin * 4)<br />
    .col-6<br />
    &nbsp; :width = !grid_width * 6 + (!grid_margin * 5)<br />
    .col-7<br />
    &nbsp; :width = !grid_width * 7 + (!grid_margin * 6)<br />
    .col-8<br />
    &nbsp; :width = !grid_width * 8 + (!grid_margin * 7)
  </p>
</blockquote>
<p>
  And viola! We have a functioning grid. You can now easily change the entire grid by changing the parameters of the !grid_width and !grid_margin constants. Here are two examples:
</p>
<p>
  <a href="/code/sass_grid/fixed_100px_10px.html" rel="external">Fixed: 8 columns 100px wide with 10px margins</a><br />
  <a href="/code/sass_grid/fluid_12_5.html" rel="external">Fluid: 8 columns 12% wide with 0.5% margins</a>
</p>
<p>
  You can easily use this model to generate grids of any number of columns with any width and margin, using any measurement type you prefer (px, em, or percentages). Hope you find this useful, there is plenty of room for improvement. If you improve upon it, let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lorintackett.com/sass-gridification/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
