<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Hot Marketing Tips for Business Owners &#187; styles</title>
	<atom:link href="http://www.defactomind.com/tag/styles/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.defactomind.com</link>
	<description>Marketing Playground Designed to Educate, Entertain, Engage and Enrich Business Owners</description>
	<lastBuildDate>Fri, 13 May 2011 03:01:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Normalizing CSS Styles</title>
		<link>http://www.defactomind.com/design/normalizing-css-styles/</link>
		<comments>http://www.defactomind.com/design/normalizing-css-styles/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 18:12:54 +0000</pubDate>
		<dc:creator>Claudiu Geanta</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[clean code]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[normalizing]]></category>
		<category><![CDATA[styles]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://www.defactomind.com/?p=1589</guid>
		<description><![CDATA[Before you even start contemplating the code for your new design, it’s good practice to normalize all elements in your first lines within the CSS file.  “Normalizing” – means you are overriding all browser styles; which will appear if you do not provide code for styling. Due to the fact that your final design should [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><p>Before you even start contemplating the code for your new design, it’s good practice to normalize all elements in your first lines within the CSS file. </p>
<blockquote><p>“Normalizing” – means you are overriding all browser styles; which will appear if you do not provide code for styling.</p></blockquote>
<p>Due to the fact that your final design should show well with a variety of browsers, you should also know that different browsers have different style defaults. By normalizing your CSS code, you are actually setting all these styles under your control (to some degree).</p>
<p>Here’s a list of normalizing your elements:</p>
<p><strong>/*Margin and Padding */<br />
</strong>body, div, dl, dt, ol, ul, li, h1, h2, h3, h4, h5, h6, p, blocquote<br />
{margin: 0; padding: 0}</p>
<p><strong>/* Font Size */<br />
</strong>h1, h2, h3, h4, h5, h6, p<br />
{font-size: 100%}</p>
<p><strong>/* Normalize Lists */<br />
</strong>ul, ol<br />
{list-style: none}</p>
<p><strong>/* Font Style and Font Weight */<br />
</strong>p, h1, h2, h3, h4, h5, h6, strong, address, caption<br />
{font-style: normal; font-weight: normal}</p>
<p><strong>/* Remove borders or spacing from tables */<br />
</strong>table<br />
{ border-collapse: collapse; border-spacing: 0}</p>
<p><strong>/* Remove borders from images */<br />
</strong>img<br />
{ border: 0}</p>
<blockquote><p>Take in consideration all these style elements before you actually start your coding in CSS and you should have a clean slate when testing in different browsers. Good luck!</p></blockquote>
<h6 class="zemanta-related-title" style="font-size: 1em;">Related articles by Zemanta</h6>
<ul class="zemanta-article-ul">
<li class="zemanta-article-ul-li"><a href="http://www.labnol.org/internet/create-css-websites-online/11556/">Turn Your Sketches into CSS Based Websites</a> (labnol.org)</li>
</ul>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><img class="zemanta-pixie-img" style="float: right;" src="http://img.zemanta.com/pixy.gif?x-id=8d63d400-8b12-4c9b-80f4-915490320266" alt="" /><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
<div class="shr-publisher-1589"></div><!-- Start Shareaholic LikeButtonSetBottom --><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://www.defactomind.com/design/normalizing-css-styles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

