<?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/"
xmlns:series="http://unfoldingneurons.com/"
> <channel><title>Comments on: Thoughts on &#8220;10 Principles of the CSS Masters In HTML /&#160;CSS&#8221;</title> <atom:link href="http://davidwalsh.name/thoughts-10-principles-css-masters-html-css/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/thoughts-10-principles-css-masters-html-css</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Wed, 23 May 2012 22:21:39 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: Omar Ramon</title><link>http://davidwalsh.name/thoughts-10-principles-css-masters-html-css#comment-32125</link> <dc:creator>Omar Ramon</dc:creator> <pubDate>Thu, 10 May 2012 19:33:21 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=361#comment-32125</guid> <description>Rule #2 FAN! I love to open my stylesheets and understand their rules at one shot. For me it&#039;s very important to visualize the structure of the website:&lt;code&gt;
.container							{ ... } /* using tabs to align brackets */
.container .interface 				{ ... }
.container .interface .header 		{ ... }
.container .interface .header .logo	{ ... }
.container .interface .header .title	{ ... }
.container .interface .header .menu	{ ... }
&lt;/code&gt;It&#039;s easy to see how the more global rules affect the following more specialized.</description> <content:encoded><![CDATA[<p>Rule #2 FAN! I love to open my stylesheets and understand their rules at one shot. For me it&#8217;s very important to visualize the structure of the website:</p><p><code><br
/> .container							{ ... } /* using tabs to align brackets */<br
/> .container .interface 				{ ... }<br
/> .container .interface .header 		{ ... }<br
/> .container .interface .header .logo	{ ... }<br
/> .container .interface .header .title	{ ... }<br
/> .container .interface .header .menu	{ ... }<br
/> </code></p><p>It&#8217;s easy to see how the more global rules affect the following more specialized.</p> ]]></content:encoded> </item> <item><title>By: Robert Len Stallard</title><link>http://davidwalsh.name/thoughts-10-principles-css-masters-html-css#comment-3566</link> <dc:creator>Robert Len Stallard</dc:creator> <pubDate>Fri, 24 Oct 2008 08:38:38 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=361#comment-3566</guid> <description>I&#039;m a one liner too! My IDE has code folding for CSS, so this helps me reduce scrolling.  I also apply &quot;modular&quot; stylesheets with &quot;@import&quot; to help in avoiding these getting too long. Though I have used all declarations on a single line when I&#039;m forced to use internal or embedded stylesheets, but I prefer external stylesheets.I just discovered your blog and love it! I have a lot of catching up to do on your posts. Thanks for your efforts.</description> <content:encoded><![CDATA[<p>I&#8217;m a one liner too! My IDE has code folding for CSS, so this helps me reduce scrolling.  I also apply &#8220;modular&#8221; stylesheets with &#8220;@import&#8221; to help in avoiding these getting too long. Though I have used all declarations on a single line when I&#8217;m forced to use internal or embedded stylesheets, but I prefer external stylesheets.</p><p>I just discovered your blog and love it! I have a lot of catching up to do on your posts. Thanks for your efforts.</p> ]]></content:encoded> </item> <item><title>By: facundo</title><link>http://davidwalsh.name/thoughts-10-principles-css-masters-html-css#comment-3280</link> <dc:creator>facundo</dc:creator> <pubDate>Sat, 04 Oct 2008 17:00:30 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=361#comment-3280</guid> <description>Hi,I tottally agree with you on all your principles but #2.I think it&#039;s better to do that on an hybrid way: Keeping the vertical way but grouping similar elements, like width and height, padding and margin, background and color, etc.
Using comments to make search faster is nice idea too.That makes it easier to read and faster to modifie.Then you can get your CSS through an compressor, so you have an extended and documented version for you to work on, and a compressed version to save size on your website.Saludos desde Argentina (and sorry about my english... xD)Facundo</description> <content:encoded><![CDATA[<p>Hi,</p><p>I tottally agree with you on all your principles but #2.</p><p>I think it&#8217;s better to do that on an hybrid way: Keeping the vertical way but grouping similar elements, like width and height, padding and margin, background and color, etc.<br
/> Using comments to make search faster is nice idea too.</p><p>That makes it easier to read and faster to modifie.</p><p>Then you can get your CSS through an compressor, so you have an extended and documented version for you to work on, and a compressed version to save size on your website.</p><p>Saludos desde Argentina (and sorry about my english&#8230; xD)</p><p>Facundo</p> ]]></content:encoded> </item> <item><title>By: Ian</title><link>http://davidwalsh.name/thoughts-10-principles-css-masters-html-css#comment-3279</link> <dc:creator>Ian</dc:creator> <pubDate>Sat, 04 Oct 2008 16:31:03 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=361#comment-3279</guid> <description>I stick to single liners when theres only a few rules for each selector, kinda looks cramped for me when everythings kept on a single line. When theres more than 3 or 4, I use new lines for each comment.</description> <content:encoded><![CDATA[<p>I stick to single liners when theres only a few rules for each selector, kinda looks cramped for me when everythings kept on a single line. When theres more than 3 or 4, I use new lines for each comment.</p> ]]></content:encoded> </item> <item><title>By: david</title><link>http://davidwalsh.name/thoughts-10-principles-css-masters-html-css#comment-2922</link> <dc:creator>david</dc:creator> <pubDate>Thu, 04 Sep 2008 13:54:02 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=361#comment-2922</guid> <description>&lt;p&gt;Wow, 1-liners (pun intended) coming from everywhere!  I started as a 1 rule per line guy but stylesheets just took forever to scroll.&lt;/p&gt;</description> <content:encoded><![CDATA[<p>Wow, 1-liners (pun intended) coming from everywhere!  I started as a 1 rule per line guy but stylesheets just took forever to scroll.</p> ]]></content:encoded> </item> <item><title>By: Phil Thompson</title><link>http://davidwalsh.name/thoughts-10-principles-css-masters-html-css#comment-2921</link> <dc:creator>Phil Thompson</dc:creator> <pubDate>Thu, 04 Sep 2008 13:44:04 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=361#comment-2921</guid> <description>+1 for one rule per line.It&#039;s so much easier to read,  whether you have to horizontally scroll or not, it&#039;s about being able to find the rule quickly and I find it&#039;s much easier to scan read and find something if each rule has its own line.</description> <content:encoded><![CDATA[<p>+1 for one rule per line.</p><p>It&#8217;s so much easier to read,  whether you have to horizontally scroll or not, it&#8217;s about being able to find the rule quickly and I find it&#8217;s much easier to scan read and find something if each rule has its own line.</p> ]]></content:encoded> </item> <item><title>By: Caligula</title><link>http://davidwalsh.name/thoughts-10-principles-css-masters-html-css#comment-2908</link> <dc:creator>Caligula</dc:creator> <pubDate>Wed, 03 Sep 2008 14:00:28 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=361#comment-2908</guid> <description>Three fans of one-rule-per-line.Unless your styles are very short they&#039;ll wrap, and that&#039;s way, &lt;em&gt;way&lt;/em&gt; harder to read. Grouping related rules on one line, perhaps.@Braxo: You navigate your source code with a mouse? You must use a fairly primitive editor if it can&#039;t navigate sensibly with keys. Heck, even clicking on the line and hitting the &quot;end&quot; key would be more intuitive than twiddling with the hscroll.</description> <content:encoded><![CDATA[<p>Three fans of one-rule-per-line.</p><p>Unless your styles are very short they&#8217;ll wrap, and that&#8217;s way, <em>way</em> harder to read. Grouping related rules on one line, perhaps.</p><p>@Braxo: You navigate your source code with a mouse? You must use a fairly primitive editor if it can&#8217;t navigate sensibly with keys. Heck, even clicking on the line and hitting the &#8220;end&#8221; key would be more intuitive than twiddling with the hscroll.</p> ]]></content:encoded> </item> <item><title>By: Braxo</title><link>http://davidwalsh.name/thoughts-10-principles-css-masters-html-css#comment-2907</link> <dc:creator>Braxo</dc:creator> <pubDate>Wed, 03 Sep 2008 03:48:36 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=361#comment-2907</guid> <description>I think the fans of one rule per line probably don&#039;t have an Apple mouse that allows for horizontal scrolling, so it is not worth it to even try it differently for an extended period of time. I too would find it frustrating to have to move my mouse to the bottom scroll bar then back up to place my cursor.Of course a bigger monitor could help...</description> <content:encoded><![CDATA[<p>I think the fans of one rule per line probably don&#8217;t have an Apple mouse that allows for horizontal scrolling, so it is not worth it to even try it differently for an extended period of time. I too would find it frustrating to have to move my mouse to the bottom scroll bar then back up to place my cursor.</p><p>Of course a bigger monitor could help&#8230;</p> ]]></content:encoded> </item> <item><title>By: david</title><link>http://davidwalsh.name/thoughts-10-principles-css-masters-html-css#comment-2906</link> <dc:creator>david</dc:creator> <pubDate>Wed, 03 Sep 2008 02:36:49 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=361#comment-2906</guid> <description>&lt;p&gt;Wow, two fans of one rule per line.  I find it unbearable, but to each his own.&lt;/p&gt;</description> <content:encoded><![CDATA[<p>Wow, two fans of one rule per line.  I find it unbearable, but to each his own.</p> ]]></content:encoded> </item> <item><title>By: Ahmad Alfy</title><link>http://davidwalsh.name/thoughts-10-principles-css-masters-html-css#comment-2905</link> <dc:creator>Ahmad Alfy</dc:creator> <pubDate>Wed, 03 Sep 2008 02:32:52 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=361#comment-2905</guid> <description>Well, I don&#039;t frankly agree with rule number 2!
Even if I had to scroll down, I love to write every rule in a single line.</description> <content:encoded><![CDATA[<p>Well, I don&#8217;t frankly agree with rule number 2!<br
/> Even if I had to scroll down, I love to write every rule in a single line.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 3/7 queries in 0.007 seconds using disk: basic
Object Caching 805/805 objects using disk: basic

Served from: davidwalsh.name @ 2012-05-23 21:48:13 -->
