<?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>Jefim Borissov &#187; css</title>
	<atom:link href="http://jefim.eu/blog/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://jefim.eu/blog</link>
	<description>Житие мое</description>
	<lastBuildDate>Fri, 05 Aug 2011 22:28:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
		<item>
		<title>Basic CSS layout</title>
		<link>http://jefim.eu/blog/2009/10/basic-css-layout/</link>
		<comments>http://jefim.eu/blog/2009/10/basic-css-layout/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 23:39:49 +0000</pubDate>
		<dc:creator>Jefim</dc:creator>
				<category><![CDATA[Web dev]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[layout]]></category>

		<guid isPermaLink="false">http://jefim.eu/blog/?p=256</guid>
		<description><![CDATA[The basic CSS layout I use in my work is plain simple - header, sontent, sidebar and footer. The HTML: &#60;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&#62; &#60;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"&#62; &#60;head&#62; &#60;title&#62;My page&#60;/title&#62; &#60;base href="http://localhost/" /&#62; &#60;link rel="stylesheet" href="css/style.css" /&#62; &#60;/head&#62; &#60;body&#62; &#60;div id="wrap"&#62; &#60;div id="header"&#62; Header &#60;/div&#62; &#60;div id="content"&#62; Content &#60;/div&#62; &#60;div id="sidebar"&#62; Sidebar [...]]]></description>
			<content:encoded><![CDATA[<p>The basic CSS layout I use in my work is plain simple - header, sontent, sidebar and footer.</p>
<p>The HTML:</p>
<pre name="code" class="html">&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"&gt;

&lt;head&gt;
  &lt;title&gt;My page&lt;/title&gt;
  &lt;base href="http://localhost/" /&gt;
  &lt;link rel="stylesheet" href="css/style.css" /&gt;
&lt;/head&gt;
&lt;body&gt;
  &lt;div id="wrap"&gt;
    &lt;div id="header"&gt;
      Header
    &lt;/div&gt;
    &lt;div id="content"&gt;
      Content
    &lt;/div&gt;
    &lt;div id="sidebar"&gt;
      Sidebar
    &lt;/div&gt;
    &lt;div class="clr"&gt;&lt;/div&gt;
    &lt;div id="footer"&gt;
      Footer
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<p>And the CSS is very simple:</p>
<pre name="code" class="css">#wrap    { width: 960px; margin: 0 auto; }
#header  { }
#content { width: 700px; float: left; }
#sidebar { width: 260px; float: right; }
#footer  { }
.clr     { clear:both; height:0px; overflow:hidden; }</pre>
<p>This is it. This code will show a simple page which is ready for hardcore modification. I know this is pretty basic yet it is one of the most used code snippets in my IDE. Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://jefim.eu/blog/2009/10/basic-css-layout/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>

