<?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>David Beck&#039;s Blog &#187; HTML</title>
	<atom:link href="http://davidbeckblog.com/tag/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://davidbeckblog.com</link>
	<description>The ramblings of an obsessed programmer</description>
	<lastBuildDate>Thu, 22 Jul 2010 18:01:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>That pesky white space</title>
		<link>http://davidbeckblog.com/2009/09/that-pesky-white-space/</link>
		<comments>http://davidbeckblog.com/2009/09/that-pesky-white-space/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 16:10:02 +0000</pubDate>
		<dc:creator>David Beck</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://davidbeckblog.com/?p=87</guid>
		<description><![CDATA[If your OCD like myself, and also suffer from the need to make websites, you may have run into this pesky problem when you lay out images and what not on a page. The problem comes when you try to mathematically determine the exact right padding so that all the objects are laid out evenly [...]]]></description>
			<content:encoded><![CDATA[<p>If your OCD like myself, and also suffer from the need to make websites, you may have run into this pesky problem when you lay out images and what not on a page. The problem comes when you try to mathematically determine the exact right padding so that all the objects are laid out evenly only to find that the last one falls off the end to the next line.<br />
<span id="more-87"></span><br />
What&#8217;s happening? You forgot about html white space. If you put any kind of space, tab or line break between elements, it ads a space. Even worse, you may try to adjust the padding so that it looks correct in your browser, and you go to a different computer and it is a completely different distance. This is because different browsers may have different font rendering.</p>
<p>The solution? Remove the white space.</p>
<pre>&lt;img src="first.png" /&gt;&lt;img src="second.png" /&gt;</pre>
<p>Make sure not to put any space in between.</p>
]]></content:encoded>
			<wfw:commentRss>http://davidbeckblog.com/2009/09/that-pesky-white-space/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
