<?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>RENDR</title>
	<atom:link href="http://www.madebyrendr.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.madebyrendr.com</link>
	<description></description>
	<lastBuildDate>Thu, 29 Apr 2010 15:16:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>A Designer/Developer’s Toolkit: Windows Edition</title>
		<link>http://www.madebyrendr.com/a-designer-developers-toolkit-windows-edition/</link>
		<comments>http://www.madebyrendr.com/a-designer-developers-toolkit-windows-edition/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 07:00:18 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[toolkit]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.madebyrendr.com/?p=679</guid>
		<description><![CDATA[It took me a while to find a system, a method, that really worked well for me.  The tools and software available can be overwhelming, so wasting your time testing “this” and “that” is sometimes inevitable.  However, I have created this list of tools that I use (currently) that seem to do the job very [...]]]></description>
			<content:encoded><![CDATA[<p>It took me a while to find a system, a method, that really worked well for me.  The tools and software available can be overwhelming, so wasting your time testing “this” and “that” is sometimes inevitable.  However, I have created this list of tools that I use (currently) that seem to do the job very well for me.  This isn’t a list that is going to work for everyone, but if you are just getting started and want a bit of a lead, you are in luck.</p>
<p>Some of this software is free, while others are not.  I’ve seen many lists for the best “free” software, and I love these lists.  But, this is not that list.  You might also see thing in this list other than full fledged applications (like Firefox plugins, etc).  In addition, some of the applications I’m going to list below are online, and thus platform independent.  Please, enjoy.</p>
<h3>Base</h3>
<p>Assuming you are somewhat technically savvy already, I don’t have to point out that you will be running Windows.  However, there are a few basic things I do need to go over.</p>
<h4>Browsers</h4>
<p>For testing purposes, you will need a wide range of browsers.  For every site developed you need to cross-browser test them, to check for inconsistencies.  However, one of these browsers will be your main workhorse:</p>
<h5>Firefox — <a title="Download Firefox" href="http://www.getfirefox.com/">FREE</a></h5>
<p><a href="http://www.getfirefox.com/"><img class="alignright" title="Firefox" src="../wp-content/uploads/2009/11/ff-old-icon-100x100.png" alt="ff-old-icon" width="100" height="100" /></a> One can argue that Firefox is the most extensible and user-friendly browser currently available.  It’s strength lays in it’s ability to run add-ons (mini applications).</p>
<p>In addition to being fast, easy to use, and extensible.. it’s also one of the leading forces in standards compliant browser rendering.</p>
<p>The rest are:</p>
<h5>Safari — <a title="Download Safari" href="http://www.apple.com/safari">FREE</a></h5>
<p><a href="http://www.apple.com/safari/"><img class="alignright size-thumbnail wp-image-689" title="Safari" src="http://www.madebyrendr.com/wp-content/uploads/2009/11/safari_icon-100x100.png" alt="Safari" width="100" height="100" /></a>Safari, originally written for Macs, is a part of the Webkit family.  It is a fast, lightweight browser that I actually enjoy using from time to time.  The user interface is continually evolving to be friendlier and easier to use. UPDATE: The recently updated Web Inspector has given Safari a lot of punch while designing / developing for the web (http://webkit.org/blog/1091/more-web-inspector-updates/).</p>
<h5>Chrome — <a title="Download Chrome" href="http://www.google.com/chrome">FREE</a></h5>
<p><a href="http://www.google.com/chrome"><img class="alignright size-thumbnail wp-image-690" title="Chrome" src="http://www.madebyrendr.com/wp-content/uploads/2009/11/Chrome-100x100.png" alt="Chrome" width="100" height="100" /></a>Also a part of the Webkit family, <span style="text-decoration: line-through;">but not made for Macs</span> UPDATE: and runs on Macs and PCs alike. Chrome was developed by Google for a faster, more intuitive online approach.  While most browsers have an address and a search bar, Chrome has an omnibar (which searches and accesses addresses intuitively. UPDATE: With the addition of extensions, Chrome is quickly becoming some developer’s choice as a solid testing browser (https://chrome.google.com/extensions).</p>
<h5>Opera — <a title="Download Opera" href="http://www.opera.com/">FREE</a></h5>
<p><img class="alignright size-thumbnail wp-image-709" title="Opera" src="http://www.madebyrendr.com/wp-content/uploads/2009/11/Opera-100x100.png" alt="Opera" width="100" height="100" />While Opera has done an extremely good job in keeping up with being standards compliant (one of the best) it generally lacks in the ease of use department.  Although it only has just over 2% of the market, you probably want to make sure your sites are rendering correctly in Opera as well.</p>
<h5>Internet Explorer — <a title="Download IE" href="http://www.microsoft.com/windows/Internet-explorer/default.aspx">FREE</a></h5>
<p><a href="http://www.microsoft.com/windows/Internet-explorer/default.aspx"><img class="alignright size-thumbnail wp-image-692" title="Internet Explorer" src="http://www.madebyrendr.com/wp-content/uploads/2009/11/IE7-1-256x256-100x100.png" alt="Internet Explorer" width="100" height="100" /></a>There are many versions of Internet Explorer, each bringing to the table their own share of problems.  Because you can only have one version installed on a machine at a time (without the use of VMware), I strongly recommend installing the latest version, accompanied by <a title="Internet Explorer Version Testing" href="http://my-debugbar.com/wiki/IETester/HomePage">IETester</a>.</p>
<h4>Workflow</h4>
<p>In this section, I’ll go over what applications make my life/workflow a bit easier.  From settings, to apps, I will be covering how and what I use to work.</p>
<h5>RocketDock — <a title="Download RocketDock" href="http://www.rocketdock.com/">FREE</a></h5>
<p><img class="alignright size-thumbnail wp-image-713" title="RocketDock" src="http://www.madebyrendr.com/wp-content/uploads/2009/11/RocketDock-100x100.png" alt="RocketDock" width="100" height="100" />Emulating the OSX Dock, RocketDock is a great application launcher that I use every day.  Fully customizable (down to the icons and skin), it is also extensible.  Plugins for laptop battery life, weather, and many more “widgets” have been created to make this a very functional and useful tool.</p>
<h5>Windows Taskbar — WINDOWS</h5>
<p>Because I feel that RocketDock is best on the bottom, I need to move the Windows Taskbar to the top.  To do this, simply make sure the Taskbar is not locked (right-click, and un-check “Lock the Taskbar”), choose an empty area on the taskbar, and drag it to the top of your screen.  You might notice that you can drag it to either left or right, but I haven’t found these to be really intuitive positions.</p>
<h5>Taskbar Shuffle — <a title="Download Taskbar Shuffle" href="http://nerdcave.webs.com/">FREE</a></h5>
<p>While randomly surfing a free-ware list, I saw an app that caught my eye.  I’ve constantly struggled with having too many windows open, thus having tons of entries in the Taskbar.  “If only there was a way to sort this,” I thought to myself.  Taskbar Shuffle gives you many settings to choose from, but the base functionality is all I really want/need (and it helps me a lot).</p>
<h5>Vista Switcher — <a title="Download VistaSwitcher" href="http://www.ntwind.com/software/vistaswitcher.html">FREE</a></h5>
<p>I Alt+Tab like crazy, but sometimes it would be nice to see a screenshot of what I’m tabbing to as I might have three windows of the same app open, and don’t want to spend loads of time reading window titles.  Answered.  Nuff said.</p>
<h4>Communication</h4>
<p>With the thousands of tools and protocols there are to communicate, it’s hard to choose which best suits your needs.</p>
<h5>Gmail / Google Apps — <a title="Setup Google Apps (Standard Edition)" href="http://www.google.com/apps/intl/en/group/index.html">FREE</a></h5>
<p><img class="alignright size-thumbnail wp-image-714" title="gmail_logo_stylized" src="http://www.madebyrendr.com/wp-content/uploads/2009/11/gmail_logo_stylized-100x100.png" alt="gmail_logo_stylized" width="100" height="100" />If you have email, and your own domain, don’t you dare bother with using something like Horde or SquirrelMail.  While Gmail is great for hosting personal email, it is equally (if not more) amazing for business emails.  There is a pretty easy to follow instructions on how to get your company/domain email hosted with Google (the best part is that they have free accounts, which I’ve been using for well over a year now).</p>
<p>More and more applications are moving to the browser — cloud concept.  This is awesome because it allows you to access your email anywhere, with all the same basic functionality.  In addition, Gmail makes it stupid simple to access your email by phone, and always stay up to date with IMAP.</p>
<h5>TweetDeck — <a title="Download TweetDeck" href="http://tweetdeck.com/beta/">FREE</a></h5>
<p><img class="alignright size-thumbnail wp-image-715" title="tweetdeck-icon" src="http://www.madebyrendr.com/wp-content/uploads/2009/11/tweetdeck-icon-100x100.png" alt="tweetdeck-icon" width="100" height="100" />If you use Twitter, you’ll love the functionality of TweetDeck.  With a basic column layout, you can sort your followers into groups, search criteria, and mentions of your handle.  I have four columns: Personal, Design, Development, and Business.  Keep up with your friends AND colleagues.</p>
<p>All that, <strong>and</strong> it’s built on AIR, making it cross-platform!</p>
<h5>Digsby / Pidgin — <a title="Download Digsby" href="http://www.digsby.com/">FREE</a> &amp; <a title="Download Pidgin" href="http://www.pidgin.im/">FREE</a></h5>
<p><img class="size-thumbnail wp-image-716 alignright" title="1232386015_digsby_833x833" src="http://www.madebyrendr.com/wp-content/uploads/2009/11/1232386015_digsby_833x833-100x100.png" alt="1232386015_digsby_833x833" width="100" height="100" />I’m still torn between the two.  They both support loads of protocols (AIM, MSN, ICQ, Facebook, Myspace, GoogleTalk, etc).  However, where I find both lacking is the file transfer arena (continually getting corrupt files, or won’t transfer at all).  Although, I’ll leave file transfer to FTP or email, and I don’t have a huge problem with that.</p>
<p><img class="alignright" title="pidgin_dock_icon_by_d4rk_h3lm37" src="../wp-content/uploads/2009/11/pidgin_dock_icon_by_d4rk_h3lm37-100x100.png" alt="pidgin_dock_icon_by_d4rk_h3lm37" width="100" height="100" />What it comes down to is interface, and functionality.  Digsby has great functionality with social networks like LinkedIn, Facebook, Myspace.. while Pidgin has a very small footprint, and allows my CPU to focus on what’s important at hand (although one can argue that a conversation about cheese-puffs with a cross-country friend <strong>is</strong> important).</p>
<p>Either way, they are both winners in my book.</p>
<h5>Skype — <a title="Download Skype" href="http://www.skype.com/">FREE</a></h5>
<p><img class="alignright size-thumbnail wp-image-722" title="skype-icon" src="http://www.madebyrendr.com/wp-content/uploads/2009/11/skype-icon-100x100.png" alt="skype-icon" width="100" height="100" />While it offers the same functionality of Digsby and Pidgin without the integration of other protocols or social networks, the video and audio conferencing is second to none for a free service.  In addition, the file transferring is relatively easy and reliable.  I use this to conference with clients and friends that I can’t meet with in person.</p>
<p>I should also note that you can make actual phone calls using Skype, but I have not ventured into this arena, as my cell plan is unlimited.</p>
<h3>Design</h3>
<h5>Photoshop — <a title="Purchase on Amazon" href="https://www.amazon.com/dp/B001EUBSL0?tag=j0e48-20&amp;camp=213381&amp;creative=390973&amp;linkCode=as4&amp;creativeASIN=B001EUBSL0&amp;adid=136TXR3518DGEC9BYZE5&amp;">$642.49</a> / $699 Standard — <a title="Purchase on Amazon" href="https://www.amazon.com/dp/B001EUDGO2?tag=j0e48-20&amp;camp=213381&amp;creative=390973&amp;linkCode=as4&amp;creativeASIN=B001EUDGO2&amp;adid=15HY0988KEMRKERHC6M9&amp;">$908</a> / $999 Extended</h5>
<p><img class="alignright size-thumbnail wp-image-731" title="Photoshop" src="http://www.madebyrendr.com/wp-content/uploads/2009/11/Photoshop-100x100.png" alt="Photoshop" width="100" height="100" />Your going to be seeing a lot more Adobe products later in the list, but this is by far the <strong>must-have</strong> of this entire entry.  You might say, “What about GIMP?”  To that I respond, “Screw GIMP”.  It’s not that I don’t like GIMP.  GIMP and I never got into a fight about whose tie looked better at a black-and-white party a few years ago, thus causing a quarrel turned bad causing the punch bowl to be overturned and the party then became black-and-red..  No, nothing like that.  I just simply love Photoshop and it’s integration with the other CS tools (latest version is CS4, recommended).</p>
<p>As the industry standard for graphic creation and photo manipulation, this is hands down <strong>must</strong>.</p>
<p>As far as what edition to get, it’s really up to you.  You won’t be missing out on a lot of tools needed for web design if you run with the standard edition, but it’s always nice to have all the bells and whistles in case something does come up.</p>
<h5>Kuler — <a title="Check out Kuler" href="http://kuler.adobe.com/">FREE</a></h5>
<p><img class="alignright size-thumbnail wp-image-732" title="Untitled-1" src="http://www.madebyrendr.com/wp-content/uploads/2009/11/Untitled-11-100x100.png" alt="Untitled-1" width="100" height="100" />It’s actually more of a community than an application.  Kuler allows you to browse hundreds of color combinations to find the perfect fit for your design project.  You can even submit your own combination to the community.  A great tool when the color wheel just looks like a blur..</p>
<h5>Picasa — <a title="Download Picasa" href="http://picasa.google.com/">FREE</a></h5>
<p><img class="alignright size-full wp-image-735" title="picasa" src="http://www.madebyrendr.com/wp-content/uploads/2009/11/picasa1.png" alt="picasa" width="100" height="99" />Another application developed by Google, Picasa is a great program for managing your photos.  Some of my favorite features are facial recognition and geo-tagging.  Picasa 3 also works hand-in-hand with the Picasa online service, so you can share your photos with friends/family/colleagues.</p>
<h5>Illustrator — <a title="Purchase on Amazon" href="https://www.amazon.com/dp/B001EUDJWQ?tag=j0e48-20&amp;camp=213381&amp;creative=390973&amp;linkCode=as4&amp;creativeASIN=B001EUDJWQ&amp;adid=1V5XERKY3CFHSJGEEFF5&amp;">$575.94</a> / $599</h5>
<p><img class="alignright size-thumbnail wp-image-733" title="Illustrator" src="http://www.madebyrendr.com/wp-content/uploads/2009/11/Illustrator-100x100.png" alt="Illustrator" width="100" height="100" />Similar to Photoshop in that it is mainly used to create graphics, Illustrator differs in that it’s a vector-based application (as opposed to bitmap/raster).  For things that need to be scaled up without losing any quality, I use Illustrator (generally logos, banners, etc).  Using CS4, there is a considerable amount of integration between Photoshop and Illustrator by utilizing Smart Objects.</p>
<h5>Flash — <a title="Purchase on Amazon" href="https://www.amazon.com/dp/B001EUE3YE?tag=j0e48-20&amp;camp=213381&amp;creative=390973&amp;linkCode=as4&amp;creativeASIN=B001EUE3YE&amp;adid=1JX4MVB6XF7MTZ6GPDQS&amp;">$597.99</a> / $699</h5>
<p><img class="alignright size-thumbnail wp-image-730" title="Flash" src="http://www.madebyrendr.com/wp-content/uploads/2009/11/Flash-100x100.png" alt="Flash" width="100" height="100" />Covering the gamut of online animation and video, Flash is a beast of a program.  Currently running ActionScript 3, you can essentially write entire websites in Flash (although not recommended).</p>
<h3>Development</h3>
<h5>Dreamweaver — <a title="Purchase on Amazon" href="https://www.amazon.com/dp/B001EUDIZE?tag=j0e48-20&amp;camp=213381&amp;creative=390973&amp;linkCode=as4&amp;creativeASIN=B001EUDIZE&amp;adid=13PQQTBBKBVKA7JDAGY4&amp;">$377.99</a> / $399</h5>
<p><img class="alignright size-thumbnail wp-image-729" title="Dreamweaver" src="http://www.madebyrendr.com/wp-content/uploads/2009/11/Dreamweaver-100x100.png" alt="Dreamweaver" width="100" height="100" />Originally written by Macromedia, Dreamweaver is now part of the Adobe Creative Suite.  There are a couple reason I use Dreamweaver over other IDE’s.  The main reason is it’s integration with other CS applications.</p>
<h5>FileZilla — <a title="Download FileZilla" href="http://filezilla-project.org/">FREE</a></h5>
<p><img class="alignright size-thumbnail wp-image-720" title="filezilla-icon" src="http://www.madebyrendr.com/wp-content/uploads/2009/11/filezilla-icon-100x100.png" alt="filezilla-icon" width="100" height="100" />FTP isn’t really a complicated task, but it shouldn’t be made any harder with poor interface.  FileZilla is easy to use, extremely fast and responsive, and doesn’t fluff up their interface with unnecessary icons and graphics.  In addition to their FTP Client software, they make it stupid easy to set up an FTP server out of your own machine.</p>
<h5>Notepad++ — <a title="Download Notepad++" href="http://notepad-plus.sourceforge.net/">FREE</a></h5>
<p><img class="alignright size-thumbnail wp-image-728" title="568395745" src="http://www.madebyrendr.com/wp-content/uploads/2009/11/568395745-100x100.png" alt="568395745" width="100" height="100" />Notepad is a great tool for developers across the world.  However, there are just some basic functions that would be really nice in a text editor.  Tabbed interface, syntax highlighting, automatic file history..  These are a few of the many features that Notepad++ has to offer.  My general use for Notepad++ is editing a few of my Apache config files (I hate searching for them everytime I want to make a simple edit).  Scenario: you have three config files open, and close the application.. the next time you open Notepad++, those files will be readily available automatically.  Saves on a lot of time digging for files.</p>
<h5>TortoiseSVN — <a title="Download TortoiseSVN" href="http://tortoisesvn.net/">FREE</a></h5>
<p><img class="alignright size-full wp-image-723" title="tortoise" src="http://www.madebyrendr.com/wp-content/uploads/2009/11/tortoise.png" alt="tortoise" width="100" height="100" />SVN has become one of my favorite tools for development, especially when a team is involved.  In fact, I find it a necessity now, and will not work on a team project without it.  However, interfaces for SVN applications can sometimes be a drag.  Who wants to open an application just to make sure their files are up to date?  TortoiseSVN is built right into Windows Shell, making it a right-click away from updating your repository or local build.</p>
<h3>Business</h3>
<h5>Basecamp — <a title="Check out Basecamp" href="http://www.basecamphq.com/">FREE / MONTHLY SUBSCRIPTION ($24, $49, $99, $149)</a></h5>
<p><img class="alignright size-thumbnail wp-image-724" title="Basecamp" src="http://www.madebyrendr.com/wp-content/uploads/2009/11/Basecamp-100x100.png" alt="Basecamp" width="100" height="100" />Project management is one of those necessary evils.  With email getting way to cluttered, and Google Wave still in “invitation only” testing, Basecamp is a great tool to keep a team on track and on task.  Milestones (deadlines) and a to-do list, as well as file uploads and messaging and writeboards..  Basecamp was written by 37Signals, whose method is to keep things simple (and it’s shown in the ease of use of Basecamp).</p>
<h5>FreshBooks — <a title="Check out Freshbooks" href="http://www.freshbooks.com/">MONTHLY SUBSCRIPTION ($19, $29, $39, $89, $149)</a></h5>
<p><img class="alignright size-thumbnail wp-image-725" title="zzfreshbooks" src="http://www.madebyrendr.com/wp-content/uploads/2009/11/zzfreshbooks-100x100.png" alt="zzfreshbooks" width="100" height="100" />If you are, or have been a freelancer, you know that invoicing clients is not the most glamorous part of the job.  However, it is manageable with some tools, one of which being FreshBooks.  Easy to log, easy to send, easy to brand.  Not much else to say here but: “that was easy.”</p>
<h5>Quicken — <a title="Purchase on Amazon" href="https://www.amazon.com/dp/B002LTJIAG?tag=j0e48-20&amp;camp=213381&amp;creative=390973&amp;linkCode=as4&amp;creativeASIN=B002LTJIAG&amp;adid=1X2PMK65YJ0055ZDNSP0&amp;">$59.99</a> / $99 (HOME &amp; BUSINESS)</h5>
<p><img class="alignright size-thumbnail wp-image-726" title="Quicken Deluxe 2005" src="http://www.madebyrendr.com/wp-content/uploads/2009/11/Quicken-Deluxe-2005-100x100.png" alt="Quicken Deluxe 2005" width="100" height="100" />Freelancing?  Need to manage your business money, and prepare for taxes correctly?  Quicken, although it’s not that quick..</p>
<h5>Microsoft Office — <a title="Purchase on Amazon" href="http://www.amazon.com/gp/product/B000HCVR3A?ie=UTF8&amp;tag=j0e48-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B000HCVR3A">$319.99</a> / $499.95</h5>
<p><img class="alignright size-thumbnail wp-image-727" title="Untitled-1" src="http://www.madebyrendr.com/wp-content/uploads/2009/11/Untitled-1-100x100.png" alt="Untitled-1" width="100" height="100" />I think it goes without saying that Microsoft has dominated the Wordprocessing, Spreadsheet and Presentation market.  These tools are vital to communicate with others via documents.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madebyrendr.com/a-designer-developers-toolkit-windows-edition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ideas: New CSS Functionality</title>
		<link>http://www.madebyrendr.com/ideas-new-css-functionality/</link>
		<comments>http://www.madebyrendr.com/ideas-new-css-functionality/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 05:56:46 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[css4]]></category>
		<category><![CDATA[new]]></category>
		<category><![CDATA[selectors]]></category>

		<guid isPermaLink="false">http://www.jstnjns.com/?p=453</guid>
		<description><![CDATA[If you could add any element or attribute or selector to CSS what would it be? I’ve asked myself this a lot (usually it’s been in reflective moment after trying to get some crazy layout to work, but that I know just isn’t going to happen).
I’ve often wondered that if certain things were fully supported [...]]]></description>
			<content:encoded><![CDATA[<p>If you could add any element or attribute or selector to CSS what would it be? I’ve asked myself this a lot (usually it’s been in reflective moment after trying to get some crazy layout to work, but that I know just isn’t going to happen).<span id="more-453"></span></p>
<p>I’ve often wondered that if certain things were fully supported in CSS (like border-radius) then we wouldn’t have to bend over backwards implementing crazy things like the sliding doors method for rounded looking buttons in all browsers.  The idea of new CSS functionality is to be able to write more semantic code, without the need to wrap certain elements in useless DIVs or SPANs just to give a certain effect.  In a list I’m going to list ideas of what I think would make CSS much more effective as a designer.  In no way am I stating these as completely original and my own.  Anything from selectors to new functionality are acceptable, and if you feel something should be on this list that is not, be sure to let me know in the comments.</p>
<h4>Multiple Background Images</h4>
<p>If this were implemented, it would be much easier to add complex textures to a single DIV that has a dynamic size.  Say the top of a section needs a slight gradient, as does the bottom.  As of now, you’d have to have two DIVs (one as a wrapper), both containing the background images needed for these gradients (on for top, the other for bottom).</p>
<p><a href="http://www.w3.org/TR/2005/WD-css3-background-20050216/#layering">http://www.w3.org/TR/2005/WD-css3-background-20050216/#layering</a></p>
<h4>Native Gradients as Backgrounds</h4>
<p>As it stands, we can use solid colors or images for backgrounds.  It’s impossible to have a gradient background image stretch for the entire heights or width of a dynamically size element, so working around this using semantic code is out of sight.  If there was a way to set points of beginning and end, along with color values (and possibly even alpha) this would be a great answer to an immense need.</p>
<p><a href="http://webkit.org/blog/175/introducing-css-gradients/">http://webkit.org/blog/175/introducing-css-gradients/</a></p>
<h4>Dynamic Background Image Size</h4>
<p>I know that it’s not a good general practice to have CSS resize your images, but I think that if we were able to scale the background images based on the size of the element, using attributes like fitting to height or width as well as keeping aspect ratio, it would open up a whole lot of possibilities for layouts.  Granted, I don’t think I would want it to scale up the images (for obvious reasons).</p>
<p><a href="http://webdesign.about.com/od/styleproperties/p/blspbgsize.htm">http://webdesign.about.com/od/styleproperties/p/blspbgsize.htm</a></p>
<h4>Expressions/Variables/Computing</h4>
<p>Although some might think this is a bad idea, there have been many a times where I wish I could use PHP in my CSS.  Not only would it make templating so much easier (imagine creating a palette of color combinations, and then being able to modify your color scheme on the fly by changing only a couple values), but would allow for much richer possibilities in user generated styles.</p>
<p>What language would be used for this?  Or would a knew language be created?</p>
<p><a href="http://disruptive-innovations.com/zoo/cssvariables/">http://disruptive-innovations.com/zoo/cssvariables/</a></p>
<p><a href="http://gadgetopia.com/post/2774">http://gadgetopia.com/post/2774</a></p>
<h4>:parent(x) Selector</h4>
<p>It would be extremely nice to be able to select the parent of a certain element.  There is currently no way to do this.  You are only allowed to move down the tree, and not up.  I have sometimes implemented jQuery to select parent elements and assign a class attribute.</p>
<p><a href="http://journal.adityamukherjee.com/essay/css-parent-selector-or-reverse-selector/">http://journal.adityamukherjee.com/essay/css-parent-selector-or-reverse-selector/</a></p>
<p>For the time being, this is all that I can think of.  If you have any suggestions, feel free to let me know, and I’d love to add it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madebyrendr.com/ideas-new-css-functionality/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Write A Business Plan</title>
		<link>http://www.madebyrendr.com/how-to-write-a-business-plan/</link>
		<comments>http://www.madebyrendr.com/how-to-write-a-business-plan/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 05:46:19 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[business plan]]></category>
		<category><![CDATA[ideas]]></category>
		<category><![CDATA[organization]]></category>
		<category><![CDATA[plan]]></category>
		<category><![CDATA[planning]]></category>
		<category><![CDATA[strategy]]></category>

		<guid isPermaLink="false">http://www.madebyrendr.com/?p=552</guid>
		<description><![CDATA[Here is a basic guideline to structuring your business plan; it’s really not hard at all with a solid structure. I remember how long I searched and searched for a good guideline to follow, so here you are! Enjoy!

Section I. Executive Summary
Elaborate one the overall business concept, and what you have in store for the [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a basic guideline to structuring your business plan; it’s really not hard at all with a solid structure. I remember how long I searched and searched for a good guideline to follow, so here you are! Enjoy!</p>
<p><span id="more-552"></span></p>
<h3><strong>Section I. </strong>Executive Summary</h3>
<p>Elaborate one the overall business concept, and what you have in store for the reader to dig deeper on later in the plan. Even though this is the first section in your business plan, it is usually written at the end. This summary is the opening to the rest of the plan. If you get it right, your target readers will not go further than the executive summary. Here is a list of what your executive summary should include:</p>
<ul>
<li>Business Name</li>
<li>Business Location</li>
<li>Product or service sold</li>
<li>Purpose of the plan</li>
</ul>
<p>You should provide important points such as projected sales, profits, sales, profitability and the keys to your business’ success. You can always include a highlight chart, sales chart, gross margin, and profits before interest and taxes for the following three years. Always be sure to cite and explain the charts and numbers in the text.</p>
<p>One huge mistake a lot of writers have is not being honest with their readers. What is the goal of this plan? If the goal is to receive an investment, say so. If the goal is to get a loan, say so!</p>
<p>Another big no is repeating yourself, be straight forward and concise. Always know where you are and where you have been in your writings. There is no reason to repeat yourself when it comes to the location, product/service, or any other details for that matter.</p>
<p>How long should your business plan be you ask? I say, asses who you are writing to and go from there. Angel investors probably want to see a page, maybe two. Corporate big wigs, maybe they would like to see ten pages. But that’s up to you, assess the situation and attack it with what you have. Remember, you’re the boss. Be confident in all your decisions and back them up with your common knowledge.</p>
<h3><strong>Section II. </strong>Company Description</h3>
<p>This section is where you get to the nitty gritty details of your proposed business. Describe your business concept and background. Give some information on the following:</p>
<ul>
<li>Business Name</li>
<li>Organization type – Sole Proprietor, Partnership, etc.</li>
<li>Ownership – Include full names</li>
<li>Location – proposed headquarters, offices, branches, etc.</li>
<li>Product/Services – without too much detail, you’ll get more on this later</li>
<li>History – either the company or where the idea of the company was formed</li>
<li>Goals – Up to five years</li>
<li>Plans – Growth? Expansion? Remember to keep it realistic</li>
</ul>
<p>These will all need a little detail as well. Remember you never want to repeat yourself, so if you feel a section such as ‘plans’ will be better covered in a later section than leave it out. Let your business plan flow. Be sure to prepare some information on the proposed location, why you chose that location and maybe some risks of that location. Know what you’re talking about and back up your ideas with facts. This section should be easy, and should be fun. You really get to put pen on paper and explain what it is that you propose to do.</p>
<h3><strong>Section III. </strong>Product or Service</h3>
<p>This is a chance to describe in further what product/service you are providing. Include what equipment will be needed as well. The following section should look a little like this:</p>
<ul>
<li>Proposed Product/Service – explain in some detail what you are selling/providing</li>
<li>Start-up Equipment</li>
</ul>
<p>Put focus on the customer benefits. Provide statistics you can find on your target market. If you are selling a product, your reader will want to know what it is, what it does, and its features and benefits. Provide photos; help your reader understand your product as best they can from reading this section. Provide its shape, size, cost, design, quality, capabilities, technological lifespan, etc. You may even chose to include how it’s made, materials needed, and type of labor needed as well.</p>
<p>On the other hand if you are providing a service explain what service, how they work, and what they need to confront the marketplace. Where will you operate from? What makes your service stand out? What Equipment do you need? What days and hours will the business operate? Go so far as to explain the steps in your service process and the extra benefits you offer to your clients. There is a large ‘but’ in this section. You should do all of this BUT do not bore your reader with tiny details.</p>
<p><strong> </strong></p>
<h3><strong>Section IV. </strong>Market Analysis</h3>
<p>This section takes a lot of time and researching. Analyze the business’ situation, such as the following:</p>
<ul>
<li>Trading Area Analysis – understand you target market, customer behavior and new opportunities
<ul>
<li>Geographic and Demographic Information</li>
<li>Market Segment Analysis of Target Market</li>
<li>Consumer Buying Behavior Related to Proposed Business, Product, and/or Service</li>
<li>Analysis of Potential Location</li>
</ul>
</li>
<li>Competitors
<ul>
<li>Competitors Strengths and Weaknesses</li>
<li>Competitors Advantages and Disadvantages</li>
</ul>
</li>
</ul>
<p>For some of the tasks provided, give the reader some charts to look at. Charts and graphs are easier and able to be analyzed faster than words in a paragraph. Do not clutter your papers with too many, though. That may look lazy and unprofessional. Be honest, if you aren’t honest in this how do you expect to succeed if you do receive the funding? Keep in mind this information needs to be right. For your own sake, really dig deep in the research and educate yourself on your market, location, etc. This will benefit you in the long run.</p>
<h3><strong>Section V. </strong>Strategy and Implementation</h3>
<p>This section should include your management and sales strategies. How will your business be run? What will make the consumer come to your product/service before they go somewhere else? How can you hook them? Provide your:</p>
<ul>
<li>Management Responsibilities</li>
<li>Dates and Budgets</li>
<li>Pricing Policy</li>
<li>Promotion</li>
<li>Distribution</li>
<li>Marketing Programs</li>
<li>Sales Strategy</li>
<li>Sales Forecast</li>
</ul>
<p>Get into detail about each one of these items. Provide a thorough and thought out calendar of events for each strategy such as promotion, distribution, programs, etc. Put together a forecast that describes punctually the steps you have planned to meet your projected sales. Any sort of marketing strategies you have, explain them. Let the reader know you know business, especially your own. Your sales strategy is the most important part of this section. It measures your business’ success. Keep in mind you are not selling a product/service as much as you are selling a concept and/or image. Remember when working on this section that the majority of people do not believe someone can be convinced to buy something. Know your audience as well as you know your customer.</p>
<p><strong> </strong></p>
<h3><strong>Section VI. </strong>Management Team</h3>
<p>Describe the organization and the key management team members. Build a flow chart that depicts how your business will be ran from the top to the bottom. Include everyone, even prospective investors. Describe duties and obligations along with privileges. The foundation of your team is drawn out in this section.</p>
<h3><strong>Setion VII. </strong>Planned Financing</h3>
<p>This is where the area of accounting can come in handy. You get this wrong, and you will not fool anybody. This needs to be the one golden egg you have in your basket. Double, Triple and Quadruple check this bad boy. You need to provide the following:</p>
<ul>
<li>Projected Income and Expenses
<ul>
<li>Start-up Cost/One Time Expenses for First Month</li>
<li>Projected Income Statement by Month for First Year Operations</li>
<li>Projected Cash Flow for First Year Operations</li>
<li>Projected Balance Sheet, End of First Year Operations</li>
<li>Projected Three-Year Profit/Loss Statement</li>
</ul>
</li>
<li>Brief Narrative of Planned Growth</li>
</ul>
<p>When talking financials, be realistic. Keep it modest, but enough to be an investment worth making. Evaluate the risk thoroughly and keep everything organized. A realistic figure is one of the keys to the success of a small start-up looking for investors. Be sure when you are discussing the growth that you are realistic as well. No one wants to see outlandish ‘in your dreams’ numbers. As they may be possible, for the sake of looking professional, keep it realistic.</p>
<h3><strong>Section VIII. </strong>Bibliography</h3>
<p>Provide the name and location of where you received all your information for research. Was it a viable source? Prove it to the reader, let them have confidence in what your business plan has for content.</p>
<p>I really hope this helps with your business plan, if you need any more information or help shoot us an email. <a href="mailto:Stephen@madebyrendr.com">Stephen@madebyrendr.com</a></p>
<p>Cheers,</p>
<p>Stephen Jones</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madebyrendr.com/how-to-write-a-business-plan/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How To Deal With IE6, 8 Years Later</title>
		<link>http://www.madebyrendr.com/how-to-deal-with-ie6-8-years-later/</link>
		<comments>http://www.madebyrendr.com/how-to-deal-with-ie6-8-years-later/#comments</comments>
		<pubDate>Sun, 05 Jul 2009 18:14:43 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[msie]]></category>
		<category><![CDATA[stylesheets]]></category>

		<guid isPermaLink="false">http://www.jstnjns.com/?p=455</guid>
		<description><![CDATA[Anyone that has ever met me knows that I despise the fact that developers are still catering to, and developing workarounds for Internet Explorer 6.  It is a costly, aggravating task that enables users to remain on the decrepit system.  So what is the solution?

I recently stumbled upon a site For A Beautiful [...]]]></description>
			<content:encoded><![CDATA[<p>Anyone that has ever met me knows that I despise the fact that developers are still catering to, and developing workarounds for <a href="http://en.wikipedia.org/wiki/Internet_Explorer#Internet_Explorer_6" target="_blank">Internet Explorer 6</a>.  It is a costly, aggravating task that enables users to remain on the decrepit system.  So what is the solution?</p>
<p><span id="more-455"></span></p>
<p>I recently stumbled upon a site <a href="http://forabeautifulweb.com/" target="_blank">For A Beautiful Web</a>.  When I find a site like this, it is in my nature to dig.  View the source, and whip out Firebug for a peek under the hood.  Get in the minds of people and sites I aspire to, and learn the things that will put you in the head of the pack.</p>
<p>As I was digging through some source in the HEAD, I noticed some conditional statements.  These always catch my eye, as I am always interested in how other people handle IE bugs.  A <a href="http://www.groundctrl.com/" target="_blank">firm</a> I used to work with decided to set up a page referring them to download newer and better browsers.  A <a href="http://www.tribbledesigns.com/">freelancer</a> I currently work with supplements with stylesheets to fix the bugs.  But what do other people do?  This question has always been on my mind.  So while looking at these conditional statements, I realized that they were linking to some code hosted on <a href="http://code.google.com/" target="_blank">Google Code</a>.  It was an <a href="http://www.google.com/url?sa=t&amp;source=web&amp;ct=res&amp;cd=2&amp;url=http%3A%2F%2Fmsdn.microsoft.com%2Fen-us%2Flibrary%2Fms537512(VS.85).aspx&amp;ei=VftQSqPEJZKqtgPazqmXBw&amp;usg=AFQjCNE9dPj8OHHRJmLDEVVzFShsTCMHkQ&amp;sig2=J_3H7OgZa4WODrEmKPe84g" target="_blank">IE6 specific</a> stylesheet.</p>
<p><a href="http://www.madebyrendr.com/wp-content/uploads/2009/07/forabeautifulweb.jpg"><img class="alignnone size-medium wp-image-458" title="forabeautifulweb" src="http://www.madebyrendr.com/wp-content/uploads/2009/07/forabeautifulweb-300x162.jpg" alt="forabeautifulweb" width="300" height="162" /></a></p>
<p>Take a look at the <a href="http://code.google.com/p/universal-ie6-css/downloads/list" target="_blank">code</a>, as it is some clean work.  In the <a href="http://code.google.com/p/universal-ie6-css/" target="_blank">developers notes</a>, they state that THE most important part of (most) sites is the content.  This stylesheet leaves intact the content, does not give it layout, but structure (very similar to the default styles of the browser).  The difference between giving the IE6 user this stylesheet, and not letting IE6 have control over the styles is simple: these styles are much classier, and easier to work with if you ever wanted to give a mild bit of branding.</p>
<p>I’ve decided that I will recommend this to all future and current clients.  It is an elegant solution to what I think is a hideous problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madebyrendr.com/how-to-deal-with-ie6-8-years-later/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP/HTML/CSS/JS Template</title>
		<link>http://www.madebyrendr.com/php-htm-css-js-template/</link>
		<comments>http://www.madebyrendr.com/php-htm-css-js-template/#comments</comments>
		<pubDate>Sun, 19 Apr 2009 00:29:43 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[conditional]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[statement]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://www.jstnjns.com/?p=331</guid>
		<description><![CDATA[Every time you start up a site, you generally use the same (or similar) process.  Create your index, create and link this stylesheet, and that javascript..  I decided to make it a bit easier on myself and create a template.  Not everything in the template will be needed for every site, but it’s a lot [...]]]></description>
			<content:encoded><![CDATA[<p>Every time you start up a site, you generally use the same (or similar) process.  Create your index, create and link this stylesheet, and that javascript..  I decided to make it a bit easier on myself and create a template.  Not everything in the template will be needed for every site, but it’s a lot easier to delete a line or two than type out 800 characters.<span id="more-331"></span></p>
<p>I’ve created two templates.  One for if you are simply working with (X)HTML, and the other if you are using <acronym title="PHP Hypertext Preprocessor">PHP</acronym>.  I’ve separated the two because I believe that if you are using PHP (in a simple fashion) there are many structural things that make updating your site so much easier (i.e. making sections that stay the same throughout the site an “<a href="http://us3.php.net/include/">include</a>”).</p>
<ul>
<li><a href="http://www.madebyrendr.com/wp-content/plugins/download-monitor/download.php?id=4" title="Downloaded 129 times" class="download">Starter Template — HTML <span class="hits">129</span></a></li>
<li><a href="http://www.madebyrendr.com/wp-content/plugins/download-monitor/download.php?id=3" title="Downloaded 120 times" class="download">Starter Template — PHP <span class="hits">120</span></a></li>
</ul>
<p>These ZIPs include a small file structure.  I will do my best to go through and explain everything.</p>
<h3>index.html/index.php</h3>
<p>The index is where all of the files are linked together.  This should be your base template for every page.  I tend to rename it “template”, leave it in the site root, and then duplicate it every time I need a new page.</p>
<p>It uses a strict (X)HTML <abbr title="Document Type">doctype</abbr>, imports the Google hosted <a title="jQuery" href="http://jquery.com/">jQuery</a> library and a local javascript file, links up the <acronym title="Cascading Style Sheets">CSS</acronym>, has <a title="MSDN - Conditional Statements" href="http://msdn.microsoft.com/en-us/library/ms537512(VS.85).aspx">conditional statements</a> for <a title="Why IE Sucks" href="http://whyiesucks.blogspot.com/">Internet</a> <a title="Crash IE" href="http://www.crashie.com/">Explorer</a> versions 6 and 7, as well starts off with a very robust document structure.</p>
<h3>Javascript</h3>
<h4>jQuery</h4>
<p>I use the jQuery library in almost every project I do.  Even if I’m not going to use jQuery from the start, with a minimized file size of 4k, it’s easy to add some Javascript to a site if it’s already loaded.  I also decided to stop copying the jQuery lib file into every project I do, but link to the file hosted by Google Code.  There are many reasons why to, and not to do this, but ultimately it came down to one thing: it’s easy.  The pros and cons can keep battling each other all day, but they really are going to even out.</p>
<h4>global.js</h4>
<p>Because I use the jQuery library so often, I added this global Javascript file.  I tend to use JS for things like navigation drop-down animations, and other things that are globally located around the site.  So, it only made sense to have a global Javascript file.</p>
<h3>CSS</h3>
<h4>screen.css</h4>
<p>The core of my skillset is mostly in CSS.  With that, I don’t know what I would do if we still had to write inline styles (probably pursue my life long dream of <a title="You know you want to see what it is.." href="http://news.sky.com/skynews/Home/Sky-News-Archive/Article/20080641274205">Wife Carrying</a>).  The reason the file is named “screen.css” is because it simplifies the naming convention I generally use.  Some times (and this is only when I’m SUPER bored) I do create a handheld and print stylesheet.  In this file (screen.css) it imports another CSS file, reset.css</p>
<h4>reset.css</h4>
<p>Courtesy of <a href="http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/">Eric Meyers</a>, this reset stylesheet removes most, if not all, browser default stylings.  It places everything on the same level as to not run into any weird kinks later down the road that seem confusing.  I can’t tell you how many times I’ve wondered “Why is that two points larger than it should?!”</p>
<h3>Conditional Statements</h3>
<p>Conditional statements, conditional statements, conditional statements… what are we to do?  The very fact that Microsoft created an “out” just for them someone irritates me.  These little buggers let you hide tags from any other browser that isn’t in it’s “condition”.  If you don’t know what I’m talking about then have a look at <a href="http://msdn.microsoft.com/en-us/library/ms537512(VS.85).aspx">Microsoft’s Developer Network</a>.</p>
<h3>Document Structure</h3>
<p>I’m pretty sure I’m not the only one to have this document structure, but I don’t recall copying it elsewhere.  After looking at as many lines of code as I have, things start to become a bit hazy.  Either way, let me explain the best way to use this structure.</p>
<h4>#wrap</h4>
<p>I generally use the #wrap for some sort of background image applique.  It works best when you have a repeating background image on the body, but need some sort of “topper” (if that makes any sense..).  It’s just a div that fills the entire horizontal space, and as much space as your content takes up vertically.</p>
<h4>.container</h4>
<p>I used to use the #wrap to horizontally center my content.  I did this until I met .container.  What .container allows you to do is have a section (i.e. #branding) that spans the entire width of the document, but “contains” the content into a fixed (or even fluid) width that is smaller than the document.  Example: your design has a black stripe behind the branding that goes all the way across the document, left to right.  But the content only spans about 600px.  You set the global .container width to 600px, and you can center it using some margin techniques.  Bam!  As well, if the content width ranges from section to section, just use the “cascade”, and call on the .container by it’s parent div id (i.e. #branding .container).</p>
<h4>Sections (#branding, #content, #site_info)</h4>
<p>Although I’ve been using CSS for quite some time, it was brought to my attention not to long ago how far we should take semantic coding.  I’ve realized that id’s like #header and #right_col don’t have much value if you are restyling a document with no sidebar, or the “header” is now at the bottom of the page..  These sections that I’ve put in the document are not the “be all” of structure.  In fact, in many of my projects they don’t work at all.  But keep in mind when you are coding a document, “What content is going to be within this block of code?” and name it accordingly.  <acronym title="By The Way">BTW</acronym>, if you are unsure of what #site_info is for, I generally put copyright, “footer” type things there.</p>
<p>I hope this can benefit somebody, as it has helped streamline my process by a lot.  Thanks!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madebyrendr.com/php-htm-css-js-template/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Column Divider</title>
		<link>http://www.madebyrendr.com/css-column-divider/</link>
		<comments>http://www.madebyrendr.com/css-column-divider/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 01:39:36 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[CSS Snippets]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[border]]></category>
		<category><![CDATA[column]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[divider]]></category>
		<category><![CDATA[faux]]></category>
		<category><![CDATA[semantic]]></category>

		<guid isPermaLink="false">http://www.jstnjns.com/?p=322</guid>
		<description><![CDATA[I am one of the biggest advocates for CSS.  That being said, I’ve always been disappointed in it’s layout capabilities.  There looks to be some promising new features in CSS3.  However, being that we’re just starting to think about bailing on IE6, it’s going to be quite a while before we can even start to [...]]]></description>
			<content:encoded><![CDATA[<p>I am one of the biggest advocates for CSS.  That being said, I’ve always been disappointed in it’s layout capabilities.  There looks to be some promising new features in CSS3.  However, being that we’re just starting to think about bailing on IE6, it’s going to be quite a while before we can even start to rely some browsers *ehem IE ehem* to support CSS3 fully.  That being said, I’d like to introduce a technique for a column divider that extends to the longest of the two columns (and is purely CSS driven).</p>
<p>How many times have you built a two column layout?  How many times have you found it damn near impossible to get them to line up at the bottom without using some Javascript?  It’s a crappy situation to be in.  “Rely on Javascript, do without..?”</p>
<p>In certain situations, you don’t have to decide.  Assuming both columns are above the same background, and all that is needed between them is a one-pixel divider, then we’ve got the ticket.  The general dilemma with this sort of layout is that you really only get to choose one side to have the divider on.  Say you have a basic “Content/Sidebar” layout:</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br />39<br />40<br />41<br />42<br />43<br />44<br />45<br />46<br />47<br />48<br />49<br />50<br />51<br />52<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/html.html"><span style="color: #000000; font-weight: bold;">html</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/head.html"><span style="color: #000000; font-weight: bold;">head</span></a>&gt;</span><br />
    <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/style.html"><span style="color: #000000; font-weight: bold;">style</span></a>&gt;</span><br />
<br />
    #wrap {<br />
        width: 800px;<br />
        padding: 10px;<br />
        border: 1px solid black;<br />
        background: lightyellow;<br />
    }<br />
<br />
    #main {<br />
        width: 600px;<br />
        float: right;<br />
    }<br />
<br />
    #secondary {<br />
        width: 200px;<br />
        float: left;<br />
    }<br />
<br />
    .clear { clear: both; }<br />
<br />
    <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/style.html"><span style="color: #000000; font-weight: bold;">style</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/head.html"><span style="color: #000000; font-weight: bold;">head</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/body.html"><span style="color: #000000; font-weight: bold;">body</span></a>&gt;</span><br />
    <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">“wrap”</span>&gt;</span><br />
        <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/h1.html"><span style="color: #000000; font-weight: bold;">h1</span></a>&gt;</span>Site Header<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/h1.html"><span style="color: #000000; font-weight: bold;">h1</span></a>&gt;</span><br />
        <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">“main”</span>&gt;</span><br />
            <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/h2.html"><span style="color: #000000; font-weight: bold;">h2</span></a>&gt;</span>Page Header<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/h2.html"><span style="color: #000000; font-weight: bold;">h2</span></a>&gt;</span><br />
            <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">p</span></a>&gt;</span>Lorem ipsum dolor sit amet…<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">p</span></a>&gt;</span><br />
<br />
            <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">p</span></a>&gt;</span>Pellentesque scelerisque…<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">p</span></a>&gt;</span><br />
<br />
            <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">p</span></a>&gt;</span>Nunc quam eros, vulputate…<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">p</span></a>&gt;</span><br />
<br />
            <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">p</span></a>&gt;</span>Curabitur malesuada augue…<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">p</span></a>&gt;</span><br />
<br />
            <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">p</span></a>&gt;</span>Integer vitae tellus non…<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">p</span></a>&gt;</span><br />
        <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span><br />
        <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">“secondary”</span>&gt;</span><br />
            <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/h3.html"><span style="color: #000000; font-weight: bold;">h3</span></a>&gt;</span>Navigation<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/h3.html"><span style="color: #000000; font-weight: bold;">h3</span></a>&gt;</span><br />
            <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/ul.html"><span style="color: #000000; font-weight: bold;">ul</span></a>&gt;</span><br />
                <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">”#”</span>&gt;</span>Home<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><br />
                <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">”#”</span>&gt;</span>Page #2<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><br />
                <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">”#”</span>&gt;</span>Page #3<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><br />
                <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">”#”</span>&gt;</span>Page #4<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><br />
            <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/ul.html"><span style="color: #000000; font-weight: bold;">ul</span></a>&gt;</span><br />
        <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span><br />
    <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/body.html"><span style="color: #000000; font-weight: bold;">body</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/html.html"><span style="color: #000000; font-weight: bold;">html</span></a>&gt;</span></div></td></tr></tbody></table></div>
<p>If you add the divider to the left column, then you chance the  content column being longer than the divider.  If you put the divider to the right column, you chance it being shorter than the left column, etc.  It’s just a big mess.</p>
<p>The solution?  Add the divider to both columns.</p>
<div class="codecolorer-container css default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br /></div></td><td><div class="css codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #cc00cc;">#main</span> <span style="color: #00AA00;">{</span><br />
<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">599px</span><span style="color: #00AA00;">;</span><br />
<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">;</span><br />
<span style="color: #000000; font-weight: bold;">border-left</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #000000; font-weight: bold;">black</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">}</span><br />
<br />
<span style="color: #cc00cc;">#secondary</span> <span style="color: #00AA00;">{</span><br />
<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">199px</span><span style="color: #00AA00;">;</span><br />
<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span><br />
<span style="color: #000000; font-weight: bold;">border-right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #000000; font-weight: bold;">black</span><span style="color: #00AA00;">;</span><br />
<span style="color: #000000; font-weight: bold;">margin-right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">–1px</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">}</span></div></td></tr></tbody></table></div>
<p>If you noticed, we pretty much did the same thing to both of the columns.  We added the dividing line on the sides that touched, as well as compensated the 1px border in the width.  The only thing that we did differently was added a negative margin of one pixel to the secondary column on the joining side.  This method basically overlaps both columns by one pixel.  Luckily, both of these columns share a one pixel border on that side, causing it too look like there’s only one border between them.</p>
<p>You can see how finding this has saved me tons of grief, and time searching for the best column Javascript code..</p>
<p>Hope this helped somebody, as it was a huge help to me!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madebyrendr.com/css-column-divider/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>jQuery Plugin: SimpleSlider</title>
		<link>http://www.madebyrendr.com/jquery-plugin-simpleslider/</link>
		<comments>http://www.madebyrendr.com/jquery-plugin-simpleslider/#comments</comments>
		<pubDate>Tue, 17 Mar 2009 07:59:06 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[jQuery Plugins]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[simple]]></category>
		<category><![CDATA[simpleslider]]></category>
		<category><![CDATA[slider]]></category>

		<guid isPermaLink="false">http://www.jstnjns.com/?p=175</guid>
		<description><![CDATA[I’ve been using jQuery for quite some time.  That is part of the problem,  I had only been ‘using’ it.  The power of it, how lightweight it is.. who wouldn’t?  It does what it says, it makes Javascript fun.  But I had only been ‘using’ it.  Never before had I contributed, until last night.

Update
Has been [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve been using jQuery for quite some time.  That is part of the problem,  I had only been ‘using’ it.  The power of it, how lightweight it is.. who wouldn’t?  It does what it says, it makes Javascript fun.  But I had only been ‘using’ it.  Never before had I contributed, until last night.</p>
<p><span id="more-175"></span></p>
<h3>Update</h3>
<p>Has been moved, and has it’s own <a href="/jquery-plugins/simpleslider/">page</a> now.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madebyrendr.com/jquery-plugin-simpleslider/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Very Simple IE6 Redirect</title>
		<link>http://www.madebyrendr.com/very-simple-ie6-redirect/</link>
		<comments>http://www.madebyrendr.com/very-simple-ie6-redirect/#comments</comments>
		<pubDate>Sat, 07 Mar 2009 09:18:41 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[Snippets]]></category>
		<category><![CDATA[conditional]]></category>
		<category><![CDATA[conditional statements]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[Learn Javascript]]></category>
		<category><![CDATA[meta]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[redirect]]></category>
		<category><![CDATA[statements]]></category>

		<guid isPermaLink="false">http://www.jstnjns.com/?p=209</guid>
		<description><![CDATA[If I ever am only allowed one rant, it is IE6.  I could go on for days about it’s lack of CSS support, bugs, crazy hacks that have been created to ‘cope’ and many other things that make me crawl into the fetal position with my thumb in my mouth..  but I’m not going to.  [...]]]></description>
			<content:encoded><![CDATA[<p>If I ever am only allowed one rant, it is IE6.  I could go on for days about it’s lack of CSS support, bugs, crazy hacks that have been created to ‘cope’ and many other things that make me crawl into the fetal position with my thumb in my mouth..  but I’m not going to.  I’m simply going to point out a few things: it was halfway decent for it’s time (back when people considered Netscape as a ‘major’ browser).  It’s not so much IE6’s fault, as it is large corporations not upgrading thousands of their systems (it’s only been nearly a decade…retro vintage browsers tight!)..<span id="more-209"></span></p>
<p>Here’s why I actually wrote this post:</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #808080; font-style: italic;">&lt;!–[if lte IE 6]&gt;</span><br />
<span style="color: #808080; font-style: italic;">&lt;meta http-equiv=“refresh” content=“0; url=/ie6.html” /&gt;</span><br />
<span style="color: #808080; font-style: italic;">&lt;script type=“text/javascript”&gt;</span><br />
<span style="color: #808080; font-style: italic;">&lt;! [CDATA[</span><br />
<span style="color: #808080; font-style: italic;">window.top.location = ‘/ie6.html’;</span><br />
<span style="color: #808080; font-style: italic;">]]</span><br />
<span style="color: #808080; font-style: italic;">–&gt;</span><br />
<span style="color: #808080; font-style: italic;">&lt;!–[endif]–&gt;</span></div></td></tr></tbody></table></div>
<p>That little piece of nifty code will cause any user running IE6 to be relocated to a page (/ie6.html) ‘enlightening’ them about how badly their browser is outdated, and needs to be put out of its misery.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madebyrendr.com/very-simple-ie6-redirect/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Clean URLs By Removing The File Suffix</title>
		<link>http://www.madebyrendr.com/clean-urls-by-removing-the-file-suffix/</link>
		<comments>http://www.madebyrendr.com/clean-urls-by-removing-the-file-suffix/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 18:23:28 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[asp]]></category>
		<category><![CDATA[clean]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[Learn PHP]]></category>
		<category><![CDATA[rewrite]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[serverside]]></category>
		<category><![CDATA[url]]></category>

		<guid isPermaLink="false">http://www.jstnjns.com/?p=159</guid>
		<description><![CDATA[I’ve been working on some projects lately that use server side languages like PHP.  I’m pretty comfortable coding, but something that has generally eluded me is as to how I’ve been able to visit sites with URLs like:
http://www.sitename.com/whatever/you/want
Well, I finally came across how to achieve this effect.  Enter stage right, HTACCESS.

Apache servers (with mod_rewrite enabled) [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve been working on some projects lately that use server side languages like <acronym title="PHP Hypertext Preprocessor">PHP</acronym>.  I’m pretty comfortable coding, but something that has generally eluded me is as to how I’ve been able to visit sites with URLs like:</p>
<address>http://www.sitename.com/whatever/you/want</address>
<p>Well, I finally came across how to achieve this effect.  Enter stage right, HTACCESS.</p>
<p><span id="more-159"></span></p>
<p>Apache servers (with mod_rewrite enabled) have the ability to take the request from the user, rewrite it, and then display the rewritten requested page.</p>
<div class="codecolorer-container apache default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br /></div></td><td><div class="apache codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #00007f;">RewriteEngine</span> <span style="color: #0000ff;">On</span><br />
<span style="color: #00007f;">RewriteCond</span> %{REQUEST_FILENAME} !-f<br />
<span style="color: #00007f;">RewriteCond</span> %{REQUEST_FILENAME} !-d<br />
<span style="color: #00007f;">RewriteRule</span> ^(.*)$ $<span style="color: #ff0000;">1</span>.php [L,QSA]</div></td></tr></tbody></table></div>
<p>This will access the file:</p>
<address>http://www.domain.com/about.php</address>
<p>by typing in the URL of</p>
<address>http://www.domain.com/about</address>
<p>Respect: Thanks to Dave Dash for this insight into cleaner URLS.  Go Green!</p>
<p>To get similar results with an IIS server, visit <a href="http://www.micronovae.com/ModRewrite/ModRewrite.html">Micronovae</a>.</p>
<p><em>Note: that I have a basic understanding of how servers work.  For more information about <a title="Apache Server Site" href="http://httpd.apache.org/">Apache</a>, visit their site.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.madebyrendr.com/clean-urls-by-removing-the-file-suffix/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PHP Script: Relative Time (Includes Support For Future Dates)</title>
		<link>http://www.madebyrendr.com/php-script-relative-time-includes-support-for-future-dates/</link>
		<comments>http://www.madebyrendr.com/php-script-relative-time-includes-support-for-future-dates/#comments</comments>
		<pubDate>Fri, 13 Feb 2009 16:03:45 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[PHP Snippets]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[display]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[future]]></category>
		<category><![CDATA[Learn PHP]]></category>
		<category><![CDATA[past]]></category>
		<category><![CDATA[relative]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[time]]></category>

		<guid isPermaLink="false">http://www.jstnjns.com/?p=143</guid>
		<description><![CDATA[I know that I just went from one extreme (HTML Basics) to another (PHP Functions), but I had to write this script today for a personal project I’m currently working on.  I thought that because it was so hard for me to find something like this via Google (which turned out to be a [...]]]></description>
			<content:encoded><![CDATA[<p>I know that I just went from one extreme (HTML Basics) to another (PHP Functions), but I had to write this script today for a personal project I’m currently working on.  I thought that because it was so hard for me to find something like this via Google (which turned out to be a bust.  NOTE TO SELF: don’t ever search for ‘relative time functions’ unless you want your brain to explode), that I would post it here, and make it readily available to anybody who needs/wants it.<span id="more-143"></span></p>
<p>Note: that I took an existing function and modified it.  The original writer of this code was: <a href="http://jasontan.org/">Jason Tan</a></p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">function</span> relative_time<span style="color: #009900;">(</span><span style="color: #000088;">$date</span><span style="color: #009900;">)</span> <span style="color: #009900;">{</span><br />
<span style="color: #000088;">$diff</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/time"><span style="color: #990000;">time</span></a><span style="color: #009900;">(</span><span style="color: #009900;">)</span> <span style="color: #339933;">-</span> <a href="http://www.php.net/strtotime"><span style="color: #990000;">strtotime</span></a><span style="color: #009900;">(</span><span style="color: #000088;">$date</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">if</span> <span style="color: #009900;">(</span><span style="color: #000088;">$diff</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">)</span> <span style="color: #009900;">{</span><br />
<span style="color: #b1b100;">if</span> <span style="color: #009900;">(</span><span style="color: #000088;">$diff</span><span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span><span style="color: #cc66cc;">60</span><span style="color: #009900;">)</span><br />
<span style="color: #b1b100;">return</span> <span style="color: #000088;">$diff</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">” second”</span> <span style="color: #339933;">.</span> plural<span style="color: #009900;">(</span><span style="color: #000088;">$diff</span><span style="color: #009900;">)</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">” ago”</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$diff</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/round"><span style="color: #990000;">round</span></a><span style="color: #009900;">(</span><span style="color: #000088;">$diff</span><span style="color: #339933;">/</span><span style="color: #cc66cc;">60</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">if</span> <span style="color: #009900;">(</span><span style="color: #000088;">$diff</span><span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span><span style="color: #cc66cc;">60</span><span style="color: #009900;">)</span><br />
<span style="color: #b1b100;">return</span> <span style="color: #000088;">$diff</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">” minute”</span> <span style="color: #339933;">.</span> plural<span style="color: #009900;">(</span><span style="color: #000088;">$diff</span><span style="color: #009900;">)</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">” ago”</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$diff</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/round"><span style="color: #990000;">round</span></a><span style="color: #009900;">(</span><span style="color: #000088;">$diff</span><span style="color: #339933;">/</span><span style="color: #cc66cc;">60</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">if</span> <span style="color: #009900;">(</span><span style="color: #000088;">$diff</span><span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span><span style="color: #cc66cc;">24</span><span style="color: #009900;">)</span><br />
<span style="color: #b1b100;">return</span> <span style="color: #000088;">$diff</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">” hour”</span> <span style="color: #339933;">.</span> plural<span style="color: #009900;">(</span><span style="color: #000088;">$diff</span><span style="color: #009900;">)</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">” ago”</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$diff</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/round"><span style="color: #990000;">round</span></a><span style="color: #009900;">(</span><span style="color: #000088;">$diff</span><span style="color: #339933;">/</span><span style="color: #cc66cc;">24</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">if</span> <span style="color: #009900;">(</span><span style="color: #000088;">$diff</span><span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span><span style="color: #cc66cc;">7</span><span style="color: #009900;">)</span><br />
<span style="color: #b1b100;">return</span> <span style="color: #000088;">$diff</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">” day”</span> <span style="color: #339933;">.</span> plural<span style="color: #009900;">(</span><span style="color: #000088;">$diff</span><span style="color: #009900;">)</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">” ago”</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$diff</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/round"><span style="color: #990000;">round</span></a><span style="color: #009900;">(</span><span style="color: #000088;">$diff</span><span style="color: #339933;">/</span><span style="color: #cc66cc;">7</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">if</span> <span style="color: #009900;">(</span><span style="color: #000088;">$diff</span><span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span><span style="color: #cc66cc;">4</span><span style="color: #009900;">)</span><br />
<span style="color: #b1b100;">return</span> <span style="color: #000088;">$diff</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">” week”</span> <span style="color: #339933;">.</span> plural<span style="color: #009900;">(</span><span style="color: #000088;">$diff</span><span style="color: #009900;">)</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">” ago”</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">return</span> <span style="color: #0000ff;">“on ”</span> <span style="color: #339933;">.</span> <a href="http://www.php.net/date"><span style="color: #990000;">date</span></a><span style="color: #009900;">(</span><span style="color: #0000ff;">“F j, Y”</span><span style="color: #339933;">,</span> <a href="http://www.php.net/strtotime"><span style="color: #990000;">strtotime</span></a><span style="color: #009900;">(</span><span style="color: #000088;">$date</span><span style="color: #009900;">)</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">}</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">{</span><br />
<span style="color: #b1b100;">if</span> <span style="color: #009900;">(</span><span style="color: #000088;">$diff</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;-</span><span style="color: #cc66cc;">60</span><span style="color: #009900;">)</span><br />
<span style="color: #b1b100;">return</span> <span style="color: #0000ff;">“in ”</span> <span style="color: #339933;">.</span> <span style="color: #339933;">-</span><span style="color: #000088;">$diff</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">” second”</span> <span style="color: #339933;">.</span> plural<span style="color: #009900;">(</span><span style="color: #000088;">$diff</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$diff</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/round"><span style="color: #990000;">round</span></a><span style="color: #009900;">(</span><span style="color: #000088;">$diff</span><span style="color: #339933;">/</span><span style="color: #cc66cc;">60</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">if</span> <span style="color: #009900;">(</span><span style="color: #000088;">$diff</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;-</span><span style="color: #cc66cc;">60</span><span style="color: #009900;">)</span><br />
<span style="color: #b1b100;">return</span> <span style="color: #0000ff;">“in ”</span> <span style="color: #339933;">.</span> <span style="color: #339933;">-</span><span style="color: #000088;">$diff</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">” minute”</span> <span style="color: #339933;">.</span> plural<span style="color: #009900;">(</span><span style="color: #000088;">$diff</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$diff</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/round"><span style="color: #990000;">round</span></a><span style="color: #009900;">(</span><span style="color: #000088;">$diff</span><span style="color: #339933;">/</span><span style="color: #cc66cc;">60</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">if</span> <span style="color: #009900;">(</span><span style="color: #000088;">$diff</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;-</span><span style="color: #cc66cc;">24</span><span style="color: #009900;">)</span><br />
<span style="color: #b1b100;">return</span> <span style="color: #0000ff;">“in ”</span> <span style="color: #339933;">.</span> <span style="color: #339933;">-</span><span style="color: #000088;">$diff</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">” hour”</span> <span style="color: #339933;">.</span> plural<span style="color: #009900;">(</span><span style="color: #000088;">$diff</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$diff</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/round"><span style="color: #990000;">round</span></a><span style="color: #009900;">(</span><span style="color: #000088;">$diff</span><span style="color: #339933;">/</span><span style="color: #cc66cc;">24</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">if</span> <span style="color: #009900;">(</span><span style="color: #000088;">$diff</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;-</span><span style="color: #cc66cc;">7</span><span style="color: #009900;">)</span><br />
<span style="color: #b1b100;">return</span> <span style="color: #0000ff;">“in ”</span> <span style="color: #339933;">.</span> <span style="color: #339933;">-</span><span style="color: #000088;">$diff</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">” day”</span> <span style="color: #339933;">.</span> plural<span style="color: #009900;">(</span><span style="color: #000088;">$diff</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$diff</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/round"><span style="color: #990000;">round</span></a><span style="color: #009900;">(</span><span style="color: #000088;">$diff</span><span style="color: #339933;">/</span><span style="color: #cc66cc;">7</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">if</span> <span style="color: #009900;">(</span><span style="color: #000088;">$diff</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;-</span><span style="color: #cc66cc;">4</span><span style="color: #009900;">)</span><br />
<span style="color: #b1b100;">return</span> <span style="color: #0000ff;">“in ”</span> <span style="color: #339933;">.</span> <span style="color: #339933;">-</span><span style="color: #000088;">$diff</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">” week”</span> <span style="color: #339933;">.</span> plural<span style="color: #009900;">(</span><span style="color: #000088;">$diff</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">return</span> <span style="color: #0000ff;">“on ”</span> <span style="color: #339933;">.</span> <a href="http://www.php.net/date"><span style="color: #990000;">date</span></a><span style="color: #009900;">(</span><span style="color: #0000ff;">“F j, Y”</span><span style="color: #339933;">,</span> <a href="http://www.php.net/strtotime"><span style="color: #990000;">strtotime</span></a><span style="color: #009900;">(</span><span style="color: #000088;">$date</span><span style="color: #009900;">)</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">}</span><br />
<span style="color: #009900;">}</span></div></td></tr></tbody></table></div>
]]></content:encoded>
			<wfw:commentRss>http://www.madebyrendr.com/php-script-relative-time-includes-support-for-future-dates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
