<?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: My Worst CSS&#160;Mistakes</title> <atom:link href="http://davidwalsh.name/worst-css-mistakes/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/worst-css-mistakes</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Thu, 09 Feb 2012 09:28:55 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3</generator> <item><title>By: Pat Fattore</title><link>http://davidwalsh.name/worst-css-mistakes/comment-page-1#comment-22569</link> <dc:creator>Pat Fattore</dc:creator> <pubDate>Fri, 04 Feb 2011 21:21:23 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=409#comment-22569</guid> <description>My neighbor and I were just debating this specific subject, he&#039;s usually in search of to prove me incorrect. Your view on this is nice and exactly how I actually feel. I simply now mailed him this website to show him your own view. After wanting over your web site I guide marked and will probably be coming back to learn your new posts!</description> <content:encoded><![CDATA[<p>My neighbor and I were just debating this specific subject, he&#8217;s usually in search of to prove me incorrect. Your view on this is nice and exactly how I actually feel. I simply now mailed him this website to show him your own view. After wanting over your web site I guide marked and will probably be coming back to learn your new posts!</p> ]]></content:encoded> </item> <item><title>By: karl bowers</title><link>http://davidwalsh.name/worst-css-mistakes/comment-page-1#comment-13574</link> <dc:creator>karl bowers</dc:creator> <pubDate>Thu, 12 Nov 2009 18:24:23 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=409#comment-13574</guid> <description>Ah man, this article has brought back some memories of my early CSS adventures lol! Nice article :-)</description> <content:encoded><![CDATA[<p>Ah man, this article has brought back some memories of my early CSS adventures lol! Nice article :-)</p> ]]></content:encoded> </item> <item><title>By: Nic Luciano</title><link>http://davidwalsh.name/worst-css-mistakes/comment-page-1#comment-8769</link> <dc:creator>Nic Luciano</dc:creator> <pubDate>Fri, 17 Apr 2009 22:02:21 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=409#comment-8769</guid> <description>Agree on all points, though... I didn&#039;t know about the nested tags with *, I try to actually using it as a selector anyway.I especially agree with you on one line declarations. Very rarely (never) do I find people who agree, most people think it&#039;s easier to look at it on multiple lines. It might be easier to find a property a second faster (which can even be fixed with alphabetical order)... but 1 line declarations in combination with tabs is a great way to mimic a DOM tree in CSS, and makes it exponentially easier to work with.</description> <content:encoded><![CDATA[<p>Agree on all points, though&#8230; I didn&#8217;t know about the nested tags with *, I try to actually using it as a selector anyway.</p><p>I especially agree with you on one line declarations. Very rarely (never) do I find people who agree, most people think it&#8217;s easier to look at it on multiple lines. It might be easier to find a property a second faster (which can even be fixed with alphabetical order)&#8230; but 1 line declarations in combination with tabs is a great way to mimic a DOM tree in CSS, and makes it exponentially easier to work with.</p> ]]></content:encoded> </item> <item><title>By: Mauricio Jordan</title><link>http://davidwalsh.name/worst-css-mistakes/comment-page-1#comment-8704</link> <dc:creator>Mauricio Jordan</dc:creator> <pubDate>Tue, 14 Apr 2009 13:30:11 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=409#comment-8704</guid> <description>As a &quot;classic&quot; example of beginners in CSS mistakes you can check my newly updated page(s) from the archaic HTMl+tables to XHTMl+Css
at:
http://www.geocities.com/mauroj2/index.htmlI am still finding the &quot;weird&quot; behavior of my pages,especially on IE 6 and above, notice the misplace side menu!
my main page CSS can be seen here:
http://www.geocities.com/mauroj2/newstyle.cssany pointers to improve the structure of the page?
I am still learning the curve of proper CSS
Thanks to all.</description> <content:encoded><![CDATA[<p>As a &#8220;classic&#8221; example of beginners in CSS mistakes you can check my newly updated page(s) from the archaic HTMl+tables to XHTMl+Css<br
/> at:<br
/> <a
href="http://www.geocities.com/mauroj2/index.html" rel="nofollow">http://www.geocities.com/mauroj2/index.html</a></p><p>I am still finding the &#8220;weird&#8221; behavior of my pages,especially on IE 6 and above, notice the misplace side menu!<br
/> my main page CSS can be seen here:<br
/> <a
href="http://www.geocities.com/mauroj2/newstyle.css" rel="nofollow">http://www.geocities.com/mauroj2/newstyle.css</a></p><p>any pointers to improve the structure of the page?<br
/> I am still learning the curve of proper CSS<br
/> Thanks to all.</p> ]]></content:encoded> </item> <item><title>By: Phillip Quinlan</title><link>http://davidwalsh.name/worst-css-mistakes/comment-page-1#comment-8161</link> <dc:creator>Phillip Quinlan</dc:creator> <pubDate>Wed, 11 Mar 2009 10:21:00 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=409#comment-8161</guid> <description>Yea, I actaully think that if you have single line declarations it would be a pain to scroll all the way to the right - not to mention all the way left again!
I&#039;d much rather only being able to scroll up and down, not up/down/left/right :PMuch like that rule of never have horizontal scrollies on web pages :)But yea, personal preference - just voicing my opinion that&#039;s all :DAh, the days of having a 25.5&quot; screen would solve our problems won&#039;t they! A few more years and people will be saying: &quot;Man, you only have a 25.5&quot; screen? Keep up with the times and get a 30&quot; like everyone else!&quot;</description> <content:encoded><![CDATA[<p>Yea, I actaully think that if you have single line declarations it would be a pain to scroll all the way to the right &#8211; not to mention all the way left again!<br
/> I&#8217;d much rather only being able to scroll up and down, not up/down/left/right :P</p><p>Much like that rule of never have horizontal scrollies on web pages :)</p><p>But yea, personal preference &#8211; just voicing my opinion that&#8217;s all :D</p><p>Ah, the days of having a 25.5&#8243; screen would solve our problems won&#8217;t they! A few more years and people will be saying: &#8220;Man, you only have a 25.5&#8243; screen? Keep up with the times and get a 30&#8243; like everyone else!&#8221;</p> ]]></content:encoded> </item> <item><title>By: Michiel van der Blonk</title><link>http://davidwalsh.name/worst-css-mistakes/comment-page-1#comment-4108</link> <dc:creator>Michiel van der Blonk</dc:creator> <pubDate>Fri, 05 Dec 2008 13:37:21 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=409#comment-4108</guid> <description>I don&#039;t agree at all with people in favor of multi-line. I believe most of you cannot be CSS experts, if it&#039;s too hard for you to read a single line of CSS with several properties. These properties belong to one selector, and there is no particular order, unless your specifying properties multiple times (which you shouldn&#039;t). If you&#039;re appalled by multi-line I bet you&#039;re a programmer.There is a huge difference with code (javascript, C, PHP) where the order of execution is extremely important.Folding? Nonsense, another programmer&#039;s attitude. CSS consists of a non-indented list of selectors. There&#039;s no hierarchy, so what&#039;s to fold?I recommend using a good editor though. TopStyle rules, it&#039;s a CSS editor, not a code editor.In short, CSS is not a programming language, so stop treating it like one. (BTW: I am a programmer, not a designer).</description> <content:encoded><![CDATA[<p>I don&#8217;t agree at all with people in favor of multi-line. I believe most of you cannot be CSS experts, if it&#8217;s too hard for you to read a single line of CSS with several properties. These properties belong to one selector, and there is no particular order, unless your specifying properties multiple times (which you shouldn&#8217;t). If you&#8217;re appalled by multi-line I bet you&#8217;re a programmer.</p><p>There is a huge difference with code (javascript, C, PHP) where the order of execution is extremely important.</p><p>Folding? Nonsense, another programmer&#8217;s attitude. CSS consists of a non-indented list of selectors. There&#8217;s no hierarchy, so what&#8217;s to fold?</p><p>I recommend using a good editor though. TopStyle rules, it&#8217;s a CSS editor, not a code editor.</p><p>In short, CSS is not a programming language, so stop treating it like one. (BTW: I am a programmer, not a designer).</p> ]]></content:encoded> </item> <item><title>By: Stu Greenham</title><link>http://davidwalsh.name/worst-css-mistakes/comment-page-1#comment-3699</link> <dc:creator>Stu Greenham</dc:creator> <pubDate>Wed, 05 Nov 2008 12:41:53 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=409#comment-3699</guid> <description>Nice post!Although I personally think &#039;Multi-Line CSS Declarations&#039; is okay because although the stylehseet can become major long its much easier to find the bit you want to change :)Stu
http://selfconclusion.co.uk</description> <content:encoded><![CDATA[<p>Nice post!</p><p>Although I personally think &#8216;Multi-Line CSS Declarations&#8217; is okay because although the stylehseet can become major long its much easier to find the bit you want to change :)</p><p>Stu<br
/> <a
href="http://selfconclusion.co.uk" rel="nofollow">http://selfconclusion.co.uk</a></p> ]]></content:encoded> </item> <item><title>By: Amy</title><link>http://davidwalsh.name/worst-css-mistakes/comment-page-1#comment-3435</link> <dc:creator>Amy</dc:creator> <pubDate>Thu, 16 Oct 2008 03:17:21 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=409#comment-3435</guid> <description>yep I am also a multi-liner! UNLESS there is only one property... but I think of it this way, with one liners you have to scan up and down and then sideways. Multi-lines you just have to scan up and down :P I use nusphere which allows code folding, so a lot of the time I will fold large portions of my css if I am not working on it. Problem solved!Looking back on some of my very first projects, I think my biggest mistake was using absolute positioning... FOR EVERYTHING... and of course I had no idea what position relative was so everything was positioned to the browser window LOL... I had no idea what float was either so that really limited what I could do. Thank gosh for books :P</description> <content:encoded><![CDATA[<p>yep I am also a multi-liner! UNLESS there is only one property&#8230; but I think of it this way, with one liners you have to scan up and down and then sideways. Multi-lines you just have to scan up and down :P I use nusphere which allows code folding, so a lot of the time I will fold large portions of my css if I am not working on it. Problem solved!</p><p>Looking back on some of my very first projects, I think my biggest mistake was using absolute positioning&#8230; FOR EVERYTHING&#8230; and of course I had no idea what position relative was so everything was positioned to the browser window LOL&#8230; I had no idea what float was either so that really limited what I could do. Thank gosh for books :P</p> ]]></content:encoded> </item> <item><title>By: Maga</title><link>http://davidwalsh.name/worst-css-mistakes/comment-page-1#comment-3383</link> <dc:creator>Maga</dc:creator> <pubDate>Sun, 12 Oct 2008 09:28:20 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=409#comment-3383</guid> <description>I prefer multiline CSS declarations, I think they are much more readable and easier to understand than multiscreen CSS declarations in one line.And what do you think about setting the margin and padding properties within the “*” selector? I find it very useful.</description> <content:encoded><![CDATA[<p>I prefer multiline CSS declarations, I think they are much more readable and easier to understand than multiscreen CSS declarations in one line.</p><p>And what do you think about setting the margin and padding properties within the “*” selector? I find it very useful.</p> ]]></content:encoded> </item> <item><title>By: tom hermans</title><link>http://davidwalsh.name/worst-css-mistakes/comment-page-1#comment-3364</link> <dc:creator>tom hermans</dc:creator> <pubDate>Fri, 10 Oct 2008 07:15:30 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=409#comment-3364</guid> <description>I try to keep short css-code in one line, if it&#039;s more than a few selectors I write &#039;em line per line.
Also, use tabs, e.g. 1 tab for ul, 2 tabs for ul li, 3 for ul li a, so the inheritance is more obvious when editing the css-code. This is a practice I only just adopted, seems to work better, but time will tell.T.</description> <content:encoded><![CDATA[<p>I try to keep short css-code in one line, if it&#8217;s more than a few selectors I write &#8216;em line per line.<br
/> Also, use tabs, e.g. 1 tab for ul, 2 tabs for ul li, 3 for ul li a, so the inheritance is more obvious when editing the css-code. This is a practice I only just adopted, seems to work better, but time will tell.</p><p>T.</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 1/17 queries in 0.018 seconds using disk: basic
Object Caching 865/866 objects using disk: basic

Served from: davidwalsh.name @ 2012-02-09 04:30:58 -->
