<?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>Brandon Bloch</title>
	<atom:link href="http://brandonbloch.ca/feed/" rel="self" type="application/rss+xml" />
	<link>http://brandonbloch.ca</link>
	<description>Custom web and graphic design to suit your every need</description>
	<lastBuildDate>Wed, 27 Apr 2011 01:09:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>The Three-Way Doors of CSS</title>
		<link>http://brandonbloch.ca/2010/03/02/the-three-way-doors-of-css/</link>
		<comments>http://brandonbloch.ca/2010/03/02/the-three-way-doors-of-css/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 04:11:02 +0000</pubDate>
		<dc:creator>Brandon Bloch</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://brandonbloch.ca/?p=72</guid>
		<description><![CDATA[For anybody curious about how a complex image, such as this website’s post background (a pad of paper) or the sidebar widgets (sticky notes), can resize without breaking the image, read on: The simplest way to do this would really be using a table, with three rows and a single column: &#60;table&#62; &#60;tr&#62; &#60;td background="img/top.png"&#62;&#60;/td&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>For anybody curious about how a complex image, such as this website’s post background (a pad of paper) or the sidebar widgets (sticky notes), can resize without breaking the image, read on:</p>
<p>The simplest way to do this would really be using a table, with three rows and a single column:</p>
<pre>&lt;table&gt;
    &lt;tr&gt;
        &lt;td background="img/top.png"&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td background="img/middle.png"&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td background="img/bottom.png"&gt;&lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;</pre>
<p>The top and bottom cells could be given absolute dimensions, and the middle cell could be given an absolute width but no height, so it can expand to accommodate a large or small amount of content.</p>
<p>This technique comes with drawbacks, though:  the text can only be situated on the center section.  This does not produce a very impressive effect, as it is easy to see how you created the expanding container.  Also, using tables to create a website layout is never a good idea—you should use <code>&lt;div&gt;</code> tags to produce a website’s layout, using <code>&lt;table&gt;</code> tags only for displaying tabled content.</p>
<p>Secondly, if you look at the sticky notes on this page or the torn section of the paper, for example, you see that the text can overlap both the top and bottom images—an effect that can not only prove to be useful, but one that will have visitors and web designers alike wondering “how you got your image to magically expand”.</p>
<p>There is a simple—and more standards-compliant and valid—way to make this “magically resizing container”:  using <code>&lt;div&gt;</code> tags.</p>
<p><span id="more-72"></span></p>
]]></content:encoded>
			<wfw:commentRss>http://brandonbloch.ca/2010/03/02/the-three-way-doors-of-css/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>First Post</title>
		<link>http://brandonbloch.ca/2010/02/24/first-post/</link>
		<comments>http://brandonbloch.ca/2010/02/24/first-post/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 18:42:19 +0000</pubDate>
		<dc:creator>Brandon Bloch</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://brandonbloch.ca/?p=22</guid>
		<description><![CDATA[Hello, web designers—whether just starting out, or seasoned. I decided a while back that I would convert my website, which was at that time in Flash format, to pure HTML, CSS, and PHP. Flash is incredibly unreliable, and to be honest, I needed a change from that cramped layout. So here we are now, in [...]]]></description>
			<content:encoded><![CDATA[<p>Hello, web designers—whether just starting out, or seasoned.</p>
<p>I decided a while back that I would convert my website, which was at that time in Flash format, to pure HTML, CSS, and PHP.  Flash is incredibly unreliable, and to be honest, I needed a change from that cramped layout.  So here we are now, in my self-hosted <a title="WordPress" href="http://wordpress.org">WordPress</a> blog-slash-website.</p>
<p>I began with a beautiful WordPress theme, Nick La’s <a href="http://www.ndesign-studio.com/wp-themes/notepad">Notepad</a>.  I couldn’t stand not designing my own work, so I instantly started to create a new theme.  And here we are!  If you see anything unfinished, it is because this blog is in progress (in blog-ress?  Nah…).</p>
<p>Other than that, stay post<span style="text-decoration: underline;">ed</span>.  Because I will stay <em>here</em>, post<span style="text-decoration: underline;">ing</span>.</p>
<p style="text-align: right;"><em>- Brandon</em></p>
]]></content:encoded>
			<wfw:commentRss>http://brandonbloch.ca/2010/02/24/first-post/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

