<?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>Nordic Design Blog &#187; CSS</title>
	<atom:link href="http://www.nordicdesignblog.com/nordicdesign/css/feed" rel="self" type="application/rss+xml" />
	<link>http://www.nordicdesignblog.com</link>
	<description>a blog about creative design and life in nordic countries</description>
	<lastBuildDate>Tue, 07 Feb 2012 12:32:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>morteniveland.net v.4!!!</title>
		<link>http://www.nordicdesignblog.com/archives/1312</link>
		<comments>http://www.nordicdesignblog.com/archives/1312#comments</comments>
		<pubDate>Wed, 06 Feb 2008 14:06:21 +0000</pubDate>
		<dc:creator>Nordic Design Photo Pool</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[ND pool on Flickr]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Morten Iveland has added a photo to the pool:

New version of www.morteniveland.net]]></description>
			<content:encoded><![CDATA[<p><a  href="http://www.flickr.com/people/iveland/" rel="nofollow" class="flickr">Morten Iveland</a> has added a photo to the pool:</p>

<p><a  href="http://www.flickr.com/photos/iveland/2245830871/" title="morteniveland.net v.4!!!" rel="nofollow" class="flickr liimagelink"><img src="http://farm3.static.flickr.com/2330/2245830871_3880d53407_m.jpg" width="240" height="150" alt="morteniveland.net v.4!!!" /></a></p>

<p>New version of <a  href="http://www.morteniveland.net" class="liexternal" rel="nofollow">www.morteniveland.net</a></p>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: 'morteniveland.net v.4!!! on Nordic Design Blog',url: 'http://www.nordicdesignblog.com/archives/1312',contentID: 'post-1312',code: 'Igor7269',suggestTags: '',providerName: 'Nordic Design Blog',styling: 'text' });return false" class="evernoteSiteMemoryLink"><img src="http://static.evernote.com/article-clipper.png" class="evernoteSiteMemoryButton" />
				</a>				<div class="evernoteSiteMemoryClear">&nbsp;</div>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.nordicdesignblog.com/archives/1312/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://farm3.static.flickr.com/2330/2245830871_e9f0b6b01f_o.jpg" length="" type="image/jpeg" />
		</item>
		<item>
		<title>Simple CSS Layout</title>
		<link>http://www.nordicdesignblog.com/archives/216</link>
		<comments>http://www.nordicdesignblog.com/archives/216#comments</comments>
		<pubDate>Tue, 08 Nov 2005 13:27:18 +0000</pubDate>
		<dc:creator>dolfint</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://blog.coderlab.us/2005/11/03/14/</guid>
		<description><![CDATA[<pre><code>Note: By mistake I deleted the original post (dated 08.08.05), so I&#38;#8217;m posting it again  
While I was working on a big project at work, I happened to use CSS a lot and gained a bit of experience and a better understanding on how to manipulate elements and all that stuff. 
Well, by doing [...]
</code></pre>]]></description>
			<content:encoded><![CDATA[<p>While I was working on a big project at work, I happened to use CSS a lot and gained a bit of experience and a better understanding on how to manipulate elements and all that stuff.</p>

<p>Well, by doing lots of &#8216;experiments&#8217; I came up with a technique (which, by the way, I haven&#8217;t seen anywhere else) that would make a page have its header and footer to the top and bottom of the browser window as if it was made using tables. I have an <a  href="http://www.coderlab.us/samples/hcf2.html" class="liexternal" rel="nofollow">example</a> where you can see what I mean. 
The <a  href="http://www.coderlab.us/samples/hcf1.html" class="liexternal" rel="nofollow">layout</a>, consists only of a header, contents and footer. This is just the &#8216;begining&#8217; because I am still experimenting to expand this technique to use it with columns too. </p>

<p>Now going back to the topic, in my research to find a way to accomplish what I wanted, I always found examples where the container would hold the header, contents and footer&#8230; but this wouldn&#8217;t produce the results I wanted. </p>

<p>By the way, although &#8216;m not a writer, I will do my best to explain this technique; please bare with me. 
This technique consists of placing the header and the contents inside the container only. The footer will be placed outside the container; this will allow us to &#8216;push&#8217;; the footer all the way down and manipulate its position. 
In the definition of the container id, we define a height of 100% for Internet Explorer and create a filter for Firefox and other CSS2 compliant browsers like so: 
    <div>
    <pre>
html>body #container {
   height: auto;
   min-height: 100%;
}
</pre>
Internet Explorer will automatically expand if the contents are larger than the 100% of the screen. In the filter, we define a height with its value set to auto so if the contents are <a  href="http://www.coderlab.us/samples/hcf3.html" class="liexternal" rel="nofollow">larger</a> than the 100% the screen they won&#8217;t overflow outside the container; if we don&#8217;t set the min-height to 100%, the contents div will not expand all the way to the bottom of the screen if the contents div is either empty or with few text.</div></p>

<p>Then, we define the contents div like so:
    <pre></pre></p>

<h1>contents{</h1>

<p>padding: 10px 10px 100px 10px;
}
</p>

<p>As you can see, we set the bottom padding to 100px. The reason for this is so the footer won&#8217;t overlap over the header if there is no text in the contents div and to leave some space in between both of them if the browser window is resized to a small size.</p>

<p>Finally, we define the footer div as follows: 
    <pre></pre></p>

<h1>footer{</h1>

<p>position: relative;
 bottom: 0;
 background-color: #f90;
 margin: -100px auto 0 auto;
 height: 100px;
 width: 760px;
}
</p>

<p>Since the position of the footer is set to relative, it will be pushed down all the way to the bottom, even beyond the 100% of the user&#8217;s screen. For this reason, as you can see in the definition, we give it a top margin of -100px (which is the same value of the footer&#8217;s height) and then we give it the same positioning and width values as the container so that they align as they should.</p>

<p>That&#8217;s it! You can take it from here and tweak it as needed. See the source code for more details.I hope this technique helps and saves you some time <img src='http://www.nordicdesignblog.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .
    <div>Buggy in Opera 7.5. It won&#8217;t automatically resize until you reload the page.
    <p>Works fine in: </p>
    <ul>
    <li>Windows XP<br />
    <ul>
    <li>Firefox 1.4 </li>
    <li>Internet Explorer 6.0 </li>
    </ul>
    </li>
    <li>Macintosh<br />
    <ul>
    <li>Firefox 1.0.1 </li>
    <li>Safari 2.0 </li>
    </ul>
    </li>
    <li>Linux (Fedora Core 3)<br />
    <ul>
    <li>Firefox 1.4 </li>
    <li>Konqueror 3.4 </li>
    </ul>
    </li>
    </ul>
    <p>Doesn&#8217;t work: </p>
    <ul>
    <li>Internet Explorer 5.2 (Macintosh)</li>
    </ul>
    </div>
    </p>

<p>To <a  rel="nofollow" href="http://www.corp.ca.gov/ole/oleqa.htm" class="liexternal">find web host</a> independent hosting review sites are a great help that provide information and tips to help you find the right <a  href="http://www.ffiec.gov/nicpubweb/content/help/LinkAdvancedSearchAllinstitutions.htm" class="liexternal" rel="nofollow">webhosting</a> plan for you. The same is dedicated to make you access to the most renowned hosting services such as <a  href="http://www.envisionwebhosting.com/reviews/1and1-hosting.htm" class="liexternal" rel="nofollow">1and1</a>. Some of them enlist the top few dozens of the <a  href="http://www.envisionwebhosting.com" class="liexternal" rel="nofollow">cheap hosting</a> service providers ranked on the basis of price, uptime, speed, support and the number of <a  href="http://www.envisionwebhosting.com/dedicated-servers.htm" class="liexternal" rel="nofollow">dedicated servers</a>.</p>

<p>If need some help for  <a  href="http://www.actualtests.com/exam-642-973.htm" class="liexternal" rel="nofollow">642-973</a> and <a  href="http://www.realtests.com/exam/1z0-052.htm" class="liexternal" rel="nofollow">1z0-052</a> then get the latest  <a  href="http://www.certexpert.com/VCP-410.html" class="liexternal" rel="nofollow">VCP-410</a> compiled by our certified experts to help you pass exam in first attempt.You can also download  <a  href="http://www.brain-dumps.me/exam/70-515.html" class="liexternal" rel="nofollow">70-515 dumps</a> and <a  href="http://www.brain-dumps.info/70-648.html" class="liexternal" rel="nofollow">70-648 dumps</a>.</p>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: 'Simple CSS Layout on Nordic Design Blog',url: 'http://www.nordicdesignblog.com/archives/216',contentID: 'post-216',code: 'Igor7269',suggestTags: '',providerName: 'Nordic Design Blog',styling: 'text' });return false" class="evernoteSiteMemoryLink"><img src="http://static.evernote.com/article-clipper.png" class="evernoteSiteMemoryButton" />
				</a>				<div class="evernoteSiteMemoryClear">&nbsp;</div>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.nordicdesignblog.com/archives/216/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Approximate Conversion from Points to Pixels</title>
		<link>http://www.nordicdesignblog.com/archives/99</link>
		<comments>http://www.nordicdesignblog.com/archives/99#comments</comments>
		<pubDate>Tue, 20 Sep 2005 15:08:59 +0000</pubDate>
		<dc:creator>Igor Polyakov</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.nordicdesignblog.com/wordpress/?p=99</guid>
		<description><![CDATA[Have you had ever a task to build web layout measured in points? It&#8217;s looks unusual, but in practice there are cases when it&#8217;s really necessary. Here is a resource that may help you: Approximate Conversion from Points to Pixels It&#8217;s a chart that converts points to pixels (and ems and %). It&#8217;s an approximation, [...]]]></description>
			<content:encoded><![CDATA[<p>Have you had ever a task to build web layout measured in points? It&#8217;s looks unusual, but in practice there are cases when it&#8217;s really necessary. Here is a resource that may help you: <a  href="http://www.reeddesign.co.uk/test/points-pixels.html" class="liexternal" rel="nofollow">Approximate Conversion from Points to Pixels</a> </p>

<p><em>It&#8217;s a chart that converts points to pixels (and ems and %). It&#8217;s an approximation, which will depend on font, browser and OS, but it&#8217;s a good starting point.</em></p>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: 'Approximate Conversion from Points to Pixels on Nordic Design Blog',url: 'http://www.nordicdesignblog.com/archives/99',contentID: 'post-99',code: 'Igor7269',suggestTags: '',providerName: 'Nordic Design Blog',styling: 'text' });return false" class="evernoteSiteMemoryLink"><img src="http://static.evernote.com/article-clipper.png" class="evernoteSiteMemoryButton" />
				</a>				<div class="evernoteSiteMemoryClear">&nbsp;</div>
</div><p><a  class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.nordicdesignblog.com%2Farchives%2F99&#038;title=Approximate%20Conversion%20from%20Points%20to%20Pixels" id="wpa2a_2"><img src="http://www.nordicdesignblog.com/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.nordicdesignblog.com/archives/99/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A List Apart: Articles: High-Resolution Image Printing</title>
		<link>http://www.nordicdesignblog.com/archives/69</link>
		<comments>http://www.nordicdesignblog.com/archives/69#comments</comments>
		<pubDate>Tue, 06 Sep 2005 05:59:26 +0000</pubDate>
		<dc:creator>Igor Polyakov</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.nordicdesignblog.com/wordpress/?p=69</guid>
		<description><![CDATA[From A List Apart: Articles: High-Resolution Image Printing This very interesting article on A List Apart describes the technique for printing graphics of the web page as high-resolution images: You probably already know how to use media-specific CSS to provide a suitable layout for the printed page. But how great would it be to be [...]]]></description>
			<content:encoded><![CDATA[<p>From <a  href="http://www.alistapart.com/articles/hiresprinting" class="liexternal" rel="nofollow">A List Apart: Articles: High-Resolution Image Printing</a></p>

<p>This very interesting article on A List Apart describes the technique for printing graphics of the web page as high-resolution images:</p>

<blockquote>You probably already know how to use media-specific CSS to provide a suitable layout for the printed page.

But how great would it be to be able to go further and provide a better print alternative through the use of specific high-resolution images specifically for print? Awesome? Here’s how.</blockquote>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: 'A List Apart: Articles: High-Resolution Image Printing on Nordic Design Blog',url: 'http://www.nordicdesignblog.com/archives/69',contentID: 'post-69',code: 'Igor7269',suggestTags: '',providerName: 'Nordic Design Blog',styling: 'text' });return false" class="evernoteSiteMemoryLink"><img src="http://static.evernote.com/article-clipper.png" class="evernoteSiteMemoryButton" />
				</a>				<div class="evernoteSiteMemoryClear">&nbsp;</div>
</div><p><a  class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.nordicdesignblog.com%2Farchives%2F69&#038;title=A%20List%20Apart%3A%20Articles%3A%20High-Resolution%20Image%20Printing" id="wpa2a_4"><img src="http://www.nordicdesignblog.com/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.nordicdesignblog.com/archives/69/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Page footer with CSS</title>
		<link>http://www.nordicdesignblog.com/archives/16</link>
		<comments>http://www.nordicdesignblog.com/archives/16#comments</comments>
		<pubDate>Fri, 12 Aug 2005 06:26:18 +0000</pubDate>
		<dc:creator>Igor Polyakov</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.nordicdesignblog.com/wordpress/?p=16</guid>
		<description><![CDATA[footer-css]]></description>
			<content:encoded><![CDATA[<p>Link: <a  href="http://www.webmasterworld.com/forum83/6525.htm" class="liexternal" rel="nofollow">Webmasterworld: Page Footer with CSS</a></p>

<p>This thread I have found useful when I had the task make a footer div that resides on the bottom of browser&#8217;s window if height of content is smaller than window height. If otherwise, it&#8217;s behaves as usual &#8211; going to the bottom of content.</p>

<p>I have used this method on my personal site, so you can see it in action: <a  href="http://www.polyakov.org" class="liexternal" rel="nofollow">www.polyakov.org</a> (tag: <a  href="http://technorati.com/tag/polyakov" rel="nofollow" class="liexternal">polyakov</a>) </p>

<p><strong>An important update:</strong> <em>I have redesigned site&#8217;s code with method by Juan from <a  href="http://blog.coderlab.us/" class="liexternal" rel="nofollow">blog.coderlab.us</a>, it&#8217;s seems even easier and uses less code than this approach.</em></p>

<p>Read the <a  href="http://www.webmasterworld.com/forum83/6525.htm" class="liexternal" rel="nofollow">whole thread&#8230;</a></p>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: 'Page footer with CSS on Nordic Design Blog',url: 'http://www.nordicdesignblog.com/archives/16',contentID: 'post-16',code: 'Igor7269',suggestTags: '',providerName: 'Nordic Design Blog',styling: 'text' });return false" class="evernoteSiteMemoryLink"><img src="http://static.evernote.com/article-clipper.png" class="evernoteSiteMemoryButton" />
				</a>				<div class="evernoteSiteMemoryClear">&nbsp;</div>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.nordicdesignblog.com/archives/16/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CSS Organization Tip 1: Flags</title>
		<link>http://www.nordicdesignblog.com/archives/12</link>
		<comments>http://www.nordicdesignblog.com/archives/12#comments</comments>
		<pubDate>Thu, 11 Aug 2005 09:34:40 +0000</pubDate>
		<dc:creator>Igor Polyakov</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.nordicdesignblog.com/wordpress/?p=12</guid>
		<description><![CDATA[Link: stopdesign -A very useful article to everybody who dealing with CSS. It&#8217;s so simple and powerful! Do you write and manage large CSS files? Ever get tired of scrolling up and down in search of a specific rule or set of rules? The CSS files I work with for client projects are often quite [...]]]></description>
			<content:encoded><![CDATA[<p>Link: <a  href="http://www.stopdesign.com/log/2005/05/03/css-tip-flags.html" class="liexternal" rel="nofollow">stopdesign</a></p>

<p>-A very useful article to everybody who dealing with CSS. It&#8217;s so simple and powerful!</p>

<blockquote>Do you write and manage large CSS files? Ever get tired of scrolling up and down in search of a specific rule or set of rules? The CSS files I work with for client projects are often quite long, requiring constant scrolling up and down several screen’s worth of text to alter rules or add new ones. While working on a current project, I just made a tiny little addition that makes finding what I want almost immediate.</blockquote>

<p><a  href="http://www.stopdesign.com/log/2005/05/03/css-tip-flags.html" class="liexternal" rel="nofollow">Read more:</a></p>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: 'CSS Organization Tip 1: Flags on Nordic Design Blog',url: 'http://www.nordicdesignblog.com/archives/12',contentID: 'post-12',code: 'Igor7269',suggestTags: '',providerName: 'Nordic Design Blog',styling: 'text' });return false" class="evernoteSiteMemoryLink"><img src="http://static.evernote.com/article-clipper.png" class="evernoteSiteMemoryButton" />
				</a>				<div class="evernoteSiteMemoryClear">&nbsp;</div>
</div><p><a  class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.nordicdesignblog.com%2Farchives%2F12&#038;title=CSS%20Organization%20Tip%201%3A%20Flags" id="wpa2a_6"><img src="http://www.nordicdesignblog.com/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.nordicdesignblog.com/archives/12/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

