<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Tidy up your stylesheets</title>
	<atom:link href="http://www.devlounge.net/design/tidy-up-your-stylesheets/feed" rel="self" type="application/rss+xml" />
	<link>http://www.devlounge.net/design/tidy-up-your-stylesheets</link>
	<description>Design, Develop, and Grow</description>
	<lastBuildDate>Wed, 08 Feb 2012 09:03:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Review of PSD2HTML: PSD to HTML Service &#124; Devlounge</title>
		<link>http://www.devlounge.net/design/tidy-up-your-stylesheets/comment-page-1#comment-180679</link>
		<dc:creator>Review of PSD2HTML: PSD to HTML Service &#124; Devlounge</dc:creator>
		<pubDate>Thu, 03 Sep 2009 16:30:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.devlounge.net/?p=2319#comment-180679</guid>
		<description>[...] code was nice and clean- I always appreciate commented code- and the CSS, while not necessarily as organized as my own, was tidy and easy to understand. And here&#8217;s a side-by-side comparison of the original PSD [...]</description>
		<content:encoded><![CDATA[<p>[...] code was nice and clean- I always appreciate commented code- and the CSS, while not necessarily as organized as my own, was tidy and easy to understand. And here&#8217;s a side-by-side comparison of the original PSD [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WEB 3.0 &#187; Blog Archive &#187; ¿Así que querías saber de CSS?</title>
		<link>http://www.devlounge.net/design/tidy-up-your-stylesheets/comment-page-1#comment-178968</link>
		<dc:creator>WEB 3.0 &#187; Blog Archive &#187; ¿Así que querías saber de CSS?</dc:creator>
		<pubDate>Sat, 18 Apr 2009 01:17:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.devlounge.net/?p=2319#comment-178968</guid>
		<description>[...] Tidy Up Your Stylesheets - Lorraine Nepomuceno New! [...]</description>
		<content:encoded><![CDATA[<p>[...] Tidy Up Your Stylesheets &#8211; Lorraine Nepomuceno New! [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pages tagged "tidy"</title>
		<link>http://www.devlounge.net/design/tidy-up-your-stylesheets/comment-page-1#comment-178701</link>
		<dc:creator>Pages tagged "tidy"</dc:creator>
		<pubDate>Sat, 28 Mar 2009 23:07:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.devlounge.net/?p=2319#comment-178701</guid>
		<description>[...] bookmarks tagged tidyHave you been ripped off by the Video Professor recently? Tidy up your stylesheets &#124; Devlounge&#160;saved by 4 others  &#160;&#160;&#160;&#160;potheadpotty bookmarked on 03/28/09 &#124; [...]</description>
		<content:encoded><![CDATA[<p>[...] bookmarks tagged tidyHave you been ripped off by the Video Professor recently? Tidy up your stylesheets | Devlounge&nbsp;saved by 4 others  &nbsp;&nbsp;&nbsp;&nbsp;potheadpotty bookmarked on 03/28/09 | [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Faulds</title>
		<link>http://www.devlounge.net/design/tidy-up-your-stylesheets/comment-page-1#comment-177840</link>
		<dc:creator>John Faulds</dc:creator>
		<pubDate>Wed, 14 Jan 2009 12:28:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.devlounge.net/?p=2319#comment-177840</guid>
		<description>&lt;blockquote&gt;there is very little chance of pulling one’s hair out while wondering why that font won’t change size or begging that sidebar to please, please move 20 pixels to the right&lt;/blockquote&gt;

Use Firebug; keep your hair. ;)</description>
		<content:encoded><![CDATA[<blockquote><p>there is very little chance of pulling one’s hair out while wondering why that font won’t change size or begging that sidebar to please, please move 20 pixels to the right</p></blockquote>
<p>Use Firebug; keep your hair. <img src='http://www.devlounge.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Hayes</title>
		<link>http://www.devlounge.net/design/tidy-up-your-stylesheets/comment-page-1#comment-177830</link>
		<dc:creator>Ben Hayes</dc:creator>
		<pubDate>Tue, 13 Jan 2009 10:30:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.devlounge.net/?p=2319#comment-177830</guid>
		<description>I always use headed sections in my stylesheets. The problem often then becomes deciding whether a rule goes in one section or another. Some styles are clearly global, like setting the default font and line-height. Others can easily be assigned to a particular section - say the padding on #content or #footer. But what about making a font tweak in the #footer? You might want to put that in the #footer section, but what if that style is best shared between #header and #footer because it applies to both? And there&#039;s something to be said for having all typography styles in the same place, so it&#039;s easy to make global changes to the typography - but that takes a lot of discipline. In practice I think you&#039;ll always end up relying on &#039;find&#039; in your editor.</description>
		<content:encoded><![CDATA[<p>I always use headed sections in my stylesheets. The problem often then becomes deciding whether a rule goes in one section or another. Some styles are clearly global, like setting the default font and line-height. Others can easily be assigned to a particular section &#8211; say the padding on #content or #footer. But what about making a font tweak in the #footer? You might want to put that in the #footer section, but what if that style is best shared between #header and #footer because it applies to both? And there&#8217;s something to be said for having all typography styles in the same place, so it&#8217;s easy to make global changes to the typography &#8211; but that takes a lot of discipline. In practice I think you&#8217;ll always end up relying on &#8216;find&#8217; in your editor.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Niels Matthijs</title>
		<link>http://www.devlounge.net/design/tidy-up-your-stylesheets/comment-page-1#comment-177828</link>
		<dc:creator>Niels Matthijs</dc:creator>
		<pubDate>Tue, 13 Jan 2009 08:24:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.devlounge.net/?p=2319#comment-177828</guid>
		<description>While there are some useful tips here, I think indenting is not a good idea when writing a stylesheet, though it depends on how you organize it in the first place. I like writing all my declarations belonging to a selector on one line. This can become quite long in length, so indenting actually sends part of my css off the screen.

I myself usually use three levels of headings. One for main sections in my css file, one for components and one for component variants. Probably better illustrated with a picture:

http://users.telenet.be/onderhond/css-file-structure.png

Anyway, apart from the clean look it also helps with finding elements even without using firebug and other tools. It makes your css files more predictable and easier to work with for third parties.

Good article.</description>
		<content:encoded><![CDATA[<p>While there are some useful tips here, I think indenting is not a good idea when writing a stylesheet, though it depends on how you organize it in the first place. I like writing all my declarations belonging to a selector on one line. This can become quite long in length, so indenting actually sends part of my css off the screen.</p>
<p>I myself usually use three levels of headings. One for main sections in my css file, one for components and one for component variants. Probably better illustrated with a picture:</p>
<p><a href="http://users.telenet.be/onderhond/css-file-structure.png" rel="nofollow">http://users.telenet.be/onderhond/css-file-structure.png</a></p>
<p>Anyway, apart from the clean look it also helps with finding elements even without using firebug and other tools. It makes your css files more predictable and easier to work with for third parties.</p>
<p>Good article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Max Design - standards based web design, development and training &#187; Some links for light reading (13/1/09)</title>
		<link>http://www.devlounge.net/design/tidy-up-your-stylesheets/comment-page-1#comment-177825</link>
		<dc:creator>Max Design - standards based web design, development and training &#187; Some links for light reading (13/1/09)</dc:creator>
		<pubDate>Mon, 12 Jan 2009 22:26:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.devlounge.net/?p=2319#comment-177825</guid>
		<description>[...] Tidy up your stylesheets [...]</description>
		<content:encoded><![CDATA[<p>[...] Tidy up your stylesheets [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shirley</title>
		<link>http://www.devlounge.net/design/tidy-up-your-stylesheets/comment-page-1#comment-177819</link>
		<dc:creator>Shirley</dc:creator>
		<pubDate>Mon, 12 Jan 2009 02:56:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.devlounge.net/?p=2319#comment-177819</guid>
		<description>Um.. I hate tabs.

I don&#039;t like inflating code and remove whitespace wherever I can. Besides, its easier to look at things without tabs, as you can see more without scrolling.

For projects, I usually have nice little sections. I don&#039;t often use titles unless I am handing something off to someone else that I haven&#039;t worked with because my names for IDs and Classes are obvious. For example, navigation might be #nav. Sidebar is #sidebar. etc...

And in the CSS on my site, I&#039;ve removed all whitespace. So it&#039;s a bit scary to look at. Fortunately, I am very familiar with it. And a simply &#039;find&#039; enables me go to whatever I am looking for.

As for a master stylesheet, I think that I will start to employ that. I get completely irritated when someone goes in and pokes around in code and destroys the few things that they should NEVER touch. So a master stylesheet would be great for separating &quot;DON&#039;T EDIT!!!&quot; from &quot;Can Edit&quot;. haha. ...definitely a good idea.

Nice tips.</description>
		<content:encoded><![CDATA[<p>Um.. I hate tabs.</p>
<p>I don&#8217;t like inflating code and remove whitespace wherever I can. Besides, its easier to look at things without tabs, as you can see more without scrolling.</p>
<p>For projects, I usually have nice little sections. I don&#8217;t often use titles unless I am handing something off to someone else that I haven&#8217;t worked with because my names for IDs and Classes are obvious. For example, navigation might be #nav. Sidebar is #sidebar. etc&#8230;</p>
<p>And in the CSS on my site, I&#8217;ve removed all whitespace. So it&#8217;s a bit scary to look at. Fortunately, I am very familiar with it. And a simply &#8216;find&#8217; enables me go to whatever I am looking for.</p>
<p>As for a master stylesheet, I think that I will start to employ that. I get completely irritated when someone goes in and pokes around in code and destroys the few things that they should NEVER touch. So a master stylesheet would be great for separating &#8220;DON&#8217;T EDIT!!!&#8221; from &#8220;Can Edit&#8221;. haha. &#8230;definitely a good idea.</p>
<p>Nice tips.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lorraine Nepomuceno</title>
		<link>http://www.devlounge.net/design/tidy-up-your-stylesheets/comment-page-1#comment-177811</link>
		<dc:creator>Lorraine Nepomuceno</dc:creator>
		<pubDate>Sat, 10 Jan 2009 09:43:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.devlounge.net/?p=2319#comment-177811</guid>
		<description>Nick, thanks- a Table of Contents on every stylesheet would definitely make a lot of designers happier :-)

Chris- that one-line is excellent indeed, and one I use a lot. But many times I don&#039;t like what it does to my form styles.</description>
		<content:encoded><![CDATA[<p>Nick, thanks- a Table of Contents on every stylesheet would definitely make a lot of designers happier <img src='http://www.devlounge.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Chris- that one-line is excellent indeed, and one I use a lot. But many times I don&#8217;t like what it does to my form styles.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.devlounge.net/design/tidy-up-your-stylesheets/comment-page-1#comment-177809</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Sat, 10 Jan 2009 06:15:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.devlounge.net/?p=2319#comment-177809</guid>
		<description>Even on complicated markup, I&#039;ve never needed to use a master stylesheet to achieve cross-browser compatibility. I find it often is as large as my CSS (if not larger!) itself. Aside from a few typical IE6 bugs (IE, double margin), a simple one-line reset seems to do the trick.

* { margin: 0; padding: 0; }</description>
		<content:encoded><![CDATA[<p>Even on complicated markup, I&#8217;ve never needed to use a master stylesheet to achieve cross-browser compatibility. I find it often is as large as my CSS (if not larger!) itself. Aside from a few typical IE6 bugs (IE, double margin), a simple one-line reset seems to do the trick.</p>
<p>* { margin: 0; padding: 0; }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neko</title>
		<link>http://www.devlounge.net/design/tidy-up-your-stylesheets/comment-page-1#comment-177801</link>
		<dc:creator>Neko</dc:creator>
		<pubDate>Fri, 09 Jan 2009 17:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.devlounge.net/?p=2319#comment-177801</guid>
		<description>You should also add onto #2 by creating a table of content at the top of your stylesheet. 

/*      Site Table of Contents
           1. Base Styling - What can be found in this section?
           2. Page Constraints
           3. Header Styling
           4. Generic Classes
           ....etc
*/

This is helpful for you, but also for the next developer to come along. On occasion also supply a one liner explaining what can be found in the section. Now for you byte crunching developers this will add a couple KB&#039;s in the mix. 

This is something I do for all my sites and the clients really appreciate it.

Nick</description>
		<content:encoded><![CDATA[<p>You should also add onto #2 by creating a table of content at the top of your stylesheet. </p>
<p>/*      Site Table of Contents<br />
           1. Base Styling &#8211; What can be found in this section?<br />
           2. Page Constraints<br />
           3. Header Styling<br />
           4. Generic Classes<br />
           &#8230;.etc<br />
*/</p>
<p>This is helpful for you, but also for the next developer to come along. On occasion also supply a one liner explaining what can be found in the section. Now for you byte crunching developers this will add a couple KB&#8217;s in the mix. </p>
<p>This is something I do for all my sites and the clients really appreciate it.</p>
<p>Nick</p>
]]></content:encoded>
	</item>
</channel>
</rss>

