<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title><![CDATA[Content with Style - Comments on Playing Nice with the Other CSS Kids]]></title>
    <link>http://www.contentwithstyle.co.uk/feeds/rss/comments/70</link>
    <description><![CDATA[]]></description>
    <pubDate>Wed, 10 Mar 2010 13:28:44 +0000</pubDate>
    <generator>Zend_Feed</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <item>
      <title><![CDATA[Content with Style - Comment #1 on Playing Nice with the Other CSS Kids]]></title>
      <link>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-290</link>
      <guid>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-290</guid>
      <description><![CDATA[Great article, and very timely for me as I have just started working on a large project which involves handing over HTML and CSS to the client&#8217;s developers.<br />
<br />
I&#8217;m a little wary of sandboxing as I&#8217;ve seen it go wrong and make it very difficult to apply sitewide changes. That may have just been poor execution of the concept though ;-).]]></description>
      <content:encoded><![CDATA[Great article, and very timely for me as I have just started working on a large project which involves handing over HTML and CSS to the client&#8217;s developers.<br />
<br />
I&#8217;m a little wary of sandboxing as I&#8217;ve seen it go wrong and make it very difficult to apply sitewide changes. That may have just been poor execution of the concept though ;-).]]></content:encoded>
      <pubDate>Mon, 31 Oct 2005 10:56:34 +0000</pubDate>
    </item>
    <item>
      <title><![CDATA[Content with Style - Comment #2 on Playing Nice with the Other CSS Kids]]></title>
      <link>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-291</link>
      <guid>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-291</guid>
      <description><![CDATA[I&#8217;ve had trouble with it as well but I&#8217;ve got myself into a proper pickle doing it the other way too so I&#8217;ve gone for the &#8216;least damaging&#8217; route! The drawback of sandboxing is that it gives you more refactoring to do as the project goes on; the benefit is that you retain a tight grip on your code, which is very useful for debugging&#8230;]]></description>
      <content:encoded><![CDATA[I&#8217;ve had trouble with it as well but I&#8217;ve got myself into a proper pickle doing it the other way too so I&#8217;ve gone for the &#8216;least damaging&#8217; route! The drawback of sandboxing is that it gives you more refactoring to do as the project goes on; the benefit is that you retain a tight grip on your code, which is very useful for debugging&#8230;]]></content:encoded>
      <pubDate>Mon, 31 Oct 2005 11:27:05 +0000</pubDate>
    </item>
    <item>
      <title><![CDATA[Content with Style - Comment #3 on Playing Nice with the Other CSS Kids]]></title>
      <link>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-292</link>
      <guid>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-292</guid>
      <description><![CDATA[Excellent article! I too have some issues with sand-boxing but more and more I am inclined to reduce the size of individual sheet and have them target specific areas. This also allows for modular coding as I use a lot of  &#8220;includes&#8221; of modular components.<br />
<br />
As to in-document information and sheet presentation I am in the process of redoing a huge number of sheets to improve this aspect and allow for others to maintain.]]></description>
      <content:encoded><![CDATA[Excellent article! I too have some issues with sand-boxing but more and more I am inclined to reduce the size of individual sheet and have them target specific areas. This also allows for modular coding as I use a lot of  &#8220;includes&#8221; of modular components.<br />
<br />
As to in-document information and sheet presentation I am in the process of redoing a huge number of sheets to improve this aspect and allow for others to maintain.]]></content:encoded>
      <pubDate>Mon, 31 Oct 2005 12:45:55 +0000</pubDate>
    </item>
    <item>
      <title><![CDATA[Content with Style - Comment #4 on Playing Nice with the Other CSS Kids]]></title>
      <link>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-293</link>
      <guid>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-293</guid>
      <description><![CDATA[If you like subversion you&#8217;ll love this:<br />
<br />
http://www.bigbold.com/snippets/posts/show/42<br />
<br />
It ssh-s into your server, checks out the latest copy and symlinks it to &#8220;latest&#8217;. And if you need to roll back you can just change the link.]]></description>
      <content:encoded><![CDATA[If you like subversion you&#8217;ll love this:<br />
<br />
http://www.bigbold.com/snippets/posts/show/42<br />
<br />
It ssh-s into your server, checks out the latest copy and symlinks it to &#8220;latest&#8217;. And if you need to roll back you can just change the link.]]></content:encoded>
      <pubDate>Mon, 31 Oct 2005 14:35:29 +0000</pubDate>
    </item>
    <item>
      <title><![CDATA[Content with Style - Comment #5 on Playing Nice with the Other CSS Kids]]></title>
      <link>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-294</link>
      <guid>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-294</guid>
      <description><![CDATA[Interesting article. I definitly agree with the points you&#8217;ve raised, however, i do believe that keeping the css together in one file means you can be much more consise in your css.<br />
<br />
Also, i think !important shouldnt be used like you&#8217;ve mentioned, even for debugging. Like you mentioned, begin really specific from the start, stops this problem from occuring in the firstplace.<br />
<br />
To get around your redundancy problems, I think simply resetting global atrributes saves everyone problems, and also allows you to use semantic XHTML better too ( for accessibility ).<br />
<br />
You didnt mention anything about hacks, I hope your like us, in that creating proper XHTML and specifying css properly you can get around without using them :-)<br />
<br />
CVS ftw.<br />
<br />
Cheers]]></description>
      <content:encoded><![CDATA[Interesting article. I definitly agree with the points you&#8217;ve raised, however, i do believe that keeping the css together in one file means you can be much more consise in your css.<br />
<br />
Also, i think !important shouldnt be used like you&#8217;ve mentioned, even for debugging. Like you mentioned, begin really specific from the start, stops this problem from occuring in the firstplace.<br />
<br />
To get around your redundancy problems, I think simply resetting global atrributes saves everyone problems, and also allows you to use semantic XHTML better too ( for accessibility ).<br />
<br />
You didnt mention anything about hacks, I hope your like us, in that creating proper XHTML and specifying css properly you can get around without using them :-)<br />
<br />
CVS ftw.<br />
<br />
Cheers]]></content:encoded>
      <pubDate>Mon, 31 Oct 2005 19:47:05 +0000</pubDate>
    </item>
    <item>
      <title><![CDATA[Content with Style - Comment #6 on Playing Nice with the Other CSS Kids]]></title>
      <link>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-296</link>
      <guid>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-296</guid>
      <description><![CDATA[Do you think there is any issue when using sandboxing in the resulting file size increase? It seems in real world use, it doesn&#8217;t make that much of a difference, but some CSS references stress using shorthand as much as humanly possible, splitting the CSS into multiple files, each under 4k for cache reasons, etc.<br />
<br />
I personally try to write self-documenting code as well, although I&#8217;m the first to admit in favor of speed it&#8217;s not always written for others to comprehend as easily as I can. I also break out my CSS as much as possible (declaring margins and paddings explicitly everwhere especially) but don&#8217;t follow the practice of sandboxing where everything is written out as <code> div#content div#index p.intro </code> like your example. I think that might be ultimately easier to understand but not as efficient &#8211; with the web developer extension for firefox and a search in the CSS file, it seems pretty easy to figure out the containing element and its code in the CSS.]]></description>
      <content:encoded><![CDATA[Do you think there is any issue when using sandboxing in the resulting file size increase? It seems in real world use, it doesn&#8217;t make that much of a difference, but some CSS references stress using shorthand as much as humanly possible, splitting the CSS into multiple files, each under 4k for cache reasons, etc.<br />
<br />
I personally try to write self-documenting code as well, although I&#8217;m the first to admit in favor of speed it&#8217;s not always written for others to comprehend as easily as I can. I also break out my CSS as much as possible (declaring margins and paddings explicitly everwhere especially) but don&#8217;t follow the practice of sandboxing where everything is written out as <code> div#content div#index p.intro </code> like your example. I think that might be ultimately easier to understand but not as efficient &#8211; with the web developer extension for firefox and a search in the CSS file, it seems pretty easy to figure out the containing element and its code in the CSS.]]></content:encoded>
      <pubDate>Mon, 31 Oct 2005 23:02:11 +0000</pubDate>
    </item>
    <item>
      <title><![CDATA[Content with Style - Comment #7 on Playing Nice with the Other CSS Kids]]></title>
      <link>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-297</link>
      <guid>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-297</guid>
      <description><![CDATA[Great article. Nice reading for the beginning of my day :-)<br />
<br />
Ciao Marco]]></description>
      <content:encoded><![CDATA[Great article. Nice reading for the beginning of my day :-)<br />
<br />
Ciao Marco]]></content:encoded>
      <pubDate>Tue, 01 Nov 2005 02:17:32 +0000</pubDate>
    </item>
    <item>
      <title><![CDATA[Content with Style - Comment #8 on Playing Nice with the Other CSS Kids]]></title>
      <link>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-298</link>
      <guid>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-298</guid>
      <description><![CDATA[Simon: what&#8217;s the problem with using !important for debugging (during the development process, as I take it mike means)?<br />
<br />
Also for the hacks, I don&#8217;t think you raise a fair point here. I definetly favour a very clean XHTML with a hacked css (I use * html, html>body and the /**/  hack for mac IE) to a solution where you create more divs to get margin/padding consistent or insert clearing elements to get around the float problem.<br />
Anyone with me here? Mike?]]></description>
      <content:encoded><![CDATA[Simon: what&#8217;s the problem with using !important for debugging (during the development process, as I take it mike means)?<br />
<br />
Also for the hacks, I don&#8217;t think you raise a fair point here. I definetly favour a very clean XHTML with a hacked css (I use * html, html>body and the /**/  hack for mac IE) to a solution where you create more divs to get margin/padding consistent or insert clearing elements to get around the float problem.<br />
Anyone with me here? Mike?]]></content:encoded>
      <pubDate>Tue, 01 Nov 2005 02:33:10 +0000</pubDate>
    </item>
    <item>
      <title><![CDATA[Content with Style - Comment #9 on Playing Nice with the Other CSS Kids]]></title>
      <link>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-301</link>
      <guid>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-301</guid>
      <description><![CDATA[Re: Hacks:<br />
I think this can be a very emotional discussion. Essentially there&#8217;s 3 things:<br />
 &#8211; using hacks<br />
 &#8211; using extra markup<br />
 &#8211; adding extra markup via DOM<br />
<br />
When you&#8217;re in the situation that you&#8217;re not designing the site, and your designer doesn&#8217;t know much about code or standards, you&#8217;ll quickly end up having to use at least one of these possibilities. I used to happily hack my way through css, but at some point I decided to ditch that approach in favour of extra markup (where possible). <br />
Recent hints of MS to use conditional comments instead of  *<em>html</em> seem to support that.<br />
<br />
[edited]
Now, lately the semantic markup-lovers seem to be in fashion. (Changed this, as it seemed inappropriate) [/edited]<br />
Use the markup as a semantic structure and add everything else via DOM, and I&#8217;m not sure what to think of this. It reduces the total number of people getting a visually &#8220;correct&#8221; page, by taking out the no-javascript people. It possibly favours alternative views on the site (screenreaders? but they do the script as well, at least a little, right?), but, statistically speaking, who&#8217;s the winner, besides the coder&#8217;s eye?]]></description>
      <content:encoded><![CDATA[Re: Hacks:<br />
I think this can be a very emotional discussion. Essentially there&#8217;s 3 things:<br />
 &#8211; using hacks<br />
 &#8211; using extra markup<br />
 &#8211; adding extra markup via DOM<br />
<br />
When you&#8217;re in the situation that you&#8217;re not designing the site, and your designer doesn&#8217;t know much about code or standards, you&#8217;ll quickly end up having to use at least one of these possibilities. I used to happily hack my way through css, but at some point I decided to ditch that approach in favour of extra markup (where possible). <br />
Recent hints of MS to use conditional comments instead of  *<em>html</em> seem to support that.<br />
<br />
[edited]
Now, lately the semantic markup-lovers seem to be in fashion. (Changed this, as it seemed inappropriate) [/edited]<br />
Use the markup as a semantic structure and add everything else via DOM, and I&#8217;m not sure what to think of this. It reduces the total number of people getting a visually &#8220;correct&#8221; page, by taking out the no-javascript people. It possibly favours alternative views on the site (screenreaders? but they do the script as well, at least a little, right?), but, statistically speaking, who&#8217;s the winner, besides the coder&#8217;s eye?]]></content:encoded>
      <pubDate>Tue, 01 Nov 2005 05:34:07 +0000</pubDate>
    </item>
    <item>
      <title><![CDATA[Content with Style - Comment #10 on Playing Nice with the Other CSS Kids]]></title>
      <link>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-302</link>
      <guid>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-302</guid>
      <description><![CDATA[Simon:<br />
!important can save hours while debugging and I can not see any reason for not using it for that purpose&#8230; Care to expand on why you think it should be avoided ALL the time?<br />
<br />
The global whitespace reset wouldn&#8217;t help with the redundancy problem &#8211; that&#8217;s caused by inheritance through the cascade, not default settings. I tend to avoid the whitespace reset anyway because when handing templates over to clients you can guaruntee that they will use an element that you didn&#8217;t think of in a content area that never occurred to you. With all whitespace reset you will get them on the phone complaining every time; with defaults in place things might just look okay.<br />
<br />
Simon &#38; Pascal:<br />
The only hacks I use are * html and /* */. As a result of my accessibility background I am a semantic purist and those two hacks allow me to avoid the wrapper divs and other extraneous markup that some people use to get around box model problems. Basically, what Pascal said!]]></description>
      <content:encoded><![CDATA[Simon:<br />
!important can save hours while debugging and I can not see any reason for not using it for that purpose&#8230; Care to expand on why you think it should be avoided ALL the time?<br />
<br />
The global whitespace reset wouldn&#8217;t help with the redundancy problem &#8211; that&#8217;s caused by inheritance through the cascade, not default settings. I tend to avoid the whitespace reset anyway because when handing templates over to clients you can guaruntee that they will use an element that you didn&#8217;t think of in a content area that never occurred to you. With all whitespace reset you will get them on the phone complaining every time; with defaults in place things might just look okay.<br />
<br />
Simon &#38; Pascal:<br />
The only hacks I use are * html and /* */. As a result of my accessibility background I am a semantic purist and those two hacks allow me to avoid the wrapper divs and other extraneous markup that some people use to get around box model problems. Basically, what Pascal said!]]></content:encoded>
      <pubDate>Tue, 01 Nov 2005 05:42:59 +0000</pubDate>
    </item>
    <item>
      <title><![CDATA[Content with Style - Comment #11 on Playing Nice with the Other CSS Kids]]></title>
      <link>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-303</link>
      <guid>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-303</guid>
      <description><![CDATA[Jacob:<br />
I totally agree that sandboxing can lead to less efficient code. I use it as a trade off with maintainability&#8230; I have found that overspecified rules are a lot easier to (re)familiarise myself with at a later date, making maintenance a less painful process. It&#8217;s up to you how much extra code you need versus how quickly you want to get bug fixing months or years down the line.]]></description>
      <content:encoded><![CDATA[Jacob:<br />
I totally agree that sandboxing can lead to less efficient code. I use it as a trade off with maintainability&#8230; I have found that overspecified rules are a lot easier to (re)familiarise myself with at a later date, making maintenance a less painful process. It&#8217;s up to you how much extra code you need versus how quickly you want to get bug fixing months or years down the line.]]></content:encoded>
      <pubDate>Tue, 01 Nov 2005 06:51:28 +0000</pubDate>
    </item>
    <item>
      <title><![CDATA[Content with Style - Comment #12 on Playing Nice with the Other CSS Kids]]></title>
      <link>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-304</link>
      <guid>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-304</guid>
      <description><![CDATA[Good and valid points!<br />
<br />
@Matthias: WTH [edited /]]]></description>
      <content:encoded><![CDATA[Good and valid points!<br />
<br />
@Matthias: WTH [edited /]]]></content:encoded>
      <pubDate>Tue, 01 Nov 2005 09:18:07 +0000</pubDate>
    </item>
    <item>
      <title><![CDATA[Content with Style - Comment #13 on Playing Nice with the Other CSS Kids]]></title>
      <link>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-305</link>
      <guid>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-305</guid>
      <description><![CDATA[[edited/]: I think matthias is making fun of people that consider a standard-compliant but in 75% of the cases non-usable so-called solution a better way than coding a site with a couple of hacks that works in non-standard-compliant browsers.

]]></description>
      <content:encoded><![CDATA[[edited/]: I think matthias is making fun of people that consider a standard-compliant but in 75% of the cases non-usable so-called solution a better way than coding a site with a couple of hacks that works in non-standard-compliant browsers.

]]></content:encoded>
      <pubDate>Tue, 01 Nov 2005 09:32:36 +0000</pubDate>
    </item>
    <item>
      <title><![CDATA[Content with Style - Comment #14 on Playing Nice with the Other CSS Kids]]></title>
      <link>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-306</link>
      <guid>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-306</guid>
      <description><![CDATA[Well, yes and no, <br />
<br />
There are designs, that don&#8217;t allow for lean code on its own. In the end I work in a job where I can&#8217;t choose the design (or, for a fact, the interface altogether) that I&#8217;ll build. If I&#8217;m lucky, I&#8217;m not up to my neck in work while the design-phase for the next project happens, so I can comment on it.<br />
<br />
The luckier ones either design <em>and</em> build the site, or have designers that are aware of web standard-friendly design; and sadly that can come with a bit of a non-understanding attitude.]]></description>
      <content:encoded><![CDATA[Well, yes and no, <br />
<br />
There are designs, that don&#8217;t allow for lean code on its own. In the end I work in a job where I can&#8217;t choose the design (or, for a fact, the interface altogether) that I&#8217;ll build. If I&#8217;m lucky, I&#8217;m not up to my neck in work while the design-phase for the next project happens, so I can comment on it.<br />
<br />
The luckier ones either design <em>and</em> build the site, or have designers that are aware of web standard-friendly design; and sadly that can come with a bit of a non-understanding attitude.]]></content:encoded>
      <pubDate>Tue, 01 Nov 2005 12:14:28 +0000</pubDate>
    </item>
    <item>
      <title><![CDATA[Content with Style - Comment #15 on Playing Nice with the Other CSS Kids]]></title>
      <link>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-307</link>
      <guid>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-307</guid>
      <description><![CDATA[I cant say i&#8217;ve ever used !important for debugging, and have never really  needed it as such, so thats why i dont really think its nessecary as a debugging tool. I prefer to use firefox&#8217;s web developer extension &#8211; it provides much more useful information much faster too.<br />
<br />
Pascal, hacks are nasty, thats why i beleive there called hacks. If you resolve the problem that nessecitates a hack ( generally IE6 box model problems or mac IE float / clear issues ) and follow w3c standards, you actually don&#8217;t run into issues, and don&#8217;t need them. I&#8217;ve made several sites which run on the most popular browsers ( IE6, 5.5, 5, firefox, mac IE, safari, opera etc) without using one hack.  The sites even work on cellphone browsers, screen readers and the like. Its all about careful use of css, and the application of semantic XHTML. using it the way it was intended. :-)<br />
<br />
The best way to acheive this I believe is to first develop your layout css, and browser test at this stage. Globally resetting margins, padding, font-size, and list style will let you develop your layout css, without the need for hacks. Also the knowledge about why the problems occur, and avoiding them can also help.<br />
<br />
Most of the time were in the same boat as Matthias,  we only get to choose the technical side, markup and server code for a particular design, so choosing the correct way to do it is definitly  important.]]></description>
      <content:encoded><![CDATA[I cant say i&#8217;ve ever used !important for debugging, and have never really  needed it as such, so thats why i dont really think its nessecary as a debugging tool. I prefer to use firefox&#8217;s web developer extension &#8211; it provides much more useful information much faster too.<br />
<br />
Pascal, hacks are nasty, thats why i beleive there called hacks. If you resolve the problem that nessecitates a hack ( generally IE6 box model problems or mac IE float / clear issues ) and follow w3c standards, you actually don&#8217;t run into issues, and don&#8217;t need them. I&#8217;ve made several sites which run on the most popular browsers ( IE6, 5.5, 5, firefox, mac IE, safari, opera etc) without using one hack.  The sites even work on cellphone browsers, screen readers and the like. Its all about careful use of css, and the application of semantic XHTML. using it the way it was intended. :-)<br />
<br />
The best way to acheive this I believe is to first develop your layout css, and browser test at this stage. Globally resetting margins, padding, font-size, and list style will let you develop your layout css, without the need for hacks. Also the knowledge about why the problems occur, and avoiding them can also help.<br />
<br />
Most of the time were in the same boat as Matthias,  we only get to choose the technical side, markup and server code for a particular design, so choosing the correct way to do it is definitly  important.]]></content:encoded>
      <pubDate>Tue, 01 Nov 2005 16:10:43 +0000</pubDate>
    </item>
    <item>
      <title><![CDATA[Content with Style - Comment #16 on Playing Nice with the Other CSS Kids]]></title>
      <link>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-308</link>
      <guid>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-308</guid>
      <description><![CDATA[Btw, Box model problems can always be solved by not applying padding to an element you specify a width too. <br />
<br />
In most cases, you can actually avoid this problem by being careful with your css :-)]]></description>
      <content:encoded><![CDATA[Btw, Box model problems can always be solved by not applying padding to an element you specify a width too. <br />
<br />
In most cases, you can actually avoid this problem by being careful with your css :-)]]></content:encoded>
      <pubDate>Tue, 01 Nov 2005 16:17:49 +0000</pubDate>
    </item>
    <item>
      <title><![CDATA[Content with Style - Comment #17 on Playing Nice with the Other CSS Kids]]></title>
      <link>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-309</link>
      <guid>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-309</guid>
      <description><![CDATA[Simon: I don&#8217;t wanna start lecturing, but to be honest I don&#8217;t think you are right here. What if you want to have a box on the site with padding AND a width?<br />
Either you nest two elements, one with a set width and one with padding inside, or you HACK the css to make it work. In that case I&#8217;d rather save one element and hack the css. Wich by no means affects the validation though.<br />
The same thing goes for boxes that have floated elements in them. I&#8217;d rather use the &#8220;holly hack&#8221; than find myself using something like a clearing div.<br />
<br />
Another recommandation that you gave, resetting margins, padding, font-size and so on can lead to serious trouble as well.<br />
If you ever used relative font-sizes (em or %) you&#8217;ll find that you&#8217;ll have to be damn carefull about where you specify the font size, since they will be inherited, and 75% of 75% is not what you thought it should&#8217;ve been anymore.<br />
Also when you work with content-driven CMS engines you&#8217;ll get to the point where the client inserts markup in places where you didn&#8217;t expect them, like a list or a p and so on. A general reset of margin and padding will let those appear in a way that will be percieved as broken, unless you overwrite the reset for every element that could contain user defined markup.]]></description>
      <content:encoded><![CDATA[Simon: I don&#8217;t wanna start lecturing, but to be honest I don&#8217;t think you are right here. What if you want to have a box on the site with padding AND a width?<br />
Either you nest two elements, one with a set width and one with padding inside, or you HACK the css to make it work. In that case I&#8217;d rather save one element and hack the css. Wich by no means affects the validation though.<br />
The same thing goes for boxes that have floated elements in them. I&#8217;d rather use the &#8220;holly hack&#8221; than find myself using something like a clearing div.<br />
<br />
Another recommandation that you gave, resetting margins, padding, font-size and so on can lead to serious trouble as well.<br />
If you ever used relative font-sizes (em or %) you&#8217;ll find that you&#8217;ll have to be damn carefull about where you specify the font size, since they will be inherited, and 75% of 75% is not what you thought it should&#8217;ve been anymore.<br />
Also when you work with content-driven CMS engines you&#8217;ll get to the point where the client inserts markup in places where you didn&#8217;t expect them, like a list or a p and so on. A general reset of margin and padding will let those appear in a way that will be percieved as broken, unless you overwrite the reset for every element that could contain user defined markup.]]></content:encoded>
      <pubDate>Tue, 01 Nov 2005 16:54:39 +0000</pubDate>
    </item>
    <item>
      <title><![CDATA[Content with Style - Comment #18 on Playing Nice with the Other CSS Kids]]></title>
      <link>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-310</link>
      <guid>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-310</guid>
      <description><![CDATA[Picking up on the point about &#8220;Team Maintainable CSS&#8221; ~ I have found that breaking your design into layers (Structure, Typography and Colors/Theme) can bring some big benefits for large team based projects.<br />
<br />
This is mostly true where both designers and developers are involved. You can for instance give a designer the &#8220;theme&#8221; template to work with, thus shielding them from complex structural CSS. On the flip side, developers can forget about the pretty colors, concentrating on just the structure of the interface.<br />
<br />
It is a technique that&#8217;s paying dividends where I work.<br />
<br />
I&#8217;ve explained in <a href="http://www.cssdev.com/index.php/archives/2005/09/17/css-file-structuring">more detail in a recent article</a>.]]></description>
      <content:encoded><![CDATA[Picking up on the point about &#8220;Team Maintainable CSS&#8221; ~ I have found that breaking your design into layers (Structure, Typography and Colors/Theme) can bring some big benefits for large team based projects.<br />
<br />
This is mostly true where both designers and developers are involved. You can for instance give a designer the &#8220;theme&#8221; template to work with, thus shielding them from complex structural CSS. On the flip side, developers can forget about the pretty colors, concentrating on just the structure of the interface.<br />
<br />
It is a technique that&#8217;s paying dividends where I work.<br />
<br />
I&#8217;ve explained in <a href="http://www.cssdev.com/index.php/archives/2005/09/17/css-file-structuring">more detail in a recent article</a>.]]></content:encoded>
      <pubDate>Tue, 01 Nov 2005 17:13:04 +0000</pubDate>
    </item>
    <item>
      <title><![CDATA[Content with Style - Comment #19 on Playing Nice with the Other CSS Kids]]></title>
      <link>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-311</link>
      <guid>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-311</guid>
      <description><![CDATA[It is in fact a similar sort of idea as &#8220;Manageable Pieces&#8221; link you provided in the article. ;)]]></description>
      <content:encoded><![CDATA[It is in fact a similar sort of idea as &#8220;Manageable Pieces&#8221; link you provided in the article. ;)]]></content:encoded>
      <pubDate>Tue, 01 Nov 2005 17:16:45 +0000</pubDate>
    </item>
    <item>
      <title><![CDATA[Content with Style - Comment #20 on Playing Nice with the Other CSS Kids]]></title>
      <link>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-312</link>
      <guid>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-312</guid>
      <description><![CDATA[Cheers Pascal,<br />
<br />
I understand where your coming from. I guess we need to make the desicion to either use slightly duplicate markup ( to control the box model problems),  <strong>or</strong> use hacks in css. <br />
<br />
There are many browser bugs that can be solved by other, non hack means, eg. adding a line-height to a parent element to solve IE 6&#8217;s Peak-a-boo bug instead of the holly hack etc. &#8211; Thats more what i was meaning with the other IE hacks and things not related to box model problems.<br />
<br />
:-)]]></description>
      <content:encoded><![CDATA[Cheers Pascal,<br />
<br />
I understand where your coming from. I guess we need to make the desicion to either use slightly duplicate markup ( to control the box model problems),  <strong>or</strong> use hacks in css. <br />
<br />
There are many browser bugs that can be solved by other, non hack means, eg. adding a line-height to a parent element to solve IE 6&#8217;s Peak-a-boo bug instead of the holly hack etc. &#8211; Thats more what i was meaning with the other IE hacks and things not related to box model problems.<br />
<br />
:-)]]></content:encoded>
      <pubDate>Tue, 01 Nov 2005 20:08:27 +0000</pubDate>
    </item>
    <item>
      <title><![CDATA[Content with Style - Comment #21 on Playing Nice with the Other CSS Kids]]></title>
      <link>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-313</link>
      <guid>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-313</guid>
      <description><![CDATA[Good tips help to write CSS clean and manageable for future. :)]]></description>
      <content:encoded><![CDATA[Good tips help to write CSS clean and manageable for future. :)]]></content:encoded>
      <pubDate>Wed, 02 Nov 2005 10:38:10 +0000</pubDate>
    </item>
    <item>
      <title><![CDATA[Content with Style - Comment #22 on Playing Nice with the Other CSS Kids]]></title>
      <link>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-316</link>
      <guid>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-316</guid>
      <description><![CDATA[Simon and Pascal:<br />
<br />
Looks like you&#8217;ve reached an amicable agreement on hacks, which is nice! Thought I&#8217;d wade in with one more point. The cleaner your HTML the easier your code is to understand. I&#8217;ll explain&#8230;<br />
<br />
On the HTML side you have less chance of missing a closing div if you only have a handful of them. I only mention this because the development version of my new site has wrapper divs everywhere and I keep breaking it by forgetting to close them. In the final version they will be added with a little DOM script.<br />
<br />
In the CSS, wrapper divs tend to come with generic names like &#8216;wrapper&#8217; ,&#8217;content&#8217; , &#8216;extra&#8217;, etc. I&#8217;ve had trouble in the past with nesting these. For example, if your &#8216;page&#8217; div needs one and your &#8216;content&#8217;  div also need one then you can get unexpected cascade/inheritance issues.<br />
<br />
I much prefer clean HTML and minimal hacking on the CSS. I find it much easier to keep all my compromises are in one place &#8211; the CSS, instead of being split between HTML and CSS. <br />
<br />
That said though, I&#8217;ve also had my share of trouble with the * html hack, in particular, when I&#8217;ve changed the width on the original rule and forgotten to reflect the change in the hack and then spent ages trying to track down what had gone wrong&#8230; Yet again, it&#8217;s a trade-off.]]></description>
      <content:encoded><![CDATA[Simon and Pascal:<br />
<br />
Looks like you&#8217;ve reached an amicable agreement on hacks, which is nice! Thought I&#8217;d wade in with one more point. The cleaner your HTML the easier your code is to understand. I&#8217;ll explain&#8230;<br />
<br />
On the HTML side you have less chance of missing a closing div if you only have a handful of them. I only mention this because the development version of my new site has wrapper divs everywhere and I keep breaking it by forgetting to close them. In the final version they will be added with a little DOM script.<br />
<br />
In the CSS, wrapper divs tend to come with generic names like &#8216;wrapper&#8217; ,&#8217;content&#8217; , &#8216;extra&#8217;, etc. I&#8217;ve had trouble in the past with nesting these. For example, if your &#8216;page&#8217; div needs one and your &#8216;content&#8217;  div also need one then you can get unexpected cascade/inheritance issues.<br />
<br />
I much prefer clean HTML and minimal hacking on the CSS. I find it much easier to keep all my compromises are in one place &#8211; the CSS, instead of being split between HTML and CSS. <br />
<br />
That said though, I&#8217;ve also had my share of trouble with the * html hack, in particular, when I&#8217;ve changed the width on the original rule and forgotten to reflect the change in the hack and then spent ages trying to track down what had gone wrong&#8230; Yet again, it&#8217;s a trade-off.]]></content:encoded>
      <pubDate>Thu, 03 Nov 2005 05:59:24 +0000</pubDate>
    </item>
    <item>
      <title><![CDATA[Content with Style - Comment #23 on Playing Nice with the Other CSS Kids]]></title>
      <link>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-319</link>
      <guid>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-319</guid>
      <description><![CDATA[I&#8217;m sure glad this list of maintainable css doesnt say to never use shorthand &#8211; as did someone else&#8217;s guide written a couple months ago. LOL]]></description>
      <content:encoded><![CDATA[I&#8217;m sure glad this list of maintainable css doesnt say to never use shorthand &#8211; as did someone else&#8217;s guide written a couple months ago. LOL]]></content:encoded>
      <pubDate>Thu, 03 Nov 2005 16:10:51 +0000</pubDate>
    </item>
    <item>
      <title><![CDATA[Content with Style - Comment #24 on Playing Nice with the Other CSS Kids]]></title>
      <link>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-320</link>
      <guid>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-320</guid>
      <description><![CDATA[Great article mate.<br />
<br />
Ive delivered templates to 3rd parties and used to endure banging-head-against-the-wall emails to developers trying to change the font-color in a div.<br />
<br />
Ive been using &#8216;sandboxes&#8217; in my css for a while now and  I can estimate about a 95% reduction in headaches. Its proven kids.]]></description>
      <content:encoded><![CDATA[Great article mate.<br />
<br />
Ive delivered templates to 3rd parties and used to endure banging-head-against-the-wall emails to developers trying to change the font-color in a div.<br />
<br />
Ive been using &#8216;sandboxes&#8217; in my css for a while now and  I can estimate about a 95% reduction in headaches. Its proven kids.]]></content:encoded>
      <pubDate>Mon, 07 Nov 2005 09:54:27 +0000</pubDate>
    </item>
    <item>
      <title><![CDATA[Content with Style - Comment #25 on Playing Nice with the Other CSS Kids]]></title>
      <link>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-325</link>
      <guid>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-325</guid>
      <description><![CDATA[Hey guys thanks for your comments :-) <br />
<br />
I might try your &#8216;framework&#8217; Mike on our next project, and we&#8217;ll see what happens :-)<br />
<br />
Cheers!]]></description>
      <content:encoded><![CDATA[Hey guys thanks for your comments :-) <br />
<br />
I might try your &#8216;framework&#8217; Mike on our next project, and we&#8217;ll see what happens :-)<br />
<br />
Cheers!]]></content:encoded>
      <pubDate>Tue, 08 Nov 2005 15:00:28 +0000</pubDate>
    </item>
    <item>
      <title><![CDATA[Content with Style - Comment #26 on Playing Nice with the Other CSS Kids]]></title>
      <link>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-2012</link>
      <guid>http://www.contentwithstyle.co.uk/content/playing-nice-with-the-other-css-kids/#comment-2012</guid>
      <description><![CDATA[wonderful article]]></description>
      <content:encoded><![CDATA[wonderful article]]></content:encoded>
      <pubDate>Fri, 16 Mar 2007 17:09:30 +0000</pubDate>
    </item>
  </channel>
</rss>
