<?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: Setting rather than Resetting Default Styling</title>
	<atom:link href="http://thinkvitamin.com/design/setting-rather-than-resetting-default-styling/feed/" rel="self" type="application/rss+xml" />
	<link>http://thinkvitamin.com/design/setting-rather-than-resetting-default-styling/</link>
	<description>The Web Practitioner&#039;s Blog</description>
	<lastBuildDate>Thu, 09 Feb 2012 01:58:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Maximilian Schoening</title>
		<link>http://thinkvitamin.com/design/setting-rather-than-resetting-default-styling/#comment-42652</link>
		<dc:creator>Maximilian Schoening</dc:creator>
		<pubDate>Mon, 02 May 2011 09:29:00 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=4943#comment-42652</guid>
		<description>Thierry,

Is there a Github repository for this somewhere? I couldn&#039;t find anything. If not would you mind throwing this on Github? Would make forking it and iterating on it a lot easier.

--Max</description>
		<content:encoded><![CDATA[<p>Thierry,</p>
<p>Is there a Github repository for this somewhere? I couldn&#8217;t find anything. If not would you mind throwing this on Github? Would make forking it and iterating on it a lot easier.</p>
<p>&#8211;Max</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: @ed1nh0</title>
		<link>http://thinkvitamin.com/design/setting-rather-than-resetting-default-styling/#comment-42647</link>
		<dc:creator>@ed1nh0</dc:creator>
		<pubDate>Mon, 02 May 2011 01:03:00 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=4943#comment-42647</guid>
		<description>Hi there! Well done and endless discussion. Well, better for the community. You point to use vertical-align:bottom; for images to prevent a gap from showing below images in some browsers. But can I (we) use display:inline-block; instead of vertical-align?</description>
		<content:encoded><![CDATA[<p>Hi there! Well done and endless discussion. Well, better for the community. You point to use vertical-align:bottom; for images to prevent a gap from showing below images in some browsers. But can I (we) use display:inline-block; instead of vertical-align?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://thinkvitamin.com/design/setting-rather-than-resetting-default-styling/#comment-42021</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Sun, 27 Mar 2011 14:37:00 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=4943#comment-42021</guid>
		<description>This seems to encourage presentational markup. Also, on a large site — why would you want to preset styles for elements that you will just have to override anyway?</description>
		<content:encoded><![CDATA[<p>This seems to encourage presentational markup. Also, on a large site — why would you want to preset styles for elements that you will just have to override anyway?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zachary Uram</title>
		<link>http://thinkvitamin.com/design/setting-rather-than-resetting-default-styling/#comment-41316</link>
		<dc:creator>Zachary Uram</dc:creator>
		<pubDate>Fri, 25 Feb 2011 12:09:00 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=4943#comment-41316</guid>
		<description>I agree!</description>
		<content:encoded><![CDATA[<p>I agree!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://thinkvitamin.com/design/setting-rather-than-resetting-default-styling/#comment-23098</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Mon, 13 Sep 2010 00:05:07 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=4943#comment-23098</guid>
		<description>Thierry,

I&#039;m not trying to be rude but my guess is that you didn&#039;t actually test this. My point was this...

&quot;Firefox is setting the line-height to normal on buttons and is enforcing this decision with an !important declaration.&quot;

http://www.cssnewbie.com/input-button-line-height-bug/

&quot;user !important rules override author !important rules.&quot;

http://www.w3.org/TR/CSS2/cascade.html#important-rules</description>
		<content:encoded><![CDATA[<p>Thierry,</p>
<p>I&#8217;m not trying to be rude but my guess is that you didn&#8217;t actually test this. My point was this&#8230;</p>
<p>&#8220;Firefox is setting the line-height to normal on buttons and is enforcing this decision with an !important declaration.&#8221;</p>
<p><a href="http://www.cssnewbie.com/input-button-line-height-bug/" rel="nofollow">http://www.cssnewbie.com/input-button-line-height-bug/</a></p>
<p>&#8220;user !important rules override author !important rules.&#8221;</p>
<p><a href="http://www.w3.org/TR/CSS2/cascade.html#important-rules" rel="nofollow">http://www.w3.org/TR/CSS2/cascade.html#important-rules</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thierry Koblentz</title>
		<link>http://thinkvitamin.com/design/setting-rather-than-resetting-default-styling/#comment-23060</link>
		<dc:creator>Thierry Koblentz</dc:creator>
		<pubDate>Sat, 11 Sep 2010 05:45:24 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=4943#comment-23060</guid>
		<description>Hi Ryan,

My guess is that you didn&#039;t look at the latest version which contains these two additions:

* Changes in this version:
   - input, button, textarea, select, optgroup, option {line-height: 1.4 !important;} (to override FF&#039;s default styling)

*    - styling  inside  (merci Goulven)

I believe Firefox obeys that rule though (at least it should according to spec).</description>
		<content:encoded><![CDATA[<p>Hi Ryan,</p>
<p>My guess is that you didn&#8217;t look at the latest version which contains these two additions:</p>
<p>* Changes in this version:<br />
   &#8211; input, button, textarea, select, optgroup, option {line-height: 1.4 !important;} (to override FF&#8217;s default styling)</p>
<p>*    &#8211; styling  inside  (merci Goulven)</p>
<p>I believe Firefox obeys that rule though (at least it should according to spec).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://thinkvitamin.com/design/setting-rather-than-resetting-default-styling/#comment-22867</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Tue, 07 Sep 2010 20:18:35 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=4943#comment-22867</guid>
		<description>Thanks for sharing your base.css it is really helping me research and develop my own.

However, I have found that your attempt to over-ride FF default line-height on form elements (specifically buttons) is, unfortunately, wishful thinking. The default FF stylesheet defines line height for buttons using: normal !important and, at least in my experiments, cannot be over-ridden. This makes sense for things like select, I suppose, but why they decided to include button makes no sense to me.</description>
		<content:encoded><![CDATA[<p>Thanks for sharing your base.css it is really helping me research and develop my own.</p>
<p>However, I have found that your attempt to over-ride FF default line-height on form elements (specifically buttons) is, unfortunately, wishful thinking. The default FF stylesheet defines line height for buttons using: normal !important and, at least in my experiments, cannot be over-ridden. This makes sense for things like select, I suppose, but why they decided to include button makes no sense to me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thierry Koblentz</title>
		<link>http://thinkvitamin.com/design/setting-rather-than-resetting-default-styling/#comment-21587</link>
		<dc:creator>Thierry Koblentz</dc:creator>
		<pubDate>Tue, 06 Jul 2010 23:12:28 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=4943#comment-21587</guid>
		<description>T,

As that doc says, this is a current UA practice, so I&#039;d say using such styling goes against the idea of this article which aims at:
1. avoiding redundancy,
2. setting explicit styles rather than resetting values.

PS: Thanks for the kind words.</description>
		<content:encoded><![CDATA[<p>T,</p>
<p>As that doc says, this is a current UA practice, so I&#8217;d say using such styling goes against the idea of this article which aims at:<br />
1. avoiding redundancy,<br />
2. setting explicit styles rather than resetting values.</p>
<p>PS: Thanks for the kind words.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tzmedia</title>
		<link>http://thinkvitamin.com/design/setting-rather-than-resetting-default-styling/#comment-21431</link>
		<dc:creator>tzmedia</dc:creator>
		<pubDate>Tue, 29 Jun 2010 17:09:15 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=4943#comment-21431</guid>
		<description>Your base styles with comments reads like a CSS text book, or a CSS cheatsheet of common problems &amp; solutions. Can&#039;t say how much I appreciate your efforts.
I&#039;ve been using one of several resets, mostly E. Meyer&#039;s and then sometimes the recommended styles here:
http://www.w3.org/TR/CSS21/sample.html

Any thoughts on the w3.org css default styles then, how it compares to your styles or if it creates any problems your styles fix overall. Just curious, it&#039;s made a pretty decent base stylesheet starter kit.

thanks,
T.</description>
		<content:encoded><![CDATA[<p>Your base styles with comments reads like a CSS text book, or a CSS cheatsheet of common problems &amp; solutions. Can&#8217;t say how much I appreciate your efforts.<br />
I&#8217;ve been using one of several resets, mostly E. Meyer&#8217;s and then sometimes the recommended styles here:<br />
<a href="http://www.w3.org/TR/CSS21/sample.html" rel="nofollow">http://www.w3.org/TR/CSS21/sample.html</a></p>
<p>Any thoughts on the w3.org css default styles then, how it compares to your styles or if it creates any problems your styles fix overall. Just curious, it&#8217;s made a pretty decent base stylesheet starter kit.</p>
<p>thanks,<br />
T.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gary Miller</title>
		<link>http://thinkvitamin.com/design/setting-rather-than-resetting-default-styling/#comment-20670</link>
		<dc:creator>Gary Miller</dc:creator>
		<pubDate>Sun, 16 May 2010 12:41:53 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=4943#comment-20670</guid>
		<description>Great stuff - just what I was looking for.

Cheers! :-)</description>
		<content:encoded><![CDATA[<p>Great stuff &#8211; just what I was looking for.</p>
<p>Cheers! :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jitendra vyas</title>
		<link>http://thinkvitamin.com/design/setting-rather-than-resetting-default-styling/#comment-19993</link>
		<dc:creator>jitendra vyas</dc:creator>
		<pubDate>Tue, 13 Apr 2010 17:41:50 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=4943#comment-19993</guid>
		<description>No problem. but as you said , you do not care for CSS validation .but validation purpose is not only to get &quot;Badge&quot;.</description>
		<content:encoded><![CDATA[<p>No problem. but as you said , you do not care for CSS validation .but validation purpose is not only to get &#8220;Badge&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thierry Koblentz</title>
		<link>http://thinkvitamin.com/design/setting-rather-than-resetting-default-styling/#comment-19992</link>
		<dc:creator>Thierry Koblentz</dc:creator>
		<pubDate>Tue, 13 Apr 2010 17:02:16 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=4943#comment-19992</guid>
		<description>Sorry, I do not really care for CSS validation so I forgot to mention this.
I should have pointed this out in the article. 

Anyways, those who want the &quot;badge&quot; can either drop these fixes or use Conditional Comments to hide the &quot;CSS filters&quot; I use for IE 6 and 7.</description>
		<content:encoded><![CDATA[<p>Sorry, I do not really care for CSS validation so I forgot to mention this.<br />
I should have pointed this out in the article. </p>
<p>Anyways, those who want the &#8220;badge&#8221; can either drop these fixes or use Conditional Comments to hide the &#8220;CSS filters&#8221; I use for IE 6 and 7.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jitendra vyas</title>
		<link>http://thinkvitamin.com/design/setting-rather-than-resetting-default-styling/#comment-19988</link>
		<dc:creator>jitendra vyas</dc:creator>
		<pubDate>Tue, 13 Apr 2010 10:16:03 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=4943#comment-19988</guid>
		<description>but your base css is not valid 

http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Ftjkdesign.com%2Fez-css%2Fcss%2Fbase.css&amp;profile=css21&amp;usermedium=all&amp;warning=1&amp;lang=en</description>
		<content:encoded><![CDATA[<p>but your base css is not valid </p>
<p><a href="http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Ftjkdesign.com%2Fez-css%2Fcss%2Fbase.css&#038;profile=css21&#038;usermedium=all&#038;warning=1&#038;lang=en" rel="nofollow">http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Ftjkdesign.com%2Fez-css%2Fcss%2Fbase.css&#038;profile=css21&#038;usermedium=all&#038;warning=1&#038;lang=en</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thierry</title>
		<link>http://thinkvitamin.com/design/setting-rather-than-resetting-default-styling/#comment-19754</link>
		<dc:creator>Thierry</dc:creator>
		<pubDate>Wed, 31 Mar 2010 15:54:56 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=4943#comment-19754</guid>
		<description>Hi Alan,

&quot;This is not much difference from...&quot;

I think being explicit here is what matters. It allows authors starting with these rules to simply remove whatever they don&#039;t need. And there are many they could remove... 
For example, I often leave form and table elements out of the styles sheet as I usually only include this styling in the HEAD of documents that contain form and table markup.
It&#039;d be the same for pre, code, dl/dd/dt, etc. It really depends on the common markup used across the site.

&quot;What is wrong with default margins...&quot;

I think your test cases demonstrate pretty well what&#039;s wrong ;) 
My own &quot;conclusions&quot; are a bit different than yours though. For example, in your test 2d you say IE is wrong &quot;because this should only appear if there was a padding or a border&quot;. I believe it would appear the same if the container was a block formatting context, and isn&#039;t what hasLayout does in IE? hasLayout creates block formatting contexts, hence it will prevent collapsing margins. In short, I&#039;d say this is expected behavior, it&#039;s not really a bug.
 
For 4a &amp; 4b, I see something different. You say &quot;The container has hasLayout and this causes the paragraphs&#039; and headings&#039; vertical margins of &#039;auto&#039; not to resolve to &#039;0&#039; and are contained by the containers&#039; content/padding edge&quot;. I do not see padding playing a role in there. In these cases, I believe IE simply *ignores* the (auto) declarations and defaults to default margin values. And because those containers have a layout the margins of these elements do not collapse.

&quot;BTW, your base CSS is larger than my non IE7- CSS...&quot;

That&#039;s great!

Thanks for linking to your test cases.</description>
		<content:encoded><![CDATA[<p>Hi Alan,</p>
<p>&#8220;This is not much difference from&#8230;&#8221;</p>
<p>I think being explicit here is what matters. It allows authors starting with these rules to simply remove whatever they don&#8217;t need. And there are many they could remove&#8230;<br />
For example, I often leave form and table elements out of the styles sheet as I usually only include this styling in the HEAD of documents that contain form and table markup.<br />
It&#8217;d be the same for pre, code, dl/dd/dt, etc. It really depends on the common markup used across the site.</p>
<p>&#8220;What is wrong with default margins&#8230;&#8221;</p>
<p>I think your test cases demonstrate pretty well what&#8217;s wrong ;)<br />
My own &#8220;conclusions&#8221; are a bit different than yours though. For example, in your test 2d you say IE is wrong &#8220;because this should only appear if there was a padding or a border&#8221;. I believe it would appear the same if the container was a block formatting context, and isn&#8217;t what hasLayout does in IE? hasLayout creates block formatting contexts, hence it will prevent collapsing margins. In short, I&#8217;d say this is expected behavior, it&#8217;s not really a bug.</p>
<p>For 4a &amp; 4b, I see something different. You say &#8220;The container has hasLayout and this causes the paragraphs&#8217; and headings&#8217; vertical margins of &#8216;auto&#8217; not to resolve to &#8217;0&#8242; and are contained by the containers&#8217; content/padding edge&#8221;. I do not see padding playing a role in there. In these cases, I believe IE simply *ignores* the (auto) declarations and defaults to default margin values. And because those containers have a layout the margins of these elements do not collapse.</p>
<p>&#8220;BTW, your base CSS is larger than my non IE7- CSS&#8230;&#8221;</p>
<p>That&#8217;s great!</p>
<p>Thanks for linking to your test cases.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan Gresley</title>
		<link>http://thinkvitamin.com/design/setting-rather-than-resetting-default-styling/#comment-19701</link>
		<dc:creator>Alan Gresley</dc:creator>
		<pubDate>Tue, 30 Mar 2010 12:07:53 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=4943#comment-19701</guid>
		<description>Thierry,

I see that you have.

body, p, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, blockquote, th, td {
  margin: 0;
  padding: 0;
}

This is not much difference from.

* {
  margin: 0;
  padding: 0;
}

What is wrong with default margins,

http://css-class.com/test/css/defaults/default-margins.htm

and controlling margin collapse with &#039;auto&#039;.

http://css-class.com/test/bugs/ie/haslayout-margins.htm

Ask yourself if you would use a reset.css or base.css file if there was no browser named IE7 or IE6?

BTW, your base CSS is larger than my non IE7- CSS.

http://css-class.com/test/zeta-0-1.css</description>
		<content:encoded><![CDATA[<p>Thierry,</p>
<p>I see that you have.</p>
<p>body, p, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, blockquote, th, td {<br />
  margin: 0;<br />
  padding: 0;<br />
}</p>
<p>This is not much difference from.</p>
<p>* {<br />
  margin: 0;<br />
  padding: 0;<br />
}</p>
<p>What is wrong with default margins,</p>
<p><a href="http://css-class.com/test/css/defaults/default-margins.htm" rel="nofollow">http://css-class.com/test/css/defaults/default-margins.htm</a></p>
<p>and controlling margin collapse with &#8216;auto&#8217;.</p>
<p><a href="http://css-class.com/test/bugs/ie/haslayout-margins.htm" rel="nofollow">http://css-class.com/test/bugs/ie/haslayout-margins.htm</a></p>
<p>Ask yourself if you would use a reset.css or base.css file if there was no browser named IE7 or IE6?</p>
<p>BTW, your base CSS is larger than my non IE7- CSS.</p>
<p><a href="http://css-class.com/test/zeta-0-1.css" rel="nofollow">http://css-class.com/test/zeta-0-1.css</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thierry</title>
		<link>http://thinkvitamin.com/design/setting-rather-than-resetting-default-styling/#comment-19394</link>
		<dc:creator>Thierry</dc:creator>
		<pubDate>Tue, 23 Mar 2010 14:01:17 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=4943#comment-19394</guid>
		<description>Hy Rian,

You should find plenty of good info about font-size here:
http://css-discuss.incutio.com/wiki/Font_Size

This one explains the rational behind 100.01%:
http://www.communitymx.com/content/article.cfm?page=5&amp;cid=FAF76

fwiw, as I said in my reply to Jorge, I do not set font-size on body

Thanks</description>
		<content:encoded><![CDATA[<p>Hy Rian,</p>
<p>You should find plenty of good info about font-size here:<br />
<a href="http://css-discuss.incutio.com/wiki/Font_Size" rel="nofollow">http://css-discuss.incutio.com/wiki/Font_Size</a></p>
<p>This one explains the rational behind 100.01%:<br />
<a href="http://www.communitymx.com/content/article.cfm?page=5&#038;cid=FAF76" rel="nofollow">http://www.communitymx.com/content/article.cfm?page=5&#038;cid=FAF76</a></p>
<p>fwiw, as I said in my reply to Jorge, I do not set font-size on body</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thierry</title>
		<link>http://thinkvitamin.com/design/setting-rather-than-resetting-default-styling/#comment-19305</link>
		<dc:creator>Thierry</dc:creator>
		<pubDate>Sat, 20 Mar 2010 01:44:09 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=4943#comment-19305</guid>
		<description>Hi Paul,

As you say, this rule is to reset padding on elements in DDs, LIs, and fieldsets. 

If I decided to leave all headings out, it is simply because I rarely include them in those elements (never in DDs I believe) and when I do (in LIs for example) it almost always calls for custom styling anyway...

In any case, people who are used to this type of nesting should definitely include headings in there (may be not the h1 though).

I think the idea is to not over do it. For example, people who use a single h1 per document may want to remove this selector from the base rules if they are already &quot;custom-styling&quot; it somewhere else in the styles sheet. 

In short, we want to avoid redundancy and we do not want to create rules that don&#039;t really style anything across the documents.</description>
		<content:encoded><![CDATA[<p>Hi Paul,</p>
<p>As you say, this rule is to reset padding on elements in DDs, LIs, and fieldsets. </p>
<p>If I decided to leave all headings out, it is simply because I rarely include them in those elements (never in DDs I believe) and when I do (in LIs for example) it almost always calls for custom styling anyway&#8230;</p>
<p>In any case, people who are used to this type of nesting should definitely include headings in there (may be not the h1 though).</p>
<p>I think the idea is to not over do it. For example, people who use a single h1 per document may want to remove this selector from the base rules if they are already &#8220;custom-styling&#8221; it somewhere else in the styles sheet. </p>
<p>In short, we want to avoid redundancy and we do not want to create rules that don&#8217;t really style anything across the documents.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: paul</title>
		<link>http://thinkvitamin.com/design/setting-rather-than-resetting-default-styling/#comment-19304</link>
		<dc:creator>paul</dc:creator>
		<pubDate>Sat, 20 Mar 2010 00:35:05 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=4943#comment-19304</guid>
		<description>sorry, hit the tab key.

when there is a H1,H2... tag is nested, then it is indented relative to a paragraph beneath it.</description>
		<content:encoded><![CDATA[<p>sorry, hit the tab key.</p>
<p>when there is a H1,H2&#8230; tag is nested, then it is indented relative to a paragraph beneath it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: paul</title>
		<link>http://thinkvitamin.com/design/setting-rather-than-resetting-default-styling/#comment-19303</link>
		<dc:creator>paul</dc:creator>
		<pubDate>Sat, 20 Mar 2010 00:33:40 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=4943#comment-19303</guid>
		<description>Shouldn&#039;t you add h1,h2,... to the following rule?
/* this is to reset the left/right gaps (created by the previous and next rules) on nested elements
 */
dd p, dd pre, dd ul, dd ol, dd dl, li p, li pre, li ul, li ol, li dl, fieldset p, fieldset ul, fieldset ol {
  padding-right: 0;
  padding-left: 0;
}

Because if I have 

Heading
some text
</description>
		<content:encoded><![CDATA[<p>Shouldn&#8217;t you add h1,h2,&#8230; to the following rule?<br />
/* this is to reset the left/right gaps (created by the previous and next rules) on nested elements<br />
 */<br />
dd p, dd pre, dd ul, dd ol, dd dl, li p, li pre, li ul, li ol, li dl, fieldset p, fieldset ul, fieldset ol {<br />
  padding-right: 0;<br />
  padding-left: 0;<br />
}</p>
<p>Because if I have </p>
<p>Heading<br />
some text</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: paul</title>
		<link>http://thinkvitamin.com/design/setting-rather-than-resetting-default-styling/#comment-35406</link>
		<dc:creator>paul</dc:creator>
		<pubDate>Sat, 20 Mar 2010 00:33:00 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=4943#comment-35406</guid>
		<description>Shouldn&#039;t you add h1,h2,... to the following rule?
/* this is to reset the left/right gaps (created by the previous and next rules) on nested elements
 */
dd p, dd pre, dd ul, dd ol, dd dl, li p, li pre, li ul, li ol, li dl, fieldset p, fieldset ul, fieldset ol {
  padding-right: 0;
  padding-left: 0;
}

Because if I have 

Heading
some text</description>
		<content:encoded><![CDATA[<p>Shouldn&#8217;t you add h1,h2,&#8230; to the following rule?<br />
/* this is to reset the left/right gaps (created by the previous and next rules) on nested elements<br />
 */<br />
dd p, dd pre, dd ul, dd ol, dd dl, li p, li pre, li ul, li ol, li dl, fieldset p, fieldset ul, fieldset ol {<br />
  padding-right: 0;<br />
  padding-left: 0;<br />
}</p>
<p>Because if I have </p>
<p>Heading<br />
some text</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://thinkvitamin.com/design/setting-rather-than-resetting-default-styling/#comment-19301</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Sat, 20 Mar 2010 00:18:31 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=4943#comment-19301</guid>
		<description>Hi Thierry, 

Thanks for a great post. A good read and lots of knowledge from you and the discussion here. I had been using a plain reset and never occurred to me to cut out the middle man, you did a good job with this base style sheet I am starting a new project today and will be using something like this now. :)

Question though I am having a tough time understanding the font sizing. I had been setting a base font size of 62.5% in my reset and then sizing with em&#039;s inside. What is the best way to accomplish that now? I do not understand the 100.1% part. 

Thanks again!

-Ryan</description>
		<content:encoded><![CDATA[<p>Hi Thierry, </p>
<p>Thanks for a great post. A good read and lots of knowledge from you and the discussion here. I had been using a plain reset and never occurred to me to cut out the middle man, you did a good job with this base style sheet I am starting a new project today and will be using something like this now. :)</p>
<p>Question though I am having a tough time understanding the font sizing. I had been setting a base font size of 62.5% in my reset and then sizing with em&#8217;s inside. What is the best way to accomplish that now? I do not understand the 100.1% part. </p>
<p>Thanks again!</p>
<p>-Ryan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thierry</title>
		<link>http://thinkvitamin.com/design/setting-rather-than-resetting-default-styling/#comment-19290</link>
		<dc:creator>Thierry</dc:creator>
		<pubDate>Fri, 19 Mar 2010 15:32:01 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=4943#comment-19290</guid>
		<description>Hi Jorge,

As the base styles sheet shows, I do not set font-size on html nor body. 
If I need to reduce default font-size across the board, then I use em on the main wrapper.</description>
		<content:encoded><![CDATA[<p>Hi Jorge,</p>
<p>As the base styles sheet shows, I do not set font-size on html nor body.<br />
If I need to reduce default font-size across the board, then I use em on the main wrapper.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thierry</title>
		<link>http://thinkvitamin.com/design/setting-rather-than-resetting-default-styling/#comment-19289</link>
		<dc:creator>Thierry</dc:creator>
		<pubDate>Fri, 19 Mar 2010 15:27:24 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=4943#comment-19289</guid>
		<description>Great catch, I&#039;ll fix that.

And I&#039;ll add the fix for monospace too:
http://meyerweb.com/eric/thoughts/2010/02/12/fixed-monospace-sizing/

Thanks</description>
		<content:encoded><![CDATA[<p>Great catch, I&#8217;ll fix that.</p>
<p>And I&#8217;ll add the fix for monospace too:<br />
<a href="http://meyerweb.com/eric/thoughts/2010/02/12/fixed-monospace-sizing/" rel="nofollow">http://meyerweb.com/eric/thoughts/2010/02/12/fixed-monospace-sizing/</a></p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Goulven</title>
		<link>http://thinkvitamin.com/design/setting-rather-than-resetting-default-styling/#comment-19283</link>
		<dc:creator>Goulven</dc:creator>
		<pubDate>Fri, 19 Mar 2010 09:15:51 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=4943#comment-19283</guid>
		<description>There&#039;s a little gotcha: an Ol inside an UL is styled as if it were an UL.

You need to replace ol li {/*styles...*/} with ol li, ul ol li {/*styles...*/} so that the UL rule doesn&#039;t apply blindly to OL inside UL.</description>
		<content:encoded><![CDATA[<p>There&#8217;s a little gotcha: an Ol inside an UL is styled as if it were an UL.</p>
<p>You need to replace ol li {/*styles&#8230;*/} with ol li, ul ol li {/*styles&#8230;*/} so that the UL rule doesn&#8217;t apply blindly to OL inside UL.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jorge Pedret</title>
		<link>http://thinkvitamin.com/design/setting-rather-than-resetting-default-styling/#comment-19229</link>
		<dc:creator>Jorge Pedret</dc:creator>
		<pubDate>Thu, 18 Mar 2010 00:07:14 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=4943#comment-19229</guid>
		<description>Hey Thierry, I want to reduce the font-size on a global scale, I know of the issues with the font size and different browsers, and I already declared the font-size:100.01% in the html tag, now where is the best place to globally reduce the font size? is it in the body or in my main wrapper? and should it be with em or %?

Thanks for this! It&#039;s my first project trying this style sheet :-)</description>
		<content:encoded><![CDATA[<p>Hey Thierry, I want to reduce the font-size on a global scale, I know of the issues with the font size and different browsers, and I already declared the font-size:100.01% in the html tag, now where is the best place to globally reduce the font size? is it in the body or in my main wrapper? and should it be with em or %?</p>
<p>Thanks for this! It&#8217;s my first project trying this style sheet :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Skowronek</title>
		<link>http://thinkvitamin.com/design/setting-rather-than-resetting-default-styling/#comment-19181</link>
		<dc:creator>Skowronek</dc:creator>
		<pubDate>Tue, 16 Mar 2010 17:21:05 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=4943#comment-19181</guid>
		<description>I am constantly baseline &quot;setting&quot; CSS that has been &quot;reset&quot; rather than &quot;set&quot; right from the beginning. I&#039;m glad I&#039;m not the only one the subscribes to this methodology.</description>
		<content:encoded><![CDATA[<p>I am constantly baseline &#8220;setting&#8221; CSS that has been &#8220;reset&#8221; rather than &#8220;set&#8221; right from the beginning. I&#8217;m glad I&#8217;m not the only one the subscribes to this methodology.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://thinkvitamin.com/design/setting-rather-than-resetting-default-styling/#comment-19169</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Tue, 16 Mar 2010 10:16:47 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=4943#comment-19169</guid>
		<description>Glad somebody finally said this! Seems a bit silly to set everything back to zero, then set it to the way you want it to display again after that. 

If you are supplying your client with a CMS, there really are only a handful of tags they will be able to use anyway, so there&#039;s no point going over the top and resetting everything. 

I would want tags to display in some tailored form, even if I hadn&#039;t added CSS for them. So, for instance, if I hadn&#039;t restyled a list item and someone used it on the site, it would be better to display as the default browser list item, than to have no margin, padding, or bullets because I&#039;d reset everything.</description>
		<content:encoded><![CDATA[<p>Glad somebody finally said this! Seems a bit silly to set everything back to zero, then set it to the way you want it to display again after that. </p>
<p>If you are supplying your client with a CMS, there really are only a handful of tags they will be able to use anyway, so there&#8217;s no point going over the top and resetting everything. </p>
<p>I would want tags to display in some tailored form, even if I hadn&#8217;t added CSS for them. So, for instance, if I hadn&#8217;t restyled a list item and someone used it on the site, it would be better to display as the default browser list item, than to have no margin, padding, or bullets because I&#8217;d reset everything.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramon</title>
		<link>http://thinkvitamin.com/design/setting-rather-than-resetting-default-styling/#comment-19122</link>
		<dc:creator>Ramon</dc:creator>
		<pubDate>Fri, 12 Mar 2010 16:18:43 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=4943#comment-19122</guid>
		<description>I think that&#039;s the idea Darren, if you are using vertical rhythm you should add it to the base css to fits your design. More if it&#039;s a text based design.</description>
		<content:encoded><![CDATA[<p>I think that&#8217;s the idea Darren, if you are using vertical rhythm you should add it to the base css to fits your design. More if it&#8217;s a text based design.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramon</title>
		<link>http://thinkvitamin.com/design/setting-rather-than-resetting-default-styling/#comment-19121</link>
		<dc:creator>Ramon</dc:creator>
		<pubDate>Fri, 12 Mar 2010 16:11:48 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=4943#comment-19121</guid>
		<description>Wow, finally i find somebody who thinks the same way i have been thinking about this for years. I actually have a &quot;common.css&quot; file that sets and fixes common elements/problems that i adapt to every project, instead of a reset.css.
Nice to know that i wasn&#039;t that crazy...</description>
		<content:encoded><![CDATA[<p>Wow, finally i find somebody who thinks the same way i have been thinking about this for years. I actually have a &#8220;common.css&#8221; file that sets and fixes common elements/problems that i adapt to every project, instead of a reset.css.<br />
Nice to know that i wasn&#8217;t that crazy&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Raasch</title>
		<link>http://thinkvitamin.com/design/setting-rather-than-resetting-default-styling/#comment-19119</link>
		<dc:creator>Jon Raasch</dc:creator>
		<pubDate>Fri, 12 Mar 2010 15:58:58 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=4943#comment-19119</guid>
		<description>I definitely understand your approach here, I just know it will be a bit of growing pains for any dev who wants to start using this (and is used to using a reset.css).  

I only mention that because when I first started using the &#039;donkey reset&#039; ( *{margin:0;padding:0} ) I had some growing pains because I was used to inputs with padding, etc.  Then when I switched over to the YUI reset, I had a bit more of the same.

Switching back will cause this all over again, but like I said, I definitely understand where you&#039;re coming from, and what better time to get started, right?</description>
		<content:encoded><![CDATA[<p>I definitely understand your approach here, I just know it will be a bit of growing pains for any dev who wants to start using this (and is used to using a reset.css).  </p>
<p>I only mention that because when I first started using the &#8216;donkey reset&#8217; ( *{margin:0;padding:0} ) I had some growing pains because I was used to inputs with padding, etc.  Then when I switched over to the YUI reset, I had a bit more of the same.</p>
<p>Switching back will cause this all over again, but like I said, I definitely understand where you&#8217;re coming from, and what better time to get started, right?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.210 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-02-09 04:17:39 -->

