<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss 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" version="2.0">

<channel>
	<title>Aloe Studios Blog</title>
	
	<link>http://aloestudios.com</link>
	<description>thoughts on web design and general nerdiness</description>
	<pubDate>Fri, 26 Sep 2008 13:51:17 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/aloestudios" type="application/rss+xml" /><item>
		<title>Pixel Precision with Diagnostic CSS</title>
		<link>http://aloestudios.com/2008/08/pixel-precision-with-diagnostic-css/</link>
		<comments>http://aloestudios.com/2008/08/pixel-precision-with-diagnostic-css/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 06:50:46 +0000</pubDate>
		<dc:creator>Andy Ford</dc:creator>
		
		<category><![CDATA[css]]></category>

		<category><![CDATA[diagnostic]]></category>

		<category><![CDATA[firebug]]></category>

		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://aloestudios.com/?p=129</guid>
		<description><![CDATA[By applying just 2 classes to the HTML element, you can place a design mockup behind a webpage to aid pixel precise development.]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a little CSS trick I started using a while ago that has really helped me to achieve pixel precision when converting Photoshop PSD (or Fireworks PNG or whatever) design comps into (X)HTML and CSS web standards goodness.</p>
<p>The idea is to take the page you&#8217;re developing in HTML and CSS and overlay it on top of the design mockup you&#8217;re working from. And you can do this inside of any browser. The idea borrows upon the spirit of &#8220;Diagnostic Styling&#8221; evangelized by Eric Meyer (<a title="Diagnostic Styling" href="http://meyerweb.com/eric/thoughts/2007/09/07/diagnostic-styling/">1</a>) (<a title="Diagnostic Styling (24 Ways)" href="http://24ways.org/2007/diagnostic-styling">2</a>) by using a few extra classes.</p>
<p>First I take the design file and save it (save for web) as a flat PNG-32 into a directory that&#8217;s easily accessed by the css file I&#8217;m developing.  Then I open the HTML page I&#8217;m developing with Firefox and open up Firebug. Via Firebug&#8217;s CSS editing window, I set the HTML element&#8217;s background-image property to the PNG design comp I just saved. Usually the BODY element will have some background property set that will obscure the HTML element, so I&#8217;ll set the BODY element&#8217;s opacity property to about 50% or so.</p>
<p>Now the original design comp will be showing through behind the rest of the HTML document.</p>
<p>To streamline the process a bit, I&#8217;ve created these CSS rules which can be dropped into any site&#8217;s CSS file:</p>
<p><code>html.bg { background-position: 50% 0; background-repeat: no-repeat; }<br />
html.bg body { filter:alpha(opacity=50); opacity: .5; }</code></p>
<p>And on a more per-project basis</p>
<p><code>html.bg-home { background-image: url(../img/mockup-home.png); }<br />
html.bg-about { background-image: url(../img/mockup-about.png); }</code></p>
<p>You can try it right now on this site by adding the &#8220;bg&#8221; and &#8220;bg-home&#8221; classes to the HTML element using Firebug.  As you can see, there&#8217;s a lot on my site that doesn&#8217;t really line up so well with my mockup (since this is my personal site, I&#8217;ve made quite a few adjustments in the CSS rather than going back to Photoshop). But I think it serves as a pretty good example since there are some things that do line perfectly and plenty that don&#8217;t.</p>
<p><a href="http://aloestudios.com/blog/wp-content/uploads/2008/08/aloe-studios-diagnostic-mockup.png"><img class="alignnone size-full wp-image-133" title="aloe-studios-diagnostic-mockup-sm" src="http://aloestudios.com/blog/wp-content/uploads/2008/08/aloe-studios-diagnostic-mockup-sm.png" alt="" width="600" height="254" /></a></p>
<h3>Benefits</h3>
<p>This technique will work in just about any browser. Just add the classes to the HTML element in your markup and you&#8217;ve got your mockup in the background. Having the mockup in the background also means that link rollovers stay intact. And you can still use Firebug as you normally would.</p>
<h3>Caveats</h3>
<p>IE 6 and 7 have some issues with the opacity filter and positioning so all elements may not be transparent.</p>
<p>Also, since this technique uses the HTML element to display the mockup as a background image, that means it will override any background you may have already set on the HTML element. Personally I probably only set backgrounds on the HTML element about 50-60% of the time and they&#8217;re usually pretty not too complex. I don&#8217;t see this as being much of a drawback, but it is worth stating.</p>
<h3>Why not just use Pixel Perfect or OverlayComp?</h3>
<p>If you haven&#8217;t seen it, there&#8217;s a really cool tool for Firefox called <a href="http://www.pixelperfectplugin.com/">Pixel Perfect</a> (more specifically, it&#8217;s a plugin for the Firebug extension) which allows you to overlay a design comp over the top of a web page you&#8217;re viewing in Firefox. This is an ingenious tool and I tip my hat to the Pixel Perfect developers.</p>
<p>What I personally don&#8217;t like about Pixel Perfect is that it adds the image file on top of everything effectively disabling your ability to use Firebug for on-page CSS editing. The demo video on their site looks like someone is actually using Firebug while an overlay is present, but I was <del datetime="2008-08-27T16:53:36+00:00">never</del> <ins datetime="2008-08-27T16:53:36+00:00">not</ins> able to get that to work <ins datetime="2008-08-27T16:53:36+00:00">at first because I had the &#8220;Hide overlay when inspecting&#8221; option turned on (Thanks to Pixel Perfect developer <a href="http://www.pixelperfectplugin.com/">Mike Buckley</a> for <a href="http://aloestudios.com/2008/08/pixel-precision-with-diagnostic-css/#comment-854">setting me straight</a>). So, like OverlayComp, inspecting elements is still very possible - just not accessible via right clicking on the web page.</ins> <del datetime="2008-08-27T16:53:36+00:00">Also, it&#8217;s</del> <ins datetime="2008-08-27T16:53:36+00:00">It is</ins> a Firebug plugin, so Firefox is the one and only browser it works in.</p>
<p><a href="http://code.google.com/p/shepherd-interactive/wiki/OverlayComp">OverlayComp</a> works similarly to Pixel Perfect in that it places your image over the top of the html. Inspecting elements in Firebug is still possible - just a little extra work. It requires adding javascript directly to your page with a script element, but it does work in all browsers.</p>
<p>At the end of the day, you&#8217;ve got to use the tool that works best for you.  I&#8217;d love to know how other CSS developers are approaching this and if there are any other tools available for this kind of thing.</p>
]]></content:encoded>
			<wfw:commentRss>http://aloestudios.com/2008/08/pixel-precision-with-diagnostic-css/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Dear Print Designer Doing Web Design,</title>
		<link>http://aloestudios.com/2008/08/dear-print-designer-doing-web-design/</link>
		<comments>http://aloestudios.com/2008/08/dear-print-designer-doing-web-design/#comments</comments>
		<pubDate>Mon, 25 Aug 2008 12:55:29 +0000</pubDate>
		<dc:creator>Andy Ford</dc:creator>
		
		<category><![CDATA[web design]]></category>

		<category><![CDATA[design]]></category>

		<category><![CDATA[photoshop]]></category>

		<category><![CDATA[print design]]></category>

		<guid isPermaLink="false">http://aloestudios.com/?p=115</guid>
		<description><![CDATA[A list of common mistakes I've seen with print designers delivering web design files. Not trying to poke fun, but trying to help designers transitioning from print to web.]]></description>
			<content:encoded><![CDATA[<p>Great graphic design and great typography will always be great graphic design and great typography no matter what the medium. And print design and web design are two mediums which have a great deal in common. But there are some differences in the mediums. Switching from print design to web design can reveal some limitations and constraints along with some new freedoms</p>
<p>I&#8217;ve worked almost exclusively in the field of web design (and development) and very little in print design. Not much as someone who &#8220;does design&#8221; but very heavily as someone who &#8220;implements designs&#8221; with (X)HTML and CSS. Over the years, I&#8217;ve seen patterns emerge with print designers doing web design. Little web design details that are often overlooked that don&#8217;t usually apply to print design.</p>
<p>I&#8217;d like to discuss some of the mistakes and oversights that seem to be common with print designers switching to web design. My intention is not to be rude or discouraging, but to be informative and provide a sort of &#8220;checklist&#8221; of common mistakes for print designers transitioning to web design and for the people like me who implement their designs. A lot (probably most) of the really amazing web designers came from a graphic design and/or print design before they did web design (<a href="http://jasonsantamaria.com/">Jason Santa Maria</a> is a shining example). So with a little time and patience, I think any talented print designer can become a great web designer.</p>
<h3>Resolution</h3>
<p>I have to mention this first because I&#8217;ve seen it a lot, and it&#8217;s pretty important. The web is a 72 pixels per inch world. Not 96. Not 300. Not 600. Seventy-two.</p>
<h3>Typography</h3>
<p>A lot of print designers aren&#8217;t aware of the limited web safe font palette. Luckily you can use techniques like <a href="http://wiki.novemberborn.net/sifr3/">sIFR</a> or <a href="http://facelift.mawhorter.net/">FLIR</a> to get any font you want, but that&#8217;s best suited for headlines or small bits of text and not really intended for paragraphs of body copy. You should still stick to web safe fonts for body copy.</p>
<p>Other typography related print designer faux pas I&#8217;ve come across are using Photoshop&#8217;s faux bold and/or faux italic. This can&#8217;t be done on the web - use the regular font-style controls. Another is relying on paragraph hyphenation - web browsers don&#8217;t support hyphenation (<a href="http://code.google.com/p/hyphenator/">possible workaround</a>). Also be very careful in using justified text. It can be done, but the results aren&#8217;t always great (<a href="http://jontangerine.com/">Jon Tan</a>&#8217;s site is one that does seem to pull off justified text quite well. His site is also worth mentioning for the amazing design, layout and typography as well as well written articles about design, layout, and typography ). Another thing to watch out for is messing with vertical and/or horizontal scale. There is a &#8220;font-stretch&#8221; CSS property, but has little or no support at the moment.</p>
<p>Another font flub I see is with font sizes. Or more specifically - half-sizes. Browsers can only display in increments of 1. So 13.5pt isn&#8217;t going to work. Round it up or down to the nearest whole number. Also, some print designers will use very small font sizes like 10 or 11 pixels for body copy. This is pretty hard to read on the web - especially for people with less than perfect vision.</p>
<h3>Viewport</h3>
<p>A lot of print designers neglect to account for the resizable nature of the browser viewport - probably because they&#8217;re used to a sheet of paper always being a specific size. They&#8217;ll often not spec what happens (with backgrounds, borders, etc) when the view port is wider than the provided design or if the design is to be centered or aligned left or right in the browser. Sometimes they also won&#8217;t account for the bottom of the page if the content doesn&#8217;t fill up the entire height of the view port.</p>
<p>Sometimes they may have a spotlight or some other type of effect in the background that clips off in the provided design, but you&#8217;ll need that background to resolve to some kind of neutral and/or tile-able pattern when the view port is larger vertically and/or horizontally than the provided design.</p>
<p>Think of the web as having a nearly infinite bleed.</p>
<h3>Vertical Pixel Precision and Vertical Grids</h3>
<p>You can do a lot of things with CSS, but sometimes there are elements in a design that rely too much on text filling up a precise vertical height. Usually this is in some sort of a columnar/grid context. But invariably, the marketing/communication folks will change that text 12 times before the site goes live. The vertical height of the actual text columns may not end up being the same and the integrity of the design could be compromised. This happens pretty easily with CMS sites.</p>
<p>Sometimes you&#8217;ll have an image next to some summary text and the text will be precisely the same height as the image. But what if that text was longer? Will it wrap around the image or keep a consistent columnar width? Not a big deal, but often not accounted for.</p>
<p>Another print designer tendency is to use specific page heights regardless of content. I can see how this could be a force of habit for a print designer. It is possible to implement precise height pages on the web, but it&#8217;s better to plan for content causing the page to stretch vertically and let go of the notion of precise vertical heights.</p>
<h3>(Non) Interaction</h3>
<p>A very common oversight is neglecting to specify link rollover and or &#8220;on&#8221; state colors/treatments. This can occasionally slip the minds of even very experienced web designers, but much more so with print designers transitioning to web design. From main navigation all the way down to body copy, it&#8217;s good to spec link states. You can put the rollover states in a hidden layer or layer group with &#8220;rollover&#8221; in the layer name so the person implementing the design knows what it&#8217;s for.</p>
<h3>PSD Layers</h3>
<h4>Get rid of the unused stuff</h4>
<p>Cutting out the cruft is very considerate. If there is a layer that&#8217;s not used in the design, then that layer doesn&#8217;t need to be in the delivered PSD. Unused layers just make the file size unnecessarily larger and make working with the file a little more confusing. Any hidden layers or layer groups that are in the delivered file should actually serve some purpose such as being rollover states or notes for the developer implementing the design. I don&#8217;t need to see all of the super high-res watermarked istockphoto images that you didn&#8217;t use.</p>
<h4>Group it. Name it</h4>
<p>This is not common (and probably has more to do with overall experience rather than preferred design medium), but I&#8217;ve seen some PSDs that don&#8217;t use layer groups or even layer names - this is a real pain to deal with! Give every layer and layer group a meaningful name - I don&#8217;t know what the hell &#8220;layer 47&#8243; is, but I can probably figure out what &#8220;divider lines&#8221; or &#8220;search box&#8221; or is.</p>
<h3>Miscellaneous</h3>
<ul>
<li>Web safe colors: some print designers will try to stick to web safe colors. This is an outdated concept (for most audiences) and we don&#8217;t need to worry about web safe colors anymore thankfully.</li>
<li>Fancy Forms: Some form elements - mostly select boxes (dropdowns), checkboxes, and radio buttons are a pain to style consistently in all the major browsers.  There are some javascript workarounds, so check with your developer before going too crazy.</li>
</ul>
<p>I think that about covers the most common mistakes I&#8217;ve encountered with design files delivered by print designers switching over to web design. So if you&#8217;re a print designer transitioning to web design, or if you&#8217;re someone who is working with a designer in that position, these are probably the most common things to watch out for.</p>
<p>This is also a very &#8220;blue-collar&#8221; list coming from the perspective of an XHTML/CSS coder who&#8217;s job it is to implement designs.  I&#8217;ve been exposed to a lot of great design by working with a lot of incredibly talented designers, but I do not have the proper design education to truely call myself a designer.  I think there could be another level to this discussion which I am not qualified to delve into; but a more theoretical design discussion about the theories and approaches to print design versus the theories and approaches to web design. Also, I have not touched the areas of usibility or accessibility which become much more important on the web.</p>
<h3>Updates</h3>
<p>Friend and fellow front-end developer, Mark Aplet, <a href="http://www.visual28.com/articles/tips-for-better-web-design">wrote about this very same topic</a> a couple months ago. We cover some of the same ground, but Mark&#8217;s well written post covers quite a bit and gets into some finer detail. If you found my post helpful in any way, you&#8217;re sure to dig Mark&#8217;s.</p>
]]></content:encoded>
			<wfw:commentRss>http://aloestudios.com/2008/08/dear-print-designer-doing-web-design/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Getting More Out of CSSEdit Part 2: Editing the Auto Completion Plist</title>
		<link>http://aloestudios.com/2008/08/getting-more-out-of-cssedit-part-2/</link>
		<comments>http://aloestudios.com/2008/08/getting-more-out-of-cssedit-part-2/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 07:02:47 +0000</pubDate>
		<dc:creator>Andy Ford</dc:creator>
		
		<category><![CDATA[css]]></category>

		<category><![CDATA[cssedit]]></category>

		<category><![CDATA[mac]]></category>

		<category><![CDATA[plist]]></category>

		<guid isPermaLink="false">http://aloestudios.com/?p=97</guid>
		<description><![CDATA[Editing the Auto Completion plist file in CSSEdit for more properties and custom values.]]></description>
			<content:encoded><![CDATA[<p>As awesome as <a href="http://macrabbit.com/cssedit/">CSSEdit</a> is, there&#8217;s always room for improvement. The auto completion feature for properties and values is brilliant, but one thing that bothered me was the absence of a few properties and values.  Luckily these properties and values are stored in a .plist file.  What&#8217;s the big whoop?  Well, you can edit that plist file to get (almost) exactly what you want from the auto completion dropdown. <strong>Warning: Make a backup of your plist before you go willy nilly mucking with it.  I cannot be held responsible if you mangle your plist!  Please read the notes at the end of the post regarding plist editing before you edit your plist.  Always make a backup!<br />
</strong></p>
<p>So, where the hell is this file? It&#8217;s inside of the CSSEdit.app package.  This can be found in Applications - CSSEdit.app (right click and select &#8220;Show Package Contents&#8221;) - Contents - Resources - AutoCompletion.plist. (<strong>Remember: do not edit this plist until you have made a backup of it!</strong>)</p>
<p><img class="alignnone size-full wp-image-98" title="cssedit-show-contents" src="http://aloestudios.com/blog/wp-content/uploads/2008/08/cssedit-show-contents.png" alt="" width="464" height="204" /></p>
<p><img class="alignnone size-medium wp-image-99" title="cssedit-resources" src="http://aloestudios.com/blog/wp-content/uploads/2008/08/cssedit-resources.png" alt="" width="296" height="195" /></p>
<p><img class="alignnone size-full wp-image-100" title="cssedit-resources-plist" src="http://aloestudios.com/blog/wp-content/uploads/2008/08/cssedit-resources-plist.png" alt="" width="322" height="380" /></p>
<p>Make sure CSSEdit is not running and then right click on &#8220;AutoCompletion.plist&#8221; and select &#8220;Open With - Property List Editor.app&#8221;.  On Leopard (if my memory serves me correctly), you&#8217;ll have to have the Developer Tools/Xcode Tools installed from the Leopard DVD. Otherwise you can edit the plist as straight XML with a text editor like TextMate or TextEdit, but this tutorial uses the Property List Editor.</p>
<p><img class="alignnone size-full wp-image-101" title="cssedit-open-with-plist-editor" src="http://aloestudios.com/blog/wp-content/uploads/2008/08/cssedit-open-with-plist-editor.png" alt="" width="500" height="175" /></p>
<p>Once the Property List Editor is fired up, you should see something similar to the screen shot below:</p>
<p><img class="alignnone size-full wp-image-102" title="cssedit-plist-editor1" src="http://aloestudios.com/blog/wp-content/uploads/2008/08/cssedit-plist-editor1.png" alt="" width="489" height="366" /></p>
<p>Click on the arrow next to &#8220;Root&#8221; to expand it, and then do the same to expand one of the CSS properties.  In the example below, I&#8217;ve expanded the property &#8220;background&#8221;.  As you can see I&#8217;ve already added some custom values to the &#8220;background&#8221; property such as  &#8216;url(../images/)&#8217;, &#8216;url()&#8217;, and &#8216;url(i/)&#8217;. These are all values I frequently use within a few different development environments.  You can add a new value to a property by having the property selected and then clicking the &#8220;New Child&#8221; button.  Once you&#8217;re inside of a property and adding values, the &#8220;New Child&#8221; button will change to &#8220;New Sibling&#8221; so you can add additional values within the same property. When you&#8217;re done, dont forget to Save.</p>
<p><img class="alignnone size-full wp-image-103" title="cssedit-plist-editor2" src="http://aloestudios.com/blog/wp-content/uploads/2008/08/cssedit-plist-editor2.png" alt="" width="485" height="269" /></p>
<p>The next example shows one of my motivating factors for editing the CSSEdit auto completion plist in the first place.  I like to use &#8220;text-indent: -9999px;&#8221; for <a href="http://phark.typepad.com/phark/2003/08/accessible_imag.html">Rundle/Phark image replacement</a>, so I added &#8220;-9999px&#8221; as a possible value for the &#8220;text-indent&#8221; property.  Now all I have to type is &#8220;-&#8221; and hit &#8220;semicolon&#8221; (or &#8220;enter&#8221;) and I get &#8220;-9999px;&#8221; (or &#8220;-9999px&#8221;). Sweet.</p>
<p><img class="alignnone size-full wp-image-104" title="cssedit-plist-editor3" src="http://aloestudios.com/blog/wp-content/uploads/2008/08/cssedit-plist-editor3.png" alt="" width="500" height="175" /></p>
<p>Below is an example of some custom values that I added to the &#8220;background-image&#8221; property now showing up in the auto completion dropdown:</p>
<p><img class="alignnone size-full wp-image-106" title="cssedit-auto-complete" src="http://aloestudios.com/blog/wp-content/uploads/2008/08/cssedit-auto-complete.png" alt="" width="380" height="121" /></p>
<h3>Properties and Values worth adding</h3>
<p>If you&#8217;re like me and have the *pleasure* of doing a lot of IE6 debugging, then you might want to add &#8220;zoom&#8221; as one of your properties (&#8221;z-index&#8221; will still be the first auto complete option when you just type &#8220;z&#8221; so it&#8217;s pretty harmless).  Also &#8220;inline-block&#8221; (which FF3 now supports) as a value for the &#8220;display&#8221; property is handy for IE6 damage control.</p>
<p>Other values I&#8217;ve added:</p>
<ul>
<li>for &#8220;background&#8221; and &#8220;background-image&#8221;: &#8216;url(../images/)&#8217;, &#8216;url()&#8217;, &#8216;url(i/)&#8217;, &#8216;url(../img/)&#8217; - (your preferences may vary)</li>
<li>for &#8220;font-family&#8221;: &#8216;Arial&#8217;, &#8216;Helvetica&#8217;, &#8216;Georgia&#8217; (see notes at end of post regarding (not) using spaces)</li>
<li>for &#8220;font-size&#8221;: &#8216;62.5%&#8217;</li>
<li>for &#8220;text-indent&#8221;: &#8216;-9999px&#8217;</li>
</ul>
<p>You could really go nuts adding all of the CSS3 properties and values that CSSEdit lacks - not to mention browser specific properties and values for Safari/WebKit, Opera, and Firefox.  Since CSSEdit uses webkit for its on-the-fly preview, it seems a natual fit to at least add webkit properties (perhaps as an option) to the next update of CSSEdit.</p>
<h3>Disclaimers and Notices and Warnings - Oh My!</h3>
<p><strong>Always make a backup before editing your plist!</strong></p>
<p>I&#8217;m no expert on plists, but it seems that things will go haywire if you use spaces.  I tried adding &#8220;transparent url(../images/) no-repeat 0 0&#8243; as a possible value for the &#8220;background&#8221; property and things went wonky.  I did some digging and haven&#8217;t found The Dummy&#8217;s Guide to Editing Plist Files that I had hoped for, but I&#8217;m pretty certain that space characters are a plist no-no.  The same may or may not be true about quotes and/or double quotes but I&#8217;m not entirely sure.  Perhaps there is a delimiter that can be used to safely escape spaces and other special characters?  If anyone can shed some light on the do&#8217;s and dont&#8217;s of editing plist files, I&#8217;d be grateful!</p>
]]></content:encoded>
			<wfw:commentRss>http://aloestudios.com/2008/08/getting-more-out-of-cssedit-part-2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MLA Style Outlines with CSS</title>
		<link>http://aloestudios.com/2008/08/mla-style-outlines-with-css/</link>
		<comments>http://aloestudios.com/2008/08/mla-style-outlines-with-css/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 13:12:42 +0000</pubDate>
		<dc:creator>Andy Ford</dc:creator>
		
		<category><![CDATA[css]]></category>

		<category><![CDATA[mla]]></category>

		<category><![CDATA[outline]]></category>

		<guid isPermaLink="false">http://aloestudios.com/?p=89</guid>
		<description><![CDATA[A few weeks ago I was looking at making some improvements to my default stylesheet with regards to nested unordered lists and nested ordered lists. I didn&#8217;t want the same bullet style (list-style) for each successively nested list.
So for unordered lists (UL) I went with disc, circle, square. And for ordered lists (OL), I went [...]]]></description>
			<content:encoded><![CDATA[<p>A few weeks ago I was looking at making some improvements to my default stylesheet with regards to nested unordered lists and nested ordered lists. I didn&#8217;t want the same bullet style (list-style) for each successively nested list.</p>
<p>So for unordered lists (UL) I went with disc, circle, square. And for ordered lists (OL), I went with decimal, lower-alpha, lower-roman. Here&#8217;s the CSS I ended up with for nested lists:</p>

<div class="wp_syntax"><div class="code"><pre class="css css" style="font-family:monospace;">ul <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">disc</span>; <span style="color: #00AA00;">&#125;</span>
ul ul <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">circle</span>; <span style="color: #00AA00;">&#125;</span>
ul ul ul <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">square</span>; <span style="color: #00AA00;">&#125;</span>
&nbsp;
ol <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">decimal</span>; <span style="color: #00AA00;">&#125;</span>
ol ol <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">lower-alpha</span>; <span style="color: #00AA00;">&#125;</span>
ol ol ol <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">lower-roman</span>; <span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>The bullets for unordered lists are admittedly a bit arbitrary, but I did a little research to arrive at the list-style for nested ordered lists. I dusted off the MLA writing style manual and had a look at some document outlines and thus arrived at this CSS:</p>

<div class="wp_syntax"><div class="code"><pre class="css css" style="font-family:monospace;">ol<span style="color: #6666ff;">.outline</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">upper-roman</span>; <span style="color: #00AA00;">&#125;</span>
ol<span style="color: #6666ff;">.outline</span> ol <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">upper-alpha</span>; <span style="color: #00AA00;">&#125;</span>
ol<span style="color: #6666ff;">.outline</span> ol ol <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">decimal</span>; <span style="color: #00AA00;">&#125;</span>
ol<span style="color: #6666ff;">.outline</span> ol ol ol <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">lower-alpha</span>; <span style="color: #00AA00;">&#125;</span>
ol<span style="color: #6666ff;">.outline</span> ol ol ol ol <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">lower-roman</span>; <span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Since most situations dictate that an ordered list actually use numbers (decimal), I opted to start my default  OL styles at decimal and follow with the MLA styles from there, so I ended up with: decimal, lower-alpha, lower-roman. For my default stylesheet, I didn&#8217;t go beyond 3 levels of lists.  In general, I&#8217;ve not seen sites nest lists deeper than 2 levels very often so I feel accounting for 3 levels is a relatively adequate catch-all.</p>
<p>Personally, I haven&#8217;t yet had the need to use MLA outline style for nested ordered lists, but perhaps I - or someone - will need it at some point.</p>
]]></content:encoded>
			<wfw:commentRss>http://aloestudios.com/2008/08/mla-style-outlines-with-css/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Getting More Out of CSSEdit Part 1: Groups</title>
		<link>http://aloestudios.com/2008/08/getting-more-out-of-cssedit-part-1/</link>
		<comments>http://aloestudios.com/2008/08/getting-more-out-of-cssedit-part-1/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 05:33:41 +0000</pubDate>
		<dc:creator>Andy Ford</dc:creator>
		
		<category><![CDATA[css]]></category>

		<category><![CDATA[cssedit]]></category>

		<category><![CDATA[mac]]></category>

		<category><![CDATA[workflow]]></category>

		<guid isPermaLink="false">http://aloestudios.com/?p=76</guid>
		<description><![CDATA[Changing the default comment style for groups in CSSEdit.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.viget.com/about/team/rsoule">Rob Soule</a> from <a href="http://www.viget.com/">Viget Labs</a> posted some ideas on <a href="http://www.viget.com/inspire/organizing-your-stylesheet-using-css-edit/">organizing your stylesheet using CSSEdit</a> back in May.  Specifically regarding the grouping functionality in <a href="http://macrabbit.com/cssedit/">CSSEdit</a> and the Viget approach to nested groups.  It&#8217;s a simple, yet very logical approach in which they put an equals sign in front of parent @group names and a dash in front of child @group names.  Personally I achieve the same thing by putting the names of parent group in all caps and the names of child groups in title case. Either way, there are a lot of little things you can do to further organize your CSS files with CSSEdit.</p>
<p>I just recently came across Rob&#8217;s post and it reminded me that I&#8217;ve been meaning to share some of my CSSEdit tips and hacks for awhile now.  So here goes&#8230;</p>
<h3>Making Groups More Distinguished</h3>
<p>The grouping feature in CSSEdit is really fantastic. If you&#8217;re not using CSSEdit, the group comments are just harmless little comments, but they&#8217;re not all that helpful.  In my opinion they&#8217;re easy to miss when you&#8217;re skimming through a CSS file whether you&#8217;re in CSSEdit or not.</p>
<p><a href="http://aloestudios.com/blog/wp-content/uploads/2008/08/cssedit-groups-default.png"><img class="alignnone size-full wp-image-77" title="cssedit-groups-default" src="http://aloestudios.com/blog/wp-content/uploads/2008/08/cssedit-groups-default.png" alt="" width="380" height="490" /></a></p>
<p>The screenshot above shows the default group comments.  Below is the approach that I&#8217;ve been using to help differentiate groups:</p>
<p><a href="http://aloestudios.com/blog/wp-content/uploads/2008/08/cssedit-groups-edit1.png"><img class="alignnone size-full wp-image-79" title="cssedit-groups-edit1" src="http://aloestudios.com/blog/wp-content/uploads/2008/08/cssedit-groups-edit1.png" alt="" width="380" height="490" /></a></p>
<p>Whether you&#8217;re using CSSEdit or any other text editor, you can see the groupings much better now with the added equal signs and dashes.  I chose equal signs and five extra characters to give the starting group comments more visual weight than the ending group comments.  I also add the group name (in this case &#8220;Forms&#8221;) to the ending comment as I find it quite helpful to know what exactly is ending.</p>
<p>Now I&#8217;m sure some people will just see this as adding extra weight to their CSS files. I can&#8217;t really deny that, but when you&#8217;re working in an environment where your CSS may change hands and will likely need occassional maintenance over time, it&#8217;s a trade off I&#8217;m willing to accept.</p>
<p>I&#8217;d love it if CSSEdit had a preferences setting for adjusting the default @group and @end comments, but I&#8217;ve yet to find it or figure out a hack. I&#8217;ve also sent an email to the folks at MacRabbit with my suggestion and am waiting to hear back.</p>
]]></content:encoded>
			<wfw:commentRss>http://aloestudios.com/2008/08/getting-more-out-of-cssedit-part-1/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Tasty Redesign</title>
		<link>http://aloestudios.com/2008/07/tasty-redesign/</link>
		<comments>http://aloestudios.com/2008/07/tasty-redesign/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 20:28:49 +0000</pubDate>
		<dc:creator>Andy Ford</dc:creator>
		
		<category><![CDATA[web design]]></category>

		<category><![CDATA[delicious]]></category>

		<category><![CDATA[design]]></category>

		<category><![CDATA[social bookmarking]]></category>

		<guid isPermaLink="false">http://aloestudios.com/?p=58</guid>
		<description><![CDATA[I'm still getting used to the big change, but I think the Delicious.com redesign is pretty sweet.  They're also calling themselves "Delicious.com" rather than "del.cio.us" - smart move, I can never type that correctly the first time...]]></description>
			<content:encoded><![CDATA[<p><a href="http://delicious.com"><img class="size-full wp-image-59 alignnone" title="delicious-redesign-200807" src="http://aloestudios.com/blog/wp-content/uploads/2008/07/delicious-redesign-200807.png" alt="Delicious.com redesign homepage" width="500" height="281" /></a></p>
<p>I&#8217;m still getting used to the big change, but I think the Delicious.com redesign is pretty sweet.  They&#8217;re also calling themselves &#8220;Delicious.com&#8221; rather than &#8220;del.cio.us&#8221; - smart move, I can never type that correctly the first time.  Their <a href="http://blog.delicious.com/blog/2008/07/oh-happy-day.html">blog post</a> has a neat video showing the old design morph into the new design</p>
]]></content:encoded>
			<wfw:commentRss>http://aloestudios.com/2008/07/tasty-redesign/feed/</wfw:commentRss>
		</item>
		<item>
		<title>At last, a Logo</title>
		<link>http://aloestudios.com/2008/06/at-last-a-logo/</link>
		<comments>http://aloestudios.com/2008/06/at-last-a-logo/#comments</comments>
		<pubDate>Thu, 05 Jun 2008 15:33:51 +0000</pubDate>
		<dc:creator>Andy Ford</dc:creator>
		
		<category><![CDATA[Aloe Studios]]></category>

		<category><![CDATA[design]]></category>

		<category><![CDATA[logos]]></category>

		<guid isPermaLink="false">http://www.aloestudios.com/blog/?p=30</guid>
		<description><![CDATA[A new logo for Aloe Studios.  About time]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img src="http://aloestudios.com/img/logo_001.png" alt="Aloe Studios logo" /></p>
<p style="text-align: left;">After much banging of head against wall, I&#8217;ve finally crafted a new logo (above).  Hooray!  I never was crazy about the previous version (below), but I had to have *something*.  The new one is much more printer friendly being only two colors and less gimmicky without tricksy transparencies n such.  Compare to the previous monstrosity:</p>
<p style="text-align: center;"><img src="http://aloestudios.com/img/aloe-logo_128.gif" alt="Yuck!" width="288" height="128" /></p>
]]></content:encoded>
			<wfw:commentRss>http://aloestudios.com/2008/06/at-last-a-logo/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Downtime</title>
		<link>http://aloestudios.com/2008/04/downtime/</link>
		<comments>http://aloestudios.com/2008/04/downtime/#comments</comments>
		<pubDate>Fri, 04 Apr 2008 20:15:50 +0000</pubDate>
		<dc:creator>Andy Ford</dc:creator>
		
		<category><![CDATA[Aloe Studios]]></category>

		<category><![CDATA[blogs]]></category>

		<category><![CDATA[design]]></category>

		<guid isPermaLink="false">http://www.aloestudios.com/blog/?p=29</guid>
		<description><![CDATA[A bit of time away from the blog while searching for design inspiration.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m working on a re-design of the site.  So things will be looking a little sparse around here for a bit.  I plan to have a proper re-launch around 4/20 (insert Bevis and Butthead chuckle here).</p>
<p>I&#8217;ve already upgraded to WordPress 2.5 but the actual visual redesign is mostly still in my head (in fact, some of it hasn&#8217;t even entered my head yet!).  I&#8217;ve been struggling with a concept for the Aloe Studios logo as it seems everyone and their grandmother has a logo with a leaf in it nowadays.  And I&#8217;m also still undecided on a look and feel for the site: wild west? newspaper? sleek and modern? hand-drawn? formal? casual? paper? plastic? <a href="http://www.aloestudios.com/blog/2008/downtime/">What do you think</a>?</p>
<p>Once the design is in place I&#8217;ll actually return to semi-regular blog posts.  Once a week is my minimum target. 3 times a week is what I&#8217;d really like to aim for, even if some posts are super short.</p>
]]></content:encoded>
			<wfw:commentRss>http://aloestudios.com/2008/04/downtime/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Web 2.0 is NOT a Design Aesthetic</title>
		<link>http://aloestudios.com/2008/01/web-20-is-not-a-design-aesthetic/</link>
		<comments>http://aloestudios.com/2008/01/web-20-is-not-a-design-aesthetic/#comments</comments>
		<pubDate>Mon, 14 Jan 2008 21:14:31 +0000</pubDate>
		<dc:creator>Andy Ford</dc:creator>
		
		<category><![CDATA[web2.0]]></category>

		<category><![CDATA[design]]></category>

		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://www.aloestudios.com/blog/2008/web-20-is-not-a-design-aesthetic/</guid>
		<description><![CDATA[Web 2.0 is a description of function, not a description of form.]]></description>
			<content:encoded><![CDATA[<p>Please see slides 69 through 73 if nothing else.</p>
<div id="__ss_160068" style="width: 425px; text-align: left;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="355" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://static.slideshare.net/swf/ssplayer2.swf?doc=fowd-november-2007-1194556763131314-1" /><embed type="application/x-shockwave-flash" width="425" height="355" src="http://static.slideshare.net/swf/ssplayer2.swf?doc=fowd-november-2007-1194556763131314-1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<div style="font-size: 11px; font-family: tahoma,arial; height: 26px; padding-top: 2px;"><a href="http://www.slideshare.net/?src=embed"><img style="border:0px none;margin-bottom:-5px" src="http://static.slideshare.net/swf/logo_embd.png" alt="SlideShare" /></a> | <a title="View 'FOWD November 2007' on SlideShare" href="http://www.slideshare.net/elliotjaystocks/fowd-november-2007">View</a> | <a href="http://www.slideshare.net/upload">Upload your own</a></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://aloestudios.com/2008/01/web-20-is-not-a-design-aesthetic/feed/</wfw:commentRss>
		</item>
		<item>
		<title>My recommendation to the W3C - Centralized Web Fonts</title>
		<link>http://aloestudios.com/2007/09/my-recommendation-to-the-w3c-centralized-web-fonts/</link>
		<comments>http://aloestudios.com/2007/09/my-recommendation-to-the-w3c-centralized-web-fonts/#comments</comments>
		<pubDate>Tue, 18 Sep 2007 19:04:29 +0000</pubDate>
		<dc:creator>Andy Ford</dc:creator>
		
		<category><![CDATA[web standards]]></category>

		<category><![CDATA[css]]></category>

		<category><![CDATA[typography]]></category>

		<guid isPermaLink="false">http://www.aloestudios.com/blog/2007/my-recommendation-to-the-w3c-centralized-web-fonts/</guid>
		<description><![CDATA[I throw out an idea for a centralized place for web-based fonts.]]></description>
			<content:encoded><![CDATA[<p>A List Apart recently published an article by Håkon Wium Lie titled <a title="CSS at Ten: The Next Big Thing - Håkon Wium Lie (A List Apart)" href="http://http://www.alistapart.com/articles/cssatten/" target="_blank">CSS @ Ten: The Next Big Thing</a>. In this article, Håkon discusses a potential future method of loading fonts via css from specified URLs.</p>
<p>The css goes something like this:<br />
<code>@font-face {    font-family: "Kimberley";<br />
src: url(http://www.princexml.com/fonts/larabie/kimberle.ttf) format("truetype");<br />
}<br />
h1 { font-family: "Kimberley", sans-serif }</code></p>
<p>And there you have &#8220;web fonts.&#8221;  Pretty simple.  Pretty cool.  The (potential) problems are security and legality.  Security because who knows what might happen to any one of the multiple web font URLs you might be linking to.  And legality because potentially any schmuck with a web server could post pirated fonts.</p>
<h3>My Recommendation</h3>
<p>As much as I&#8217;m in favor of web fonts, I can see that the problems of security and legality are pretty serious.  So what I recommend is a centralized Web Font Server and some sort of committee or consortium to oversee which fonts get included in the Web Font Library.</p>
<p>This is a level of bureaucracy and centralization that I&#8217;m sure some won&#8217;t be comfortable with, but I see it as a very viable alternative to the current recommendation.  The committee would have the final say as to what fonts are included and could also make recommendations on minimum font sizes for more decorative fonts.</p>
<p>I&#8217;d like to see a system where font designers could submit their fonts for inclusion in the library, and the public (as well as the committee) could be involved in the selection process.   Perhaps some whiz could even whip up some software that could detect suspected knock-offs of licensed non-free fonts.</p>
<p>Off course, this is a utopian vision.  There&#8217;s no doubt in my mind that the committee could bottleneck with their selection process.  And there will be scores of mad-at-the-world cry babies when their font submissions are rejected for inclusion to the web font library.  You&#8217;ll always have the folks who think allowing more fonts is a bad idea (Comic Sans, anyone?).  And of course getting some browser manufacturers (IE) on board may be challenging.</p>
<p>I also wonder if centralizing the web fonts might mean less code in the css.  At first I thought that it could be as simple as no change to the code, and just a change in the browser&#8217;s handling of the css whereby fonts are searched for on the local machine first, and then on the web font server if necessary.  In theory this could still work, but it leaves open the potential for lots of calls back to the web font server if the css is sloppy.</p>
<p>Next I thought that perhaps all fonts on the web font server could have something specific in their filenames such as pre-pending  &#8220;WFL_&#8221; (for Web Font Library) to the front of the filename.  But that is a slippery slope, as some goofballs will inevitably distribute fonts with those names and install them via a virus/worm etcetera (these virus fonts would inevitably have all kinds of inappropriate imagery in them).  So perhaps they could be denoted in  a different way - maybe with something as simple as adding brackets around the names or just using a character not permitted in filenames.</p>
<p>Maybe simply <code>{ font-family: [WFL:fontname], fontname; }</code> &#8230; Perhaps it&#8217;s best decided by people smarter than me!</p>
<p>I don&#8217;t know anything about browser programming, but I can&#8217;t imagine it would be too difficult to add this functionality to a browser with a minor update.</p>
<p>So that&#8217;s my recommendation to the W3C or anyone who will listen.  If you like my idea, hate my idea, or have your own idea - I encourage you to post a comment on the original A List Apart article: <a title="CSS at Ten: The Next Big Thing - Håkon Wium Lie (A List Apart)" href="http://http://www.alistapart.com/articles/cssatten/" target="_blank">CSS @ Ten: The Next Big Thing</a>.  If you don&#8217;t feel like signing up for A List Apart then leave a comment here (but if you read this, then you really should be signed up at A List Apart!)</p>
]]></content:encoded>
			<wfw:commentRss>http://aloestudios.com/2007/09/my-recommendation-to-the-w3c-centralized-web-fonts/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
