<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Newbie Website Design</title>
	
	<link>http://www.newbiewebsitedesign.com</link>
	<description />
	<lastBuildDate>Tue, 03 May 2011 07:03:32 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/NewbieWebsiteDesign" /><feedburner:info uri="newbiewebsitedesign" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Learning some shorthand CSS (MFW#7)</title>
		<link>http://feedproxy.google.com/~r/NewbieWebsiteDesign/~3/HiBvtrAfMZA/learning-some-shorthand-css</link>
		<comments>http://www.newbiewebsitedesign.com/learning-some-shorthand-css#comments</comments>
		<pubDate>Sun, 13 Sep 2009 03:02:16 +0000</pubDate>
		<dc:creator>David R - Admin</dc:creator>
				<category><![CDATA[HTML / CSS]]></category>
		<category><![CDATA[My First Website]]></category>

		<guid isPermaLink="false">http://www.newbiewebsitedesign.com/?p=1718</guid>
		<description><![CDATA[&#8220;My First Website&#8221; series navigation: first post &#8212; whole series In the last post in this series we centered our web page, added some padding and margins, and put a border around it all. But, in order to do so, it took about 13 lines of CSS code. Ouch! Most people, after seeing that much [...]]]></description>
				<content:encoded><![CDATA[<p><span class="seriesnavi">&#8220;My First Website&#8221; series navigation: <a href="/getting-started-my-first-website">first post</a> &#8212; <a href="/category/my-first-website">whole series</a></span><br />
<br/><img src="http://www.newbiewebsitedesign.com/wp-content/uploads/2009/08/mfw7.jpg" alt="mfw7" title="mfw7" width="144" height="123" class="leftphoto" />In the last post in this series we centered our web page, added some padding and margins, and put a border around it all. But, in order to do so, it took about 13 lines of CSS code. Ouch! Most people, after seeing that much coding, would give up the idea of hand-coding a website and run to a WYSIWYG visual editor.</p>
<p>Never fear, there are actually a few ways to take that obnoxiously long CSS code and shrink it down to only 4 lines! In this post, you&#8217;ll learn how to miniaturize your CSS code and &mdash; as promised &mdash; talk about some spacing anomalies.</p>
<p><span id="more-1718"></span></p>
<h2>Recap: the full CSS code</h2>
<p>Here&#8217;s the full CSS code for our &#8220;style.css&#8221; file we ended up with in the last post:</p>
<div class="codesnippet">
#pagewrap {<br />
&nbsp;&nbsp;&nbsp;&nbsp;width: 800px;<br/><br />
&nbsp;&nbsp;&nbsp;&nbsp;border-top: 1px solid #000000;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-right: 1px solid #000000;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-bottom: 1px solid #000000;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-left: 1px solid #000000;<br/><br />
&nbsp;&nbsp;&nbsp;&nbsp;margin-left: auto;<br />
&nbsp;&nbsp;&nbsp;&nbsp;margin-right: auto;<br />
&nbsp;&nbsp;&nbsp;&nbsp;margin-top: 30px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;margin-bottom: 30px;<br/><br />
&nbsp;&nbsp;&nbsp;&nbsp;padding-top: 50px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;padding-right: 50px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;padding-bottom: 50px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;padding-left: 50px;<br />
}
</div>
<p>We won&#8217;t be making the &#8220;width&#8221; declaration any shorter because we can&#8217;t (so I won&#8217;t be including it in the following examples) but everything else can! Here we go&#8230;</p>
<h2>The quick border code</h2>
<p>We can quickly replace all four lines of the CSS code that makes the square border with this simple shorthand line of code:</p>
<div class="codesnippet">
&nbsp;&nbsp;&nbsp;&nbsp;border: 1px solid #000000;
</div>
<p>If we don&#8217;t specify top, right, bottom, or left in the border <strong>property</strong>, then a complete square border will be created.</p>
<h2>Easy padding</h2>
<p>The padding code can be shorted to one line:</p>
<div class="codesnippet">
&nbsp;&nbsp;&nbsp;&nbsp;padding: 50px;
</div>
<p>Just like the border property above, this will add 50 pixels of padding all around.</p>
<h2>Minimized margin</h2>
<p>Differing from the padding and border code, the margin code is a little longer:</p>
<div class="codesnippet">
&nbsp;&nbsp;&nbsp;&nbsp;margin: 30px auto 30px auto;
</div>
<p>What does it all mean? Read on&#8230;</p>
<h2>Tick-tock, think like a clock</h2>
<p>The four <strong>values</strong> in the margin declaration list the margin distances in this order: top, right, bottom, left. The easy way to remember this is to imagine a clock:<br />
<center><br />
<img src="http://www.newbiewebsitedesign.com/wp-content/uploads/2009/08/clock.jpg" alt="clock" title="clock" width="227" height="164" class="alignnone size-full wp-image-1722" /><br />
</center><br />
Here&#8217;s a little more detail:<br />
<center><br />
<img src="http://www.newbiewebsitedesign.com/wp-content/uploads/2009/08/margin.jpg" alt="margin" title="margin" width="503" height="121" class="alignnone size-full wp-image-1723" /><br />
</center></p>
<p>Each value can be different. For example: <strong>margin: 10px 50px 25px 30px;</strong> is perfectly fine. Also, padding can be written this way if each value is different.</p>
<h2>A little shorter</h2>
<p>The margin declaration can be shortened even further:</p>
<div class="codesnippet">
&nbsp;&nbsp;&nbsp;&nbsp;margin: 30px auto;
</div>
<p>In this case, the first value of &#8220;30px&#8221; is for the top and bottom. The second value of &#8220;auto&#8221; is for left and right. You can use this shorthand for padding as well.</p>
<h2>The final cleanup</h2>
<p>We can now replace all of that lengthy CSS code for the #pagewrap with the following:</p>
<div class="codesnippet">
#pagewrap {<br />
&nbsp;&nbsp;&nbsp;&nbsp;width: 800px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border: 1px solid #000000;<br />
&nbsp;&nbsp;&nbsp;&nbsp;margin: 30px auto;<br />
&nbsp;&nbsp;&nbsp;&nbsp;padding: 50px;<br />
}
</div>
<p>If you haven&#8217;t done so already, update your &#8220;style.css&#8221; file to the above code. You can then look at your &#8220;index.html&#8221; file in your browser. If all went well, you shouldn&#8217;t see any difference!</p>
<h2>Some spacing anomalies</h2>
<p>We declared that the padding should be 50 pixels all around. But if you look carefully you&#8217;ll notice that the padding at the top and the bottom look larger than on the sides (i.e. there is a greater distance between the top border and the &#8220;A Level 1 Heading&#8221; than there is between the left border and the text.) Here&#8217;s the web page to check out:</p>
<p><a href="/mfw-examples/post-6-4.html">View the web page</a></p>
<p>The reason is the <strong>&lt;h1&gt;</strong> heading and the <strong>&lt;p&gt;</strong> paragraphs have their own margins and padding. Both of these come from your browser&#8217;s default style sheet. You can change them by making your own style declarations in your &#8220;style.css&#8221; file. Let&#8217;s do that now by adding the following code:</p>
<div class="codesnippet">
h1 {<br />
&nbsp;&nbsp;&nbsp;&nbsp;margin: 0;<br />
&nbsp;&nbsp;&nbsp;&nbsp;padding: 0 0 10px 0;<br />
}
</div>
<p>This CSS code will remove the margins on the <strong>&lt;h1&gt;</strong> heading and add 10px of padding at the bottom to give us some space between the heading and the first paragraph.</p>
<p><a href="/mfw-examples/post-7-1.html">View the result</a></p>
<p>While this is closer to what we want, it&#8217;s still not perfect. There is still the issue of <strong>line-height</strong> that is adding some extra space above our heading and the issue of extra padding after the last paragraph. But since we&#8217;ve covered a lot of ground today, let&#8217;s cover those topics in a later post, shall we? <img src='http://www.newbiewebsitedesign.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<h2>Your homeowork</h2>
<p>As always, take some time to play around with the values for the padding and the margins. If you&#8217;re feeling adventurous, add some CSS to the h3 heading.</p>
<p>In the next post we&#8217;ll take a look at dividing up our web page even further by creating a separate header section for our website&#8217;s title and adding a little background color as well.</p>
<p>See you then! </p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=HiBvtrAfMZA:tt-inF0kui8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=HiBvtrAfMZA:tt-inF0kui8:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?i=HiBvtrAfMZA:tt-inF0kui8:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=HiBvtrAfMZA:tt-inF0kui8:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=HiBvtrAfMZA:tt-inF0kui8:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?i=HiBvtrAfMZA:tt-inF0kui8:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=HiBvtrAfMZA:tt-inF0kui8:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=HiBvtrAfMZA:tt-inF0kui8:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/NewbieWebsiteDesign/~4/HiBvtrAfMZA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.newbiewebsitedesign.com/learning-some-shorthand-css/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://www.newbiewebsitedesign.com/learning-some-shorthand-css</feedburner:origLink></item>
		<item>
		<title>How big is the Internet? And just how much of it is worth your time?</title>
		<link>http://feedproxy.google.com/~r/NewbieWebsiteDesign/~3/-hGRexv1vpw/how-big-is-the-internet</link>
		<comments>http://www.newbiewebsitedesign.com/how-big-is-the-internet#comments</comments>
		<pubDate>Wed, 05 Aug 2009 08:18:01 +0000</pubDate>
		<dc:creator>David R - Admin</dc:creator>
				<category><![CDATA[Glossary of Confusing Stuff]]></category>

		<guid isPermaLink="false">http://www.newbiewebsitedesign.com/?p=1666</guid>
		<description><![CDATA[It&#8217;s time to boggle your mind with some statistics&#8230; According to the most recent research, it is estimated that there are now over ONE TRILLION web pages on the Internet today. Both Google and Microsoft confirm this with Google stating that it already has those trillion+ web pages indexed (that&#8217;s gotta eat up a lot [...]]]></description>
				<content:encoded><![CDATA[<p>It&#8217;s time to boggle your mind with some statistics&#8230;</p>
<p><center><img src="http://www.newbiewebsitedesign.com/wp-content/uploads/2009/08/one-trillion.gif" alt="one-trillion" title="one-trillion" width="493" height="73"  /></center></p>
<p>According to the most recent research, it is estimated that there are now over ONE TRILLION web pages on the Internet today. Both Google and Microsoft confirm this with Google stating that it already has those trillion+ web pages indexed (that&#8217;s gotta eat up a lot of storage space.)</p>
<p>Putting this into perspective: it means that there are more web pages than there are humans living on this planet (world population is estimated to be approximately 6.7 billion). Taking it even further with a little bit of elementary arithmetic, it&#8217;s the same as saying that each one of us bipedal, opposable-thumbed, conscious individuals has about 150 web pages of content online.</p>
<p>If you spent only one minute to read each web page in existence today, it would take you about 31,000 years of non-stop reading to get to each one; no sleeping and no bathroom breaks (unless you&#8217;re using wireless laptop, netbook, or iPhone <img src='http://www.newbiewebsitedesign.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  )</p>
<p><span id="more-1666"></span></p>
<h2>Is it worth it?</h2>
<p>After stumbling across these statistics today only one thought bounces around the gray matter of my mind: <em>just how much of those trillion+ web pages are worth reading?</em> Honestly, if I could live to be 31,040 years old (my 40th birthday is next month) would it be worth my time to try to read it all?</p>
<p>The answer is, not surprisingly, <em>no</em> (which is all well and good, since I have no desire to live to be 31,040 years old.)</p>
<h2>The Internet junkyard</h2>
<p>The World Wide Web is filled with junk. There are countless websites overflowing with outdated and irrelevant information, abandoned websites and blogs litter the once neat and tidy Internet landscape, and websites build by people who truly believe that they can make &#8216;easy money&#8217; online are troublesome obstacles to getting at the really helpful information.</p>
<p>Don&#8217;t get me wrong. There are a lot of great products on the Internet. But there are many, many more so-called &#8220;review websites&#8221; whose only goal is to encourage you to buy the product it is promoting (so the website owner can earn a commission.) This is why I prefer review websites where the product&#8217;s quality rating is determined by visitors who vote on the product.</p>
<h2>What do you think?</h2>
<p>Do you ever ponder, as I sometimes do, just how many websites on the Internet are nothing but  junk? A few? Some of them? All of them?</p>
<p>To help get a feel for what NWD readers think, I&#8217;ve created a little poll. You can find it here to cast your vote:</p>
<p><center><a href="/poll-how-much-of-the-internet-is-pure-junk">Poll: How much of the Internet is pure junk?</a></center></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=-hGRexv1vpw:o9EP84g1SfE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=-hGRexv1vpw:o9EP84g1SfE:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?i=-hGRexv1vpw:o9EP84g1SfE:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=-hGRexv1vpw:o9EP84g1SfE:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=-hGRexv1vpw:o9EP84g1SfE:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?i=-hGRexv1vpw:o9EP84g1SfE:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=-hGRexv1vpw:o9EP84g1SfE:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=-hGRexv1vpw:o9EP84g1SfE:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/NewbieWebsiteDesign/~4/-hGRexv1vpw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.newbiewebsitedesign.com/how-big-is-the-internet/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.newbiewebsitedesign.com/how-big-is-the-internet</feedburner:origLink></item>
		<item>
		<title>HTML line break tag – when and how to use it</title>
		<link>http://feedproxy.google.com/~r/NewbieWebsiteDesign/~3/QiwKLh_V0N0/html-line-break-tag-cod</link>
		<comments>http://www.newbiewebsitedesign.com/html-line-break-tag-cod#comments</comments>
		<pubDate>Tue, 04 Aug 2009 13:16:20 +0000</pubDate>
		<dc:creator>David R - Admin</dc:creator>
				<category><![CDATA[Design and Layout]]></category>
		<category><![CDATA[Glossary of Confusing Stuff]]></category>
		<category><![CDATA[HTML / CSS]]></category>

		<guid isPermaLink="false">http://www.newbiewebsitedesign.com/?p=1629</guid>
		<description><![CDATA[A lot of beginners to website design want to know how to create a line break using HTML. And while the tag used to create a line break is easy to remember, knowing when and how to use it correctly is a little more complicated. In addition, there are many times when you shouldn&#8217;t even [...]]]></description>
				<content:encoded><![CDATA[<p><img src="http://www.newbiewebsitedesign.com/wp-content/uploads/2009/08/html-line-break-code.jpg" alt="HTML line break code" title="HTML line break code" width="144" height="123" class="leftphoto" />A lot of beginners to website design want to know how to create a line break using HTML. And while the tag used to create a line break is easy to remember, knowing when and how to use it correctly is a little more complicated. In addition, there are many times when you shouldn&#8217;t even use the HTML line break code at all.</p>
<p>In this post we&#8217;ll take a look at line breaks, what is the HTML tag for one, and when to <em>and not to</em> use them.</p>
<p>(By the way, if this is your first time visiting Newbie Website Design, then I encourage you to check out the <a href="/category/my-first-website">My First Website series</a> to learn how to build websites the right way.)</p>
<p>Let&#8217;s get learn more about HTML line breaks, shall we?</p>
<p><span id="more-1629"></span></p>
<h2>What is a line break?</h2>
<p>A <strong>line break</strong> is a special HTML tag that will force the very next the next character (or sentence or paragraph) to appear on a new line right below the one above. It is similar to pressing the &#8220;return&#8221; key when using a word processor.</p>
<h2>It isn&#8217;t gonna work</h2>
<p>If you&#8217;re using a text editing program like Notepad (Windows) or TextEdit (Mac) to write the HTML for your website, then pressing the return key in order to create line breaks isn&#8217;t going to work. You could press the return key a hundred times and you still won&#8217;t see those line breaks when you view your website with a browser. To get the desired line-breaking space that you want you either have to use the special HTML line break code or use <a href="/cascading-style-sheets-css">CSS</a> to do it for you.</p>
<h2>The HTML for a line break</h2>
<p>Here&#8217;s the HTML tag you need in order to make a line break:</p>
<div class="codesnippet">
&lt;br /&gt;
</div>
<p>Pretty simple, huh? Just plop this where you want a line break and you&#8217;re done!</p>
<p>Or are you&#8230;</p>
<h2>The wrong way to do line breaks</h2>
<p>Now, before you go adding the HTML line break code all over your layout, just remember this: if you ever decide to change the design of your website, then you may have to go through <em>all of your pages</em> and do some nasty hunt and replace.</p>
<p><em>For example:</em></p>
<p>Let&#8217;s say that you added two line breaks after all of the <strong>&lt;h1&gt;</strong> heading tags on your website. Later, if you decide that you only want one line break after the heading tags, then you have to erase all of the extra HTML line break code from every page. And if you have added line breaks after subheadings, paragraphs, and other layout elements, then let the editing nightmare begin!</p>
<h2>The better way to do line breaks</h2>
<p>Instead of relying on HTML for your line breaks, let an external CSS file handle the task. You won&#8217;t be using the <strong>&lt;br /&gt;</strong> tag. In its place you&#8217;ll be using a <strong>padding-bottom</strong> to get the job done right. By using CSS in an external file, you can control the height of this &#8220;padding&#8221; all throughout your website from one location.</p>
<p>(NOTE: to learn more about what an external CSS file is and how to make one, I strongly suggest going through the <a href="/category/my-first-website">My First Website series</a> here on Newbie Website Design. Post #5 talks specifically about how to add an <a href="/adding-css-to-a-website">external CSS file</a>. )</p>
<h2>The &#8220;non line break&#8221; line break</h2>
<p>Okay. Okay. So we&#8217;re not technically going to be adjusting the line breaks. But what we are going to do is control how much white space occurs after an element such as a heading or a paragraph. We do this by using <strong>padding-bottom</strong> in our CSS. It&#8217;s easy. Take a look:</p>
<div class="codesnippet">
h1 {<br />
&nbsp;&nbsp;&nbsp;&nbsp;padding-bottom: 20px;<br />
}
</div>
<p>This CSS simply tells the browser that all <strong>&lt;h1&gt;</strong> headings will have an extra 20 pixels of padding below it &mdash; right after the closing <strong>&lt;/h1&gt;</strong> tag. Any text that follows the heading will be pushed down by 20 pixels. You can do this after paragraphs, too:</p>
<div class="codesnippet">
p {<br />
&nbsp;&nbsp;&nbsp;&nbsp;padding-bottom: 15px;<br />
}
</div>
<p>The <strong>p</strong> represents the paragraph tags in your HTML. After a closing paragraph tag (<strong>&lt;/p&gt;</strong>) the very next element &mdash; be it a subheading or another paragraph &mdash; is pushed down 15 pixels.</p>
<h2>When to use an HTML line break</h2>
<p>Personally, there are only two times when I use an actual HTML line break in my designs&#8230;</p>
<h3>#1: One-shot deals</h3>
<p>If I need a little extra space in a design and I know 100% for certain that it won&#8217;t be repeated on other web pages I&#8217;ll use the <strong>&lt;br /&gt;</strong> tag. Before you add an HTML line break, be certain that it will never become a repeated part of every page of your layout.</p>
<h3>#2: Proper text layout</h3>
<p>There are times when you just have to make sure that the text of your layout flows correctly. Since all browsers won&#8217;t display your text exactly the same way, you can use HTML line breaks to ensure a clean look. A good example of this is when you have a centered heading that contains a lot of text. For example, this looks just horrible:</p>
<p><center><br />
<img src="http://www.newbiewebsitedesign.com/wp-content/uploads/2009/08/heading-bad.gif" alt="heading-bad" title="heading-bad" width="450" height="77" /><br />
</center></p>
<p>The word &#8220;system&#8221; hangs like deadweight at the bottom &mdash; stranded and all alone. But with a few line breaks we can make it look much, much better:</p>
<p><center><br />
<img src="http://www.newbiewebsitedesign.com/wp-content/uploads/2009/08/heading-good.gif" alt="heading-good" title="heading-good" width="398" height="78" /><br />
</center></p>
<p>Here&#8217;s the code (keep your eyes peeled for the HTML line break code):</p>
<div class="codesnippet">
&lt;h1&gt;Lose 20 pounds in 5 days with&lt;br /&gt;our 100% safe, all-natural&lt;br /&gt;weight-loss system!&lt;/h1&gt;
</div>
<h2>Conclusion</h2>
<p>Line breaks aren&#8217;t that hard to create with HTML. Because of that, they are extremely easy to add to a design. The downside is that by using them too much you might make updating or altering your website&#8217;s design and layout a major pain down the road. Start off right by adjusting the <strong>padding-bottom</strong> in an external CSS file and all future headaches will never cross your furrowed brow.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=QiwKLh_V0N0:WeXrJWHWOdE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=QiwKLh_V0N0:WeXrJWHWOdE:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?i=QiwKLh_V0N0:WeXrJWHWOdE:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=QiwKLh_V0N0:WeXrJWHWOdE:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=QiwKLh_V0N0:WeXrJWHWOdE:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?i=QiwKLh_V0N0:WeXrJWHWOdE:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=QiwKLh_V0N0:WeXrJWHWOdE:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=QiwKLh_V0N0:WeXrJWHWOdE:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/NewbieWebsiteDesign/~4/QiwKLh_V0N0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.newbiewebsitedesign.com/html-line-break-tag-cod/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://www.newbiewebsitedesign.com/html-line-break-tag-cod</feedburner:origLink></item>
		<item>
		<title>Margins, padding, and borders oh my! Plus centering a website with CSS (MFW#6)</title>
		<link>http://feedproxy.google.com/~r/NewbieWebsiteDesign/~3/MI5EPLJHAjk/margins-padding-borders-centering-website-with-css</link>
		<comments>http://www.newbiewebsitedesign.com/margins-padding-borders-centering-website-with-css#comments</comments>
		<pubDate>Mon, 03 Aug 2009 05:26:56 +0000</pubDate>
		<dc:creator>David R - Admin</dc:creator>
				<category><![CDATA[HTML / CSS]]></category>
		<category><![CDATA[My First Website]]></category>

		<guid isPermaLink="false">http://www.newbiewebsitedesign.com/?p=1529</guid>
		<description><![CDATA[&#8220;My First Website&#8221; series navigation: first post &#8212; whole series In this post of the &#8220;My First Website&#8221; series, we&#8217;re not going to touch the HTML of our website at all! Instead, we will focus only on the CSS. Specifically, how to add margins, padding, and borders. In addition, we are going to take our [...]]]></description>
				<content:encoded><![CDATA[<p><span class="seriesnavi">&#8220;My First Website&#8221; series navigation: <a href="/getting-started-my-first-website">first post</a> &#8212; <a href="/category/my-first-website">whole series</a></span><br />
<br/><img src="http://www.newbiewebsitedesign.com/wp-content/uploads/2009/08/mpb.jpg" alt="mpb" width="118" height="139" class="leftphoto" />In this post of the &#8220;My First Website&#8221; series, we&#8217;re not going to touch the HTML of our website at all! Instead, we will focus only on the <a href="/cascading-style-sheets-css">CSS</a>. Specifically, how to add margins, padding, and borders. In addition, we are going to take our web page (which was stuck hard and fast to the left side of the browser window) and center it using some simple CSS.</p>
<p>If you haven&#8217;t done so already, fire up Notepad (Windows) or TextEdit (Mac), open the document called &#8220;style.css&#8221;, and get your &#8220;index.html&#8221; loaded up in your browser to view your results as you go through this tutorial&#8230;</p>
<p><span id="more-1529"></span></p>
<h2>Adding a border using CSS</h2>
<p>The first thing we&#8217;re going to do to our &#8220;style.css&#8221; file is to add a border to #pagewrap. Here is what you should have written already for the #pagewrap id:</p>
<div class="codesnippet">
#pagewrap {<br />
&nbsp;&nbsp;&nbsp;&nbsp;width: 800px;<br />
}
</div>
<p>Next, we&#8217;re going to add four more lines of code to create a border around our page. Take a look at what your #pagewrap should look like with the new code:</p>
<div class="codesnippet">
#pagewrap {<br />
&nbsp;&nbsp;&nbsp;&nbsp;width: 800px;<br/><br />
&nbsp;&nbsp;&nbsp;&nbsp;border-top: 1px solid #000000;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-right: 1px solid #000000;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-bottom: 1px solid #000000;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-left: 1px solid #000000;<br />
}
</div>
<p>The &#8220;border-???&#8221; determines where the border will appear: top, right, bottom, or left. The &#8220;1px&#8221; means that the border will be 1 pixel in width. The &#8220;solid&#8221; means that the border will be a solid line (there are a few more styles of borders that I&#8217;ll get to in a minute.) And the #000000 is the <a href="/what-are-web-safe-hex-colors-html-chart">hex color code</a> for pure black.</p>
<p>Save your &#8220;style.css&#8221; file, fire up your browser, and view the file called &#8220;index.html&#8221; in your browser to see the result. It should look like this:</p>
<p><a href="/mfw-examples/post-6-1.html">View the result</a></p>
<h2>Different kinds of CSS borders</h2>
<p>There are actually nine different kinds of borders you can create using CSS, but four of the five require a different kind of code than what is listed above (and, in my opinion, look horrible) and one we we&#8217;ll get into in a later post. So, for now, here is a list of the most-often used borders that can be created with the above code:</p>
<ul>
<li><strong>solid</strong></li>
<li><strong>dotted</strong></li>
<li><strong>dashed</strong></li>
<li><strong>double</strong></li>
</ul>
<p>Here&#8217;s what they look like:</p>
<p><span style="border: 1px solid #000000; padding: 8px;">A solid border.</span><br />
<br/><br />
<span style="border: 1px dotted #000000; padding: 8px;">A dotted border.</span><br />
<br/><br />
<span style="border: 1px dashed #000000; padding: 8px;">A dashed border.</span><br />
<br/><br />
<span style="border: 3px double #000000; padding: 8px;">A double border.</span><br/><br />
(NOTE: The double border requires a minimum of 3px to display &mdash; 1px for one line, 1px for the other line, and 1px of white space between the two.)</p>
<h2>Adding margins and centering our website with CSS</h2>
<p>Let&#8217;s get our web page centered in the browser window. It&#8217;s quite easy, actually. Just add these two lines of CSS code after the border code:</p>
<div class="codesnippet">
&nbsp;&nbsp;&nbsp;&nbsp;margin-left: auto;<br />
&nbsp;&nbsp;&nbsp;&nbsp;margin-right: auto;
</div>
<p>As before, save your &#8220;style.css&#8221; and reload the &#8220;index.html&#8221; file in your browser to see the results. It should look like this:</p>
<p><a href="/mfw-examples/post-6-2.html">View the result</a></p>
<p>The &#8220;auto&#8221; means &#8220;automatic&#8221;, so the browser will automatically adjust the left-right margins of our web page. If you resize your browser window, the position of the web page will adjust accordingly.</p>
<p>Next, let&#8217;s put a little distance between the top and bottom of our web page and the browser window. Depending on your browser, there might already be a little space. This is because all browsers have quite a few default CSS settings. But when you create your own CSS, it will override the default settings. Add these two lines of code:</p>
<div class="codesnippet">
&nbsp;&nbsp;&nbsp;&nbsp;margin-top: 30px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;margin-bottom: 30px;
</div>
<p>And here&#8217;s the result:</p>
<p><a href="/mfw-examples/post-6-3.html">View the result</a></p>
<h2>Adding padding</h2>
<p>Finally we&#8217;re going to add some padding. The concept of padding is a little strange when you first begin using it. All it does is add some space between your content and the border. The strange part comes from how it changes the size of our #pagewrap.</p>
<p>We declared that our #pagewrap is to be 800px (pixels) wide. Adding the margins didn&#8217;t change its width &mdash; it&#8217;s still 800px wide. But when we add padding, the actual size of the page WILL change. The content will still be 800px wide, but the padding will add more pixels around the content.</p>
<p>Add this code to your CSS:</p>
<div class="codesnippet">
&nbsp;&nbsp;&nbsp;&nbsp;padding-top: 50px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;padding-right: 50px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;padding-bottom: 50px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;padding-left: 50px;
</div>
<p>Here&#8217;s the result:</p>
<p><a href="/mfw-examples/post-6-4.html">View the result</a></p>
<h2>Adding it all up</h2>
<p>Time to do the math. As I said above, margins don&#8217;t change the size of the page itself. But then we added 50px of padding all around. That means we now have an extra 50px of width on the left and an extra 50px of width on the right making our web page 900px wide.</p>
<p>But wait! Did you for get that we added a 1px border around the whole thing? Now we have to add 1px of width from the left side and one 1px of width from the right side.</p>
<p>The grand total is 902px wide!</p>
<p>Keep this in mind when you set the width of something using CSS. Margins don&#8217;t change the width, but adding a border or padding WILL!</p>
<h2>A GREAT way to view the CSS box model!</h2>
<p>Here&#8217;s a website that has a wonderful interactive representation of the CSS box model to help you understand all about margins, borders, padding, and more. Make sure to move the &#8220;perspective&#8221; slider at the bottom to see the full effect!</p>
<p><a href="http://redmelon.net/tstme/box_model/">>> The CSS box model <<</a></p>
<h2>The full CSS code</h2>
<p>This is what your &#8220;style.css&#8221; file should look like now:</p>
<div class="codesnippet">
#pagewrap {<br />
&nbsp;&nbsp;&nbsp;&nbsp;width: 800px;<br/><br />
&nbsp;&nbsp;&nbsp;&nbsp;border-top: 1px solid #000000;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-right: 1px solid #000000;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-bottom: 1px solid #000000;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-left: 1px solid #000000;<br/><br />
&nbsp;&nbsp;&nbsp;&nbsp;margin-left: auto;<br />
&nbsp;&nbsp;&nbsp;&nbsp;margin-right: auto;<br />
&nbsp;&nbsp;&nbsp;&nbsp;margin-top: 30px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;margin-bottom: 30px;<br/><br />
&nbsp;&nbsp;&nbsp;&nbsp;padding-top: 50px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;padding-right: 50px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;padding-bottom: 50px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;padding-left: 50px;<br />
}
</div>
<p><em>That&#8217;s a lot for just one pagewrap!</em></p>
<p>But, there actually is an easier way to write this so that it only takes up 4 lines instead of 13! (I&#8217;ll show you how in the next post in this series.) Besides, if I show you the short hand method first, then you might not know about the CSS code above (it is used quite often.)</p>
<h2>Your homework</h2>
<p>We covered a lot of material in this post (and thank goodness our web page is actually starting to look like a real page!) Go ahead an play with some of the numbers. Make your borders thicker, remove one or more of them, or change their style. Add more padding or take away some. Play with the width of #pagewrap to see what happens.</p>
<p><a href="/learning-some-shorthand-css">In the next post</a>, I&#8217;ll talk about the shorthand way to write all of the above CSS code as well as discuss some of the spacing issues you may have already caught (i.e. did you notice that there appears to be more padding on the top than on the sides? In the next post, you&#8217;ll discover the reason!)</p>
<p>Until next time!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=MI5EPLJHAjk:weQ7dgh6uyA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=MI5EPLJHAjk:weQ7dgh6uyA:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?i=MI5EPLJHAjk:weQ7dgh6uyA:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=MI5EPLJHAjk:weQ7dgh6uyA:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=MI5EPLJHAjk:weQ7dgh6uyA:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?i=MI5EPLJHAjk:weQ7dgh6uyA:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=MI5EPLJHAjk:weQ7dgh6uyA:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=MI5EPLJHAjk:weQ7dgh6uyA:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/NewbieWebsiteDesign/~4/MI5EPLJHAjk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.newbiewebsitedesign.com/margins-padding-borders-centering-website-with-css/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		<feedburner:origLink>http://www.newbiewebsitedesign.com/margins-padding-borders-centering-website-with-css</feedburner:origLink></item>
		<item>
		<title>9 hidden gems at Newbie Website Design</title>
		<link>http://feedproxy.google.com/~r/NewbieWebsiteDesign/~3/O11oI99hdeg/newbie-website-design-hidden-gems</link>
		<comments>http://www.newbiewebsitedesign.com/newbie-website-design-hidden-gems#comments</comments>
		<pubDate>Mon, 03 Aug 2009 00:45:18 +0000</pubDate>
		<dc:creator>David R - Admin</dc:creator>
				<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://www.newbiewebsitedesign.com/?p=1510</guid>
		<description><![CDATA[Blogs have a lot of posts &#8212; A LOT of them &#8212; and Newbie Website Design is no different. Unfortunately, most people don&#8217;t have the time to go back through the pages and pages of older posts looking for the &#8220;hidden gems&#8221; of great advice or even writing genius. To help those with limited time [...]]]></description>
				<content:encoded><![CDATA[<p>Blogs have a lot of posts &mdash; A LOT of them &mdash; and Newbie Website Design is no different. Unfortunately, most people don&#8217;t have the time to go back through the pages and pages of older posts looking for the &#8220;hidden gems&#8221; of great advice or even writing genius. <img src='http://www.newbiewebsitedesign.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  To help those with limited time to hunt for the good stuff, I&#8217;ve gone through the past posts and hand-picked some of the most popular from times gone by. Enjoy!</p>
<p><a href="/internet-forum-behavior">Internet forum behavior</a><br />
A short and funny video about how to behave on an Internet forum.</p>
<p><a href="/create-a-strong-secure-password">Create a strong, secure password</a><br />
Learn the right way to create an extremely hard-to-crack password.</p>
<p><a href="/technology-for-country-folk">Technology for country folk</a><br />
A humorous look at some common techno-lingo.</p>
<p><a href="/4-classic-navigation-positions">4 Classic navigation positions</a><br />
Learn about the 4 classic navigation positions as well as how to choose which is best for your website.</p>
<p><a href="/wysiwyg-or-not-to-wysiwyg">WYSIWYG or not to WYSIWYG?</a><br />
A quick look at why beginners to website design should avoid using visual WYSIWYG editors.</p>
<p><a href="/your-logo-makes-me-barf">Learning from “Your Logo Makes Me Barf”</a><br />
Learn what not to do when designing your logo with some &#8220;slap-your-forehead&#8221; examples.</p>
<p><a href="/make-my-logo-bigger-cream">Make My Logo BIGGER Cream!</a><br />
A humorous video that pokes fun at bad graphic design plus a few lessons you can pull from it.</p>
<p><a href="/boxes-the-building-blocks-of-websites">Boxes – the building blocks of websites</a><br />
A visual guide to help you uncover just where the invisible boxes of a website&#8217;s design are located.</p>
<p><a href="/cleaning-up-an-all-centered-website">Cleaning up an all-centered website</a><br />
Find out how to fix the most common mistake made by beginners to website design.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=O11oI99hdeg:ETvPn2GirdY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=O11oI99hdeg:ETvPn2GirdY:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?i=O11oI99hdeg:ETvPn2GirdY:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=O11oI99hdeg:ETvPn2GirdY:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=O11oI99hdeg:ETvPn2GirdY:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?i=O11oI99hdeg:ETvPn2GirdY:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=O11oI99hdeg:ETvPn2GirdY:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=O11oI99hdeg:ETvPn2GirdY:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/NewbieWebsiteDesign/~4/O11oI99hdeg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.newbiewebsitedesign.com/newbie-website-design-hidden-gems/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.newbiewebsitedesign.com/newbie-website-design-hidden-gems</feedburner:origLink></item>
		<item>
		<title>The best website fonts for legibility</title>
		<link>http://feedproxy.google.com/~r/NewbieWebsiteDesign/~3/lef5nvk1kE0/best-website-fonts-legibility</link>
		<comments>http://www.newbiewebsitedesign.com/best-website-fonts-legibility#comments</comments>
		<pubDate>Sun, 02 Aug 2009 04:19:57 +0000</pubDate>
		<dc:creator>David R - Admin</dc:creator>
				<category><![CDATA[Design and Layout]]></category>

		<guid isPermaLink="false">http://www.newbiewebsitedesign.com/?p=1498</guid>
		<description><![CDATA[In a previous post titled The best fonts for websites, I talked about how to choose the best fonts for your website so that no matter which operating system your visitor is using (Windows, Mac, Linux, etc.) or which version (Windows 98, XP, Vista, Mac OS 8 through 10.5) they will be able to see [...]]]></description>
				<content:encoded><![CDATA[<p><img src="http://www.newbiewebsitedesign.com/wp-content/uploads/2009/08/legibility.jpg" alt="Best fonts for website legibility" title="Best fonts for website legibility" width="118" height="139" class="leftphoto" />In a previous post titled <a href="best-fonts-for-websites-web-safe-fonts">The best fonts for websites</a>, I talked about how to choose the best fonts for your website so that no matter which operating system your visitor is using (Windows, Mac, Linux, etc.) or which version (Windows 98, XP, Vista, Mac OS 8 through 10.5) they will be able to see exactly what you intended.</p>
<p>In this post, however, I&#8217;d like to talk about which <em>font style</em> is best for legibility (i.e. which font is easiest to read on a computer monitor.) But before reading deeper into this post, I encourage you to check out the post mentioned above (<a href="best-fonts-for-websites-web-safe-fonts">The best fonts for websites</a>) as well as the post titled <a href="/different-types-of-fonts">Different types of fonts</a>. They both contain information that will help you understand this post.</p>
<p>All done? Ok! Let&#8217;s uncover which fonts are best for website legibility:</p>
<p><span id="more-1498"></span></p>
<h2>Serif fonts: The crowned ruler of the paper kingdom</h2>
<p>If you&#8217;ve ever read a typical magazine or book (that was actually printed on paper <img src='http://www.newbiewebsitedesign.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ), then you will have seen a <strong>serif font</strong> in action. Serif fonts &mdash; the kind of fonts with the little &#8220;slashes&#8221; at the ends of the letter strokes &mdash; are the best fonts for the printed word. Why is that? Because the little serifs actually help to make the letters flow together and make reading much easier on the eyes. Some common serif fonts that you probably know include <em>Times New Roman</em> and <em>Georgia</em>.</p>
<h2>The computer monitor conundrum</h2>
<p>There is one thing that many computer monitors lack that makes using the above mentioned serif fonts the perfect choice for your website: adequate resolution. <strong>Resolution</strong> is basically how many pixels your monitor can display. The more pixels there are, the more details you can have. For example: my monitor has a resolution of 1600 x 1050 (which is pretty darn good.) But not everyone has such a high resolution monitor. And in order for those little serifs to make reading easier, a large amount of detail is required. </p>
<p>Back in the day (which, in computer years, means about 10 years ago), the best monitor resolution was around 800 x 600. Not that great for serif fonts. And nowadays, devices like Apple&#8217;s iPhone (320 x 480) and the new genre of computers called <strong>netbooks</strong> (most being 800×480) &mdash; both of which can be used to surf the Internet &mdash; also have a somewhat &#8220;limited&#8221; resolution to accurately display those detailed serif fonts.</p>
<h2>Sans Serif fonts: The masters of all computer monitors</h2>
<p>Since not everyone has a high-resolution monitor to surf the Internet, we&#8217;ll have to avoid using serif fonts on our websites if we truly want the pure text (i.e. the sentences and full paragraphs of text) to be easy to read and easy on the eyes. That&#8217;s where the Sans Serif fonts come to the rescue.</p>
<p>For many years, sans serif fonts have been the main style of font used for the pure text of websites. Since they all lack the little &#8220;slashes&#8221; of the serif fonts, they don&#8217;t become garbled on lower-resolution monitors. This makes them the perfect choice for the pure text of your website.</p>
<p>Looking at the first list from the post titled <a href="best-fonts-for-websites-web-safe-fonts">The best fonts for websites</a> you can see only four serif fonts that all operating systems of all recent versions can display. Those are:</p>
<ul>
<li>Arial</li>
<li>Helvetica</li>
<li>Trebuchet MS</li>
<li>Verdana</li>
</ul>
<p>If you stick to using one of these for the pure text of your website&#8217;s content, then you will have almost guaranteed the legibility of your text. Your visitors may not directly thank you for it, but they will be much happier when reading the inspiring words you so arduously brought forth from the creative depths of your mind.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=lef5nvk1kE0:v_fk5aPSwCw:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=lef5nvk1kE0:v_fk5aPSwCw:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?i=lef5nvk1kE0:v_fk5aPSwCw:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=lef5nvk1kE0:v_fk5aPSwCw:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=lef5nvk1kE0:v_fk5aPSwCw:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?i=lef5nvk1kE0:v_fk5aPSwCw:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=lef5nvk1kE0:v_fk5aPSwCw:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=lef5nvk1kE0:v_fk5aPSwCw:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/NewbieWebsiteDesign/~4/lef5nvk1kE0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.newbiewebsitedesign.com/best-website-fonts-legibility/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://www.newbiewebsitedesign.com/best-website-fonts-legibility</feedburner:origLink></item>
		<item>
		<title>Screencast #4: Make a negative space logo in Photoshop</title>
		<link>http://feedproxy.google.com/~r/NewbieWebsiteDesign/~3/AXJgmZHtejg/negative-space-logo-in-photoshop</link>
		<comments>http://www.newbiewebsitedesign.com/negative-space-logo-in-photoshop#comments</comments>
		<pubDate>Fri, 31 Jul 2009 14:30:49 +0000</pubDate>
		<dc:creator>David R - Admin</dc:creator>
				<category><![CDATA[Photoshop Mastery]]></category>
		<category><![CDATA[Screencasts]]></category>

		<guid isPermaLink="false">http://www.newbiewebsitedesign.com/?p=1478</guid>
		<description><![CDATA[In a previous post called Creative use of negative space in logos, I presented a list of very cool logos that use negative space (a.k.a. white space) to bring out hidden letters or shapes. The graphic used at the beginning of that post wasn&#8217;t something I found on the Internet but rather something I created [...]]]></description>
				<content:encoded><![CDATA[<p><img src="http://www.newbiewebsitedesign.com/wp-content/uploads/2009/07/sc-space.jpg" alt="Photoshop screencast for beginners" title="Photoshop screencast for beginners" width="118" height="139" class="leftphoto" />In a previous post called <a href="/creative-use-of-negative-space-in-logos">Creative use of negative space in logos</a>, I presented a list of very cool logos that use negative space (a.k.a. white space) to bring out hidden letters or shapes. The graphic used at the beginning of that post wasn&#8217;t something I found on the Internet but rather something I created in Photoshop.</p>
<p>In this screencast, you&#8217;re going to learn how to create one for yourself. In addition, I threw in a few more ultra-convenient keyboard shortcuts to help you get around Photoshop in style!</p>
<p>Click the &#8220;Read on&#8230;&#8221; link below to view the screencast:</p>
<p><span id="more-1478"></span></p>
<p><center><br />
<embed src="http://blip.tv/play/AYGVl0cA" type="application/x-shockwave-flash" width="480" height="350" allowscriptaccess="always" allowfullscreen="true"></embed><br />
</center><br/><br/></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=AXJgmZHtejg:kaz01X3cXAQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=AXJgmZHtejg:kaz01X3cXAQ:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?i=AXJgmZHtejg:kaz01X3cXAQ:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=AXJgmZHtejg:kaz01X3cXAQ:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=AXJgmZHtejg:kaz01X3cXAQ:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?i=AXJgmZHtejg:kaz01X3cXAQ:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=AXJgmZHtejg:kaz01X3cXAQ:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=AXJgmZHtejg:kaz01X3cXAQ:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/NewbieWebsiteDesign/~4/AXJgmZHtejg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.newbiewebsitedesign.com/negative-space-logo-in-photoshop/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.newbiewebsitedesign.com/negative-space-logo-in-photoshop</feedburner:origLink></item>
		<item>
		<title>The best colors for a website’s content</title>
		<link>http://feedproxy.google.com/~r/NewbieWebsiteDesign/~3/0sd3KLrgmiA/best-colors-for-website</link>
		<comments>http://www.newbiewebsitedesign.com/best-colors-for-website#comments</comments>
		<pubDate>Thu, 30 Jul 2009 14:20:30 +0000</pubDate>
		<dc:creator>David R - Admin</dc:creator>
				<category><![CDATA[Design and Layout]]></category>
		<category><![CDATA[Newbie Design Mistakes]]></category>

		<guid isPermaLink="false">http://www.newbiewebsitedesign.com/?p=1449</guid>
		<description><![CDATA[Nothing can influence your website&#8217;s visitors more than its colors. Colors create the mood and set the matching tone for your content. The right colors in the right places can excite, inspire, and encourage your visitors to dig deeper into your website. On the flip side, the wrong colors in the important places can destroy [...]]]></description>
				<content:encoded><![CDATA[<p><img src="http://www.newbiewebsitedesign.com/wp-content/uploads/2009/07/eye.jpg" alt="eye" title="eye" width="118" height="139" class="leftphoto" />Nothing can influence your website&#8217;s visitors more than its colors. Colors create the mood and set the matching tone for your content. The right colors in the right places can excite, inspire, and encourage your visitors to dig deeper into your website. On the flip side, the <em>wrong colors</em> in the important places can destroy all of the hard work you put into the graphic elements of your website design.</p>
<p>Many beginners to website design ask &#8220;<em>What are the best colors for a website design?&#8221;</em> Well, before you can even decide a total color pallet for your website, you need to know <strong>what are the best colors for your website&#8217;s content</strong>.</p>
<p>After reading this post, you&#8217;ll know.</p>
<p><span id="more-1449"></span></p>
<h2>It&#8217;s all about the eyes</h2>
<p>What&#8217;s the number one reason a person visits your website? Is it for the ultra-cool graphics and design? Nope. People come to your site for one thing only: <em>to read your content</em>. Granted, your eye-popping graphics many intrigue a visitor enough not to click the back button on their browser right away. But if your <strong>content</strong> (the main text of your website) is hard to read, then they&#8217;ll abandon your website and you will have just lost a visitor for good.</p>
<p>Choosing the best colors your website begins with choosing the best colors for your website&#8217;s content &mdash; colors that make reading easy on the eyes. But just what are the best colors? Before getting into that, let&#8217;s look at some bad color choices.</p>
<h2>What not to do</h2>
<p>If you really want to strain people&#8217;s eyes and annoy them to extremes, then by all means do any one of the following:</p>
<ul>
<li>Put white or light text on black or dark background</li>
<li>Use two colors that have little contrast between them</li>
<li>Have lots of black text on a yellow background</li>
</ul>
<p>Take a look at this example:<br />
<center></p>
<div style="width: 400px; padding: 15px; color: #FFFFFF; background-color: #000000; text-align: left;">
Here is an example of white text on a black background. Many gothic, grunge, and (sadly) graphic design websites use this. Unfortunately, if the visitor is going to have to read a lot of text like this, it WILL put a strain the eyes. How do I know? Years of research in the field of website usability has proven so.
</div>
<p></center></p>
<p>I don&#8217;t know about you, but reading that white text on a black background really bugged me. And you know what? It bugs most website visitors. </p>
<p>Here&#8217;s another:<br />
<center></p>
<div style="width: 400px; padding: 15px; color: #3399CC; background-color: #66CCFF; text-align: left">
I actually visited a website that used these colors for the background and the text. Maybe the designer thought it added a feeling of calming serenity to the site. But I just ended up getting a splitting headache trying to read line after line of the stuff.
</div>
<p></center></p>
<p>One more:<br />
<center></p>
<div style="width: 400px; padding: 15px; color: #000000; background-color: #FFFF99; text-align: left">
Having a yellow background with black text might not seem too bad, but it has been proven to cause eye-strain if the majority of the content is displayed this way. Use this only when you want to draw attention to short sections of text.
</div>
<p></center></p>
<h2>The best colors for a website&#8217;s content</h2>
<p>I realize that it might not be the most flashy and eye-catching, but the best colors for a website&#8217;s content are black or dark-gray text on a white or very light, pastel-colored background. These combinations create the right amount of contrast for reading while avoiding or lessening the strain on the eyes. (By the way, Newbie Website Design uses dark-gray text on a white background. The headings and bolded text are in black.)</p>
<h2>Final thoughts</h2>
<p>As stated above, the main reason people visit your website is to read your content. Even if your graphics are stunning and the design is top-notch, no one will stick around or visit again if the text is hard to read. Make it easy for them by choosing dark text colors on a very light or white background.</p>
<p>Now, the only thing you need to worry about is writing good content! <img src='http://www.newbiewebsitedesign.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=0sd3KLrgmiA:68l5We5UJpM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=0sd3KLrgmiA:68l5We5UJpM:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?i=0sd3KLrgmiA:68l5We5UJpM:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=0sd3KLrgmiA:68l5We5UJpM:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=0sd3KLrgmiA:68l5We5UJpM:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?i=0sd3KLrgmiA:68l5We5UJpM:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=0sd3KLrgmiA:68l5We5UJpM:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?a=0sd3KLrgmiA:68l5We5UJpM:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/NewbieWebsiteDesign?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/NewbieWebsiteDesign/~4/0sd3KLrgmiA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.newbiewebsitedesign.com/best-colors-for-website/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		<feedburner:origLink>http://www.newbiewebsitedesign.com/best-colors-for-website</feedburner:origLink></item>
	</channel>
</rss>
