<?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>Css Snippets &#187; W3C</title>
	<atom:link href="http://www.csssnippets.be/category/w3c/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.csssnippets.be</link>
	<description>Snippets for you, snippets for me</description>
	<lastBuildDate>Mon, 17 Oct 2011 08:42:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Javascript toevoegen aan je HTML</title>
		<link>http://www.csssnippets.be/2010/04/javascript-toevoegen-aan-je-html/</link>
		<comments>http://www.csssnippets.be/2010/04/javascript-toevoegen-aan-je-html/#comments</comments>
		<pubDate>Sun, 18 Apr 2010 19:08:17 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[W3C]]></category>
		<category><![CDATA[Xhtml Strict]]></category>
		<category><![CDATA[insert]]></category>
		<category><![CDATA[toevoegen]]></category>

		<guid isPermaLink="false">http://www.csssnippets.be/?p=771</guid>
		<description><![CDATA[Uit de zoekopdrachten blijkt dat het bij bepaalde personen niet duidelijk is hoe JavaScript aan je HTML wordt toegevoegd:]]></description>
			<content:encoded><![CDATA[<p>Uit de zoekopdrachten blijkt dat het bij bepaalde personen niet duidelijk is hoe JavaScript aan je HTML wordt toegevoegd:</p>
<h3>HTML</h3>
<pre title="code" class="xhtml">
&lt;script type="text/javascript"&gt;
 alert("Hello World!");
&lt;/script&gt;
</pre>
<p>of een extern JavaScript bestand:</p>
<pre title="code" class="xhtml">
&lt;script type="text/javascript" src="pad/naar/je/javascript.js"&gt;&lt;/script&gt;
</pre>



	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.csssnippets.be%2F2010%2F04%2Fjavascript-toevoegen-aan-je-html%2F&amp;title=Javascript%20toevoegen%20aan%20je%20HTML&amp;annotation=Uit%20de%20zoekopdrachten%20blijkt%20dat%20het%20bij%20bepaalde%20personen%20niet%20duidelijk%20is%20hoe%20JavaScript%20aan%20je%20HTML%20wordt%20toegevoegd%3A" class="google bookmarks" title="Google Bookmarks">Google Bookmarks</a>
	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.csssnippets.be%2F2010%2F04%2Fjavascript-toevoegen-aan-je-html%2F&amp;title=Javascript%20toevoegen%20aan%20je%20HTML&amp;bodytext=Uit%20de%20zoekopdrachten%20blijkt%20dat%20het%20bij%20bepaalde%20personen%20niet%20duidelijk%20is%20hoe%20JavaScript%20aan%20je%20HTML%20wordt%20toegevoegd%3A" class="digg" title="Digg">Digg</a>
	<a rel="nofollow" href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http%3A%2F%2Fwww.csssnippets.be%2F2010%2F04%2Fjavascript-toevoegen-aan-je-html%2F&amp;Title=Javascript%20toevoegen%20aan%20je%20HTML" class="blinklist" title="BlinkList">BlinkList</a>
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.csssnippets.be%2F2010%2F04%2Fjavascript-toevoegen-aan-je-html%2F" class="technorati" title="Technorati">Technorati</a>
	<a rel="nofollow" href="http://twitter.com/home?status=Javascript%20toevoegen%20aan%20je%20HTML%20-%20http%3A%2F%2Fwww.csssnippets.be%2F2010%2F04%2Fjavascript-toevoegen-aan-je-html%2F" class="twitter" title="Twitter">Twitter</a>
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fwww.csssnippets.be%2F2010%2F04%2Fjavascript-toevoegen-aan-je-html%2F&amp;title=Javascript%20toevoegen%20aan%20je%20HTML&amp;notes=Uit%20de%20zoekopdrachten%20blijkt%20dat%20het%20bij%20bepaalde%20personen%20niet%20duidelijk%20is%20hoe%20JavaScript%20aan%20je%20HTML%20wordt%20toegevoegd%3A" class="delicious" title="del.icio.us">del.icio.us</a>
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.csssnippets.be%2F2010%2F04%2Fjavascript-toevoegen-aan-je-html%2F&amp;t=Javascript%20toevoegen%20aan%20je%20HTML" class="facebook" title="Facebook">Facebook</a>
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.csssnippets.be%2F2010%2F04%2Fjavascript-toevoegen-aan-je-html%2F&amp;title=Javascript%20toevoegen%20aan%20je%20HTML" class="stumbleupon" title="StumbleUpon">StumbleUpon</a>

<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.csssnippets.be/2010/04/javascript-toevoegen-aan-je-html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery &#8211; bepaal atribuut waarde</title>
		<link>http://www.csssnippets.be/2010/01/jquery-bepaal-atribuut-waarde/</link>
		<comments>http://www.csssnippets.be/2010/01/jquery-bepaal-atribuut-waarde/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 07:59:47 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[W3C]]></category>
		<category><![CDATA[attribuut]]></category>
		<category><![CDATA[maak bepaal]]></category>
		<category><![CDATA[set]]></category>
		<category><![CDATA[verander]]></category>

		<guid isPermaLink="false">http://www.csssnippets.be/?p=730</guid>
		<description><![CDATA[Zoals je in de vorige Snippet kon zien hoe je een waarde van een attribuut kon opvragen, je kan deze waarde ook zetten/aanpassen:]]></description>
			<content:encoded><![CDATA[<p>Zoals je in de vorige Snippet kon zien hoe je een waarde van een attribuut kon opvragen, je kan deze waarde ook zetten/aanpassen:</p>
<h3>jQuery</h3>
<pre title="code" class="javascript">
&lt;![CDATA[
// op alle links een titel zetten
$("a").attr("title", "dit is een link");

// alle images een alt toevoegen
$("img").attr("alt", "Logo");

//meerdere atributen toevoegen
$("img").attr({
 src: "/images/hat.gif",
 title: "titeltitel",
 alt: "alt omschrijving"
});
]]&gt;
</pre>



	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.csssnippets.be%2F2010%2F01%2Fjquery-bepaal-atribuut-waarde%2F&amp;title=jQuery%20-%20bepaal%20atribuut%20waarde&amp;annotation=Zoals%20je%20in%20de%20vorige%20Snippet%20kon%20zien%20hoe%20je%20een%20waarde%20van%20een%20attribuut%20kon%20opvragen%2C%20je%20kan%20deze%20waarde%20ook%20zetten%2Faanpassen%3A" class="google bookmarks" title="Google Bookmarks">Google Bookmarks</a>
	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.csssnippets.be%2F2010%2F01%2Fjquery-bepaal-atribuut-waarde%2F&amp;title=jQuery%20-%20bepaal%20atribuut%20waarde&amp;bodytext=Zoals%20je%20in%20de%20vorige%20Snippet%20kon%20zien%20hoe%20je%20een%20waarde%20van%20een%20attribuut%20kon%20opvragen%2C%20je%20kan%20deze%20waarde%20ook%20zetten%2Faanpassen%3A" class="digg" title="Digg">Digg</a>
	<a rel="nofollow" href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http%3A%2F%2Fwww.csssnippets.be%2F2010%2F01%2Fjquery-bepaal-atribuut-waarde%2F&amp;Title=jQuery%20-%20bepaal%20atribuut%20waarde" class="blinklist" title="BlinkList">BlinkList</a>
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.csssnippets.be%2F2010%2F01%2Fjquery-bepaal-atribuut-waarde%2F" class="technorati" title="Technorati">Technorati</a>
	<a rel="nofollow" href="http://twitter.com/home?status=jQuery%20-%20bepaal%20atribuut%20waarde%20-%20http%3A%2F%2Fwww.csssnippets.be%2F2010%2F01%2Fjquery-bepaal-atribuut-waarde%2F" class="twitter" title="Twitter">Twitter</a>
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fwww.csssnippets.be%2F2010%2F01%2Fjquery-bepaal-atribuut-waarde%2F&amp;title=jQuery%20-%20bepaal%20atribuut%20waarde&amp;notes=Zoals%20je%20in%20de%20vorige%20Snippet%20kon%20zien%20hoe%20je%20een%20waarde%20van%20een%20attribuut%20kon%20opvragen%2C%20je%20kan%20deze%20waarde%20ook%20zetten%2Faanpassen%3A" class="delicious" title="del.icio.us">del.icio.us</a>
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.csssnippets.be%2F2010%2F01%2Fjquery-bepaal-atribuut-waarde%2F&amp;t=jQuery%20-%20bepaal%20atribuut%20waarde" class="facebook" title="Facebook">Facebook</a>
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.csssnippets.be%2F2010%2F01%2Fjquery-bepaal-atribuut-waarde%2F&amp;title=jQuery%20-%20bepaal%20atribuut%20waarde" class="stumbleupon" title="StumbleUpon">StumbleUpon</a>

<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.csssnippets.be/2010/01/jquery-bepaal-atribuut-waarde/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery &#8211; verkrijg html-tag attribuut</title>
		<link>http://www.csssnippets.be/2010/01/jquery-verkrijg-html-tag-attribuut/</link>
		<comments>http://www.csssnippets.be/2010/01/jquery-verkrijg-html-tag-attribuut/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 07:47:57 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[W3C]]></category>
		<category><![CDATA[attribuut]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[tag]]></category>

		<guid isPermaLink="false">http://www.csssnippets.be/?p=724</guid>
		<description><![CDATA[Met jQuery kun je elke attribuut waarde (<em>id, class, name, title, href ...</em>) opvragen van eender welke HTML tag door gebruik te maken van de attr() funktie. Het resultaat is een string die de attribuut waarde is.]]></description>
			<content:encoded><![CDATA[<p>Met jQuery kun je elke attribuut waarde (<em>id, class, name, title, href &#8230;</em>) opvragen van eender welke HTML tag door gebruik te maken van de attr() funktie. Het resultaat is een string die de attribuut waarde is.</p>
<h3>HTML</h3>
<pre title="code" class="xhtml">
&lt;div class="myContainer" id="wrapper"&gt;
  Some content
  &lt;a id="siteLink" title="Google" href="http://www.csssnippets.be"&gt;link&lt;/a&gt;
&lt;/div&gt;
</pre>
<h3>jQuery</h3>
<pre title="code" class="javascript">
&lt;![CDATA[
// geef waarde id attribuut van de div
var divID = $("div.myContainer").attr("id");

// geef waarde title attribute van de link
var linkTitle = $("#siteLink").attr("title");
]]&gt;
</pre>



	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.csssnippets.be%2F2010%2F01%2Fjquery-verkrijg-html-tag-attribuut%2F&amp;title=jQuery%20-%20verkrijg%20html-tag%20attribuut&amp;annotation=Met%20jQuery%20kun%20je%20elke%20attribuut%20waarde%20%28id%2C%20class%2C%20name%2C%20title%2C%20href%20...%29%20opvragen%20van%20eender%20welke%20HTML%20tag%20door%20gebruik%20te%20maken%20van%20de%20attr%28%29%20funktie.%20Het%20resultaat%20is%20een%20string%20die%20de%20attribuut%20waarde%20is." class="google bookmarks" title="Google Bookmarks">Google Bookmarks</a>
	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.csssnippets.be%2F2010%2F01%2Fjquery-verkrijg-html-tag-attribuut%2F&amp;title=jQuery%20-%20verkrijg%20html-tag%20attribuut&amp;bodytext=Met%20jQuery%20kun%20je%20elke%20attribuut%20waarde%20%28id%2C%20class%2C%20name%2C%20title%2C%20href%20...%29%20opvragen%20van%20eender%20welke%20HTML%20tag%20door%20gebruik%20te%20maken%20van%20de%20attr%28%29%20funktie.%20Het%20resultaat%20is%20een%20string%20die%20de%20attribuut%20waarde%20is." class="digg" title="Digg">Digg</a>
	<a rel="nofollow" href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http%3A%2F%2Fwww.csssnippets.be%2F2010%2F01%2Fjquery-verkrijg-html-tag-attribuut%2F&amp;Title=jQuery%20-%20verkrijg%20html-tag%20attribuut" class="blinklist" title="BlinkList">BlinkList</a>
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.csssnippets.be%2F2010%2F01%2Fjquery-verkrijg-html-tag-attribuut%2F" class="technorati" title="Technorati">Technorati</a>
	<a rel="nofollow" href="http://twitter.com/home?status=jQuery%20-%20verkrijg%20html-tag%20attribuut%20-%20http%3A%2F%2Fwww.csssnippets.be%2F2010%2F01%2Fjquery-verkrijg-html-tag-attribuut%2F" class="twitter" title="Twitter">Twitter</a>
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fwww.csssnippets.be%2F2010%2F01%2Fjquery-verkrijg-html-tag-attribuut%2F&amp;title=jQuery%20-%20verkrijg%20html-tag%20attribuut&amp;notes=Met%20jQuery%20kun%20je%20elke%20attribuut%20waarde%20%28id%2C%20class%2C%20name%2C%20title%2C%20href%20...%29%20opvragen%20van%20eender%20welke%20HTML%20tag%20door%20gebruik%20te%20maken%20van%20de%20attr%28%29%20funktie.%20Het%20resultaat%20is%20een%20string%20die%20de%20attribuut%20waarde%20is." class="delicious" title="del.icio.us">del.icio.us</a>
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.csssnippets.be%2F2010%2F01%2Fjquery-verkrijg-html-tag-attribuut%2F&amp;t=jQuery%20-%20verkrijg%20html-tag%20attribuut" class="facebook" title="Facebook">Facebook</a>
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.csssnippets.be%2F2010%2F01%2Fjquery-verkrijg-html-tag-attribuut%2F&amp;title=jQuery%20-%20verkrijg%20html-tag%20attribuut" class="stumbleupon" title="StumbleUpon">StumbleUpon</a>

<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.csssnippets.be/2010/01/jquery-verkrijg-html-tag-attribuut/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Template download: Shape</title>
		<link>http://www.csssnippets.be/2009/12/template-download-shape/</link>
		<comments>http://www.csssnippets.be/2009/12/template-download-shape/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 07:19:18 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[template]]></category>
		<category><![CDATA[valid]]></category>
		<category><![CDATA[W3C]]></category>
		<category><![CDATA[Xhtml Strict]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[gratis]]></category>
		<category><![CDATA[layout]]></category>
		<category><![CDATA[psd]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://www.csssnippets.be/?p=675</guid>
		<description><![CDATA[Download een professionele W3C gevalideerde XHTML/CSS template genoemd Shape.]]></description>
			<content:encoded><![CDATA[<p>Download een professionele W3C gevalideerde XHTML/CSS template genoemd Shape.</p>
<h4>Download</h4>
<ol>
<li><a href="http://www.csssnippets.be/wp-content/plugins/cimy-counter/cc_redirect.php?cc=Shape-preview&#038;fn=http://www.csssnippets.be/wp-content/2009/12/Shape-large.jpg">Preview/Voorbeeld (.jpg)</a> <small>(282)</small></li>
<li><a href="http://www.csssnippets.be/wp-content/plugins/cimy-counter/cc_redirect.php?cc=Shape-zip&#038;fn=http://www.csssnippets.be/wp-content/2009/12/shape.zip">PSD + (X)HTML/CSS (.zip)</a> <small>(101)</small></li>
</ol>



	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F12%2Ftemplate-download-shape%2F&amp;title=Template%20download%3A%20Shape&amp;annotation=Download%20een%20professionele%20W3C%20gevalideerde%20XHTML%2FCSS%20template%20genoemd%20Shape." class="google bookmarks" title="Google Bookmarks">Google Bookmarks</a>
	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F12%2Ftemplate-download-shape%2F&amp;title=Template%20download%3A%20Shape&amp;bodytext=Download%20een%20professionele%20W3C%20gevalideerde%20XHTML%2FCSS%20template%20genoemd%20Shape." class="digg" title="Digg">Digg</a>
	<a rel="nofollow" href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F12%2Ftemplate-download-shape%2F&amp;Title=Template%20download%3A%20Shape" class="blinklist" title="BlinkList">BlinkList</a>
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F12%2Ftemplate-download-shape%2F" class="technorati" title="Technorati">Technorati</a>
	<a rel="nofollow" href="http://twitter.com/home?status=Template%20download%3A%20Shape%20-%20http%3A%2F%2Fwww.csssnippets.be%2F2009%2F12%2Ftemplate-download-shape%2F" class="twitter" title="Twitter">Twitter</a>
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F12%2Ftemplate-download-shape%2F&amp;title=Template%20download%3A%20Shape&amp;notes=Download%20een%20professionele%20W3C%20gevalideerde%20XHTML%2FCSS%20template%20genoemd%20Shape." class="delicious" title="del.icio.us">del.icio.us</a>
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F12%2Ftemplate-download-shape%2F&amp;t=Template%20download%3A%20Shape" class="facebook" title="Facebook">Facebook</a>
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F12%2Ftemplate-download-shape%2F&amp;title=Template%20download%3A%20Shape" class="stumbleupon" title="StumbleUpon">StumbleUpon</a>

<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.csssnippets.be/2009/12/template-download-shape/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>5 handige clear float tips</title>
		<link>http://www.csssnippets.be/2009/11/5-handige-clear-float-tips/</link>
		<comments>http://www.csssnippets.be/2009/11/5-handige-clear-float-tips/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 06:10:59 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[hack]]></category>
		<category><![CDATA[Non Valid]]></category>
		<category><![CDATA[solution]]></category>
		<category><![CDATA[W3C]]></category>
		<category><![CDATA[Xhtml Strict]]></category>
		<category><![CDATA[clear]]></category>
		<category><![CDATA[clearfix]]></category>
		<category><![CDATA[float]]></category>
		<category><![CDATA[handig]]></category>
		<category><![CDATA[layout]]></category>

		<guid isPermaLink="false">http://www.csssnippets.be/?p=609</guid>
		<description><![CDATA[Floats moeten altijd gecleard worden als je geen onvoorziene omstandigheden wilt hebben in je layout, hier zijn 5 handige manieren om dit te doen:]]></description>
			<content:encoded><![CDATA[<p>Floats moeten altijd gecleard worden als je geen onvoorziene omstandigheden wilt hebben in je layout, hier zijn 5 handige manieren om dit te doen:</p>
<h4>Tip 1</h4>
<h3>HTML</h3>
<pre title="code" class="xhtml">
&lt;div id="outer"&gt;
	&lt;div id="inner"&gt;
		&lt;p&gt;big floating contents&lt;/p&gt;
	&lt;/div&gt;
	&lt;p&gt;Main Content&lt;/p&gt;
&lt;/div&gt;
</pre>
<h3>CSS</h3>
<pre title="code" class="css">
#outer {
overflow: auto;
height: 1%; /* for IE6 */
}
</pre>
<h4>Tip 2</h4>
<h3>HTML</h3>
<pre title="code" class="xhtml">
&lt;div class="clearfix"&gt;
	&lt;div class="floater"&gt;This text won't extend past the bottom of the "clearfix" div.&lt;/div&gt;
&lt;/div&gt;
</pre>
<h3>CSS</h3>
<pre title="code" class="css">
.clearfix:after {
content: ".";
display: block;
height: 0;
font-size: 0;
clear: both;
visibility: hidden;
}
.clearfix {
display: inline-block;
}
/* Hides from IE5/Mac \*/
* html .clearfix {
height: 1px;
}
.clearfix {
display: block;
}
/* End hide from IE5/Mac */
</pre>
<h4>Tip 3</h4>
<h3>HTML</h3>
<pre title="code" class="xhtml">
&lt;div class="spacer"&gt;&lt;/div&gt;
</pre>
<h3>CSS</h3>
<pre title="code" class="css">
div.spacer {
clear: both;
}
</pre>
<h4>Tip 4</h4>
<h3>HTML</h3>
<pre title="code" class="xhtml">
&lt;br /&gt;
</pre>
<h3>CSS</h3>
<pre title="code" class="css">
br {
clear: both;
height:0;
font-size: 1px;
line-height: 0;
}
</pre>
<h4>Tip 5</h4>
<h3>HTML</h3>
<pre title="code" class="xhtml">
&lt;div class="newBFC"&gt;
	&lt;div class="floater"&gt;
	This text won't extend past the bottom of the "newBFC" div.
	&lt;/div&gt;
&lt;/div&gt;
</pre>
<h3>CSS</h3>
<pre title="code" class="css">
.newBFC {
overflow: hidden;
_overflow: visible; /* not valid */
_overflow-x:hidden; /* not valid */
_height: 0; /* not valid */
}
/*\*//*/
.newBFC {display: inline-block;}
/**/
</pre>



	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F11%2F5-handige-clear-float-tips%2F&amp;title=5%20handige%20clear%20float%20tips&amp;annotation=Floats%20moeten%20altijd%20gecleard%20worden%20als%20je%20geen%20onvoorziene%20omstandigheden%20wilt%20hebben%20in%20je%20layout%2C%20hier%20zijn%205%20handige%20manieren%20om%20dit%20te%20doen%3A" class="google bookmarks" title="Google Bookmarks">Google Bookmarks</a>
	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F11%2F5-handige-clear-float-tips%2F&amp;title=5%20handige%20clear%20float%20tips&amp;bodytext=Floats%20moeten%20altijd%20gecleard%20worden%20als%20je%20geen%20onvoorziene%20omstandigheden%20wilt%20hebben%20in%20je%20layout%2C%20hier%20zijn%205%20handige%20manieren%20om%20dit%20te%20doen%3A" class="digg" title="Digg">Digg</a>
	<a rel="nofollow" href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F11%2F5-handige-clear-float-tips%2F&amp;Title=5%20handige%20clear%20float%20tips" class="blinklist" title="BlinkList">BlinkList</a>
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F11%2F5-handige-clear-float-tips%2F" class="technorati" title="Technorati">Technorati</a>
	<a rel="nofollow" href="http://twitter.com/home?status=5%20handige%20clear%20float%20tips%20-%20http%3A%2F%2Fwww.csssnippets.be%2F2009%2F11%2F5-handige-clear-float-tips%2F" class="twitter" title="Twitter">Twitter</a>
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F11%2F5-handige-clear-float-tips%2F&amp;title=5%20handige%20clear%20float%20tips&amp;notes=Floats%20moeten%20altijd%20gecleard%20worden%20als%20je%20geen%20onvoorziene%20omstandigheden%20wilt%20hebben%20in%20je%20layout%2C%20hier%20zijn%205%20handige%20manieren%20om%20dit%20te%20doen%3A" class="delicious" title="del.icio.us">del.icio.us</a>
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F11%2F5-handige-clear-float-tips%2F&amp;t=5%20handige%20clear%20float%20tips" class="facebook" title="Facebook">Facebook</a>
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F11%2F5-handige-clear-float-tips%2F&amp;title=5%20handige%20clear%20float%20tips" class="stumbleupon" title="StumbleUpon">StumbleUpon</a>

<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.csssnippets.be/2009/11/5-handige-clear-float-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Navigatie centreren door display:inline</title>
		<link>http://www.csssnippets.be/2009/08/navigatie-centreren-door-displayinline/</link>
		<comments>http://www.csssnippets.be/2009/08/navigatie-centreren-door-displayinline/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 08:25:20 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[centreren]]></category>
		<category><![CDATA[crossbrowser]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[valid]]></category>
		<category><![CDATA[W3C]]></category>
		<category><![CDATA[Xhtml Strict]]></category>
		<category><![CDATA[float]]></category>
		<category><![CDATA[inline]]></category>
		<category><![CDATA[navigatie]]></category>
		<category><![CDATA[tabs]]></category>

		<guid isPermaLink="false">http://www.csssnippets.be/?p=309</guid>
		<description><![CDATA[Een navigatie centreren als je float gebruikt heeft het nadeel dat je een container element moet hebben en de exacte afmetingen moet weten om het te centreren, door display:inline te gebruiken vereenvoudig je dit door geen specifieke afmetingen nodig te hebben en text-align:center doet het werk voor jouw, om het even hoeveel navigatie-items je hebt.]]></description>
			<content:encoded><![CDATA[<p>Een navigatie centreren als je float gebruikt heeft het nadeel dat je een container element moet hebben en de exacte afmetingen moet weten om het te centreren, door display:inline te gebruiken vereenvoudig je dit door geen specifieke afmetingen nodig te hebben en text-align:center doet het werk voor jouw, om het even hoeveel navigatie-items je hebt.</p>
<h3>HTML</h3>
<pre title="code" class="xhtml">
&lt;ul id="minitabs"&gt;
    &lt;li&gt;&lt;a href="#"&gt;home&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a id="current" href="#"&gt;about us&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="#"&gt;products&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="#"&gt;services&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="#"&gt;contact&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</pre>
<h3>CSS</h3>
<pre title="code" class="css">
body{
padding-top: 60px;
background: #FFF;
font: 76% Arial,sans-serif;
}
ul#minitabs{
list-style: none;
margin: 0;
padding: 7px 0;
border-bottom: 1px solid #CCC;
font-weight: bold;
text-align: center;
white-space: nowrap;
}
ul#minitabs li{
display: inline;
margin: 0 2px;
}
ul#minitabs a{
text-decoration: none;
padding: 0 0 3px;
border-bottom: 4px solid #FFF;
color: #999;
}
ul#minitabs a#current{
border-color: #F60;
color: #06F;
}
ul#minitabs a:hover{
border-color: #F60;
color: #666;
}
</pre>



	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F08%2Fnavigatie-centreren-door-displayinline%2F&amp;title=Navigatie%20centreren%20door%20display%3Ainline&amp;annotation=Een%20navigatie%20centreren%20als%20je%20float%20gebruikt%20heeft%20het%20nadeel%20dat%20je%20een%20container%20element%20moet%20hebben%20en%20de%20exacte%20afmetingen%20moet%20weten%20om%20het%20te%20centreren%2C%20door%20display%3Ainline%20te%20gebruiken%20vereenvoudig%20je%20dit%20door%20geen%20specifieke%20afmetingen%20nodig%20te%20hebben%20en%20text-align%3Acenter%20doet%20het%20werk%20voor%20jouw%2C%20om%20het%20even%20hoeveel%20navigatie-items%20je%20hebt." class="google bookmarks" title="Google Bookmarks">Google Bookmarks</a>
	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F08%2Fnavigatie-centreren-door-displayinline%2F&amp;title=Navigatie%20centreren%20door%20display%3Ainline&amp;bodytext=Een%20navigatie%20centreren%20als%20je%20float%20gebruikt%20heeft%20het%20nadeel%20dat%20je%20een%20container%20element%20moet%20hebben%20en%20de%20exacte%20afmetingen%20moet%20weten%20om%20het%20te%20centreren%2C%20door%20display%3Ainline%20te%20gebruiken%20vereenvoudig%20je%20dit%20door%20geen%20specifieke%20afmetingen%20nodig%20te%20hebben%20en%20text-align%3Acenter%20doet%20het%20werk%20voor%20jouw%2C%20om%20het%20even%20hoeveel%20navigatie-items%20je%20hebt." class="digg" title="Digg">Digg</a>
	<a rel="nofollow" href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F08%2Fnavigatie-centreren-door-displayinline%2F&amp;Title=Navigatie%20centreren%20door%20display%3Ainline" class="blinklist" title="BlinkList">BlinkList</a>
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F08%2Fnavigatie-centreren-door-displayinline%2F" class="technorati" title="Technorati">Technorati</a>
	<a rel="nofollow" href="http://twitter.com/home?status=Navigatie%20centreren%20door%20display%3Ainline%20-%20http%3A%2F%2Fwww.csssnippets.be%2F2009%2F08%2Fnavigatie-centreren-door-displayinline%2F" class="twitter" title="Twitter">Twitter</a>
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F08%2Fnavigatie-centreren-door-displayinline%2F&amp;title=Navigatie%20centreren%20door%20display%3Ainline&amp;notes=Een%20navigatie%20centreren%20als%20je%20float%20gebruikt%20heeft%20het%20nadeel%20dat%20je%20een%20container%20element%20moet%20hebben%20en%20de%20exacte%20afmetingen%20moet%20weten%20om%20het%20te%20centreren%2C%20door%20display%3Ainline%20te%20gebruiken%20vereenvoudig%20je%20dit%20door%20geen%20specifieke%20afmetingen%20nodig%20te%20hebben%20en%20text-align%3Acenter%20doet%20het%20werk%20voor%20jouw%2C%20om%20het%20even%20hoeveel%20navigatie-items%20je%20hebt." class="delicious" title="del.icio.us">del.icio.us</a>
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F08%2Fnavigatie-centreren-door-displayinline%2F&amp;t=Navigatie%20centreren%20door%20display%3Ainline" class="facebook" title="Facebook">Facebook</a>
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F08%2Fnavigatie-centreren-door-displayinline%2F&amp;title=Navigatie%20centreren%20door%20display%3Ainline" class="stumbleupon" title="StumbleUpon">StumbleUpon</a>

<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.csssnippets.be/2009/08/navigatie-centreren-door-displayinline/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>3 en 4 kolommen layout</title>
		<link>http://www.csssnippets.be/2009/07/3-en-4-kolommen-layout/</link>
		<comments>http://www.csssnippets.be/2009/07/3-en-4-kolommen-layout/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 10:52:33 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[box]]></category>
		<category><![CDATA[centreren]]></category>
		<category><![CDATA[crossbrowser]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[valid]]></category>
		<category><![CDATA[W3C]]></category>
		<category><![CDATA[Xhtml Strict]]></category>
		<category><![CDATA[layout]]></category>
		<category><![CDATA[voorbeeld]]></category>

		<guid isPermaLink="false">http://www.csssnippets.be/?p=299</guid>
		<description><![CDATA[Template voor een mengeling van 3 en 4 kolommen layout.

<img src="http://www.csssnippets.be/wp-content/2009/07/thumb-css-fx-3-4c.jpg" alt="thumb-css-fx-3-4c" title="thumb-css-fx-3-4c" width="150" height="100" class="alignnone size-full wp-image-300" />]]></description>
			<content:encoded><![CDATA[<p>Template voor een mengeling van 3 en 4 kolommen layout.</p>
<p><img src="http://www.csssnippets.be/wp-content/2009/07/thumb-css-fx-3-4c.jpg" alt="thumb-css-fx-3-4c" title="thumb-css-fx-3-4c" width="150" height="100" class="alignnone size-full wp-image-300" /></p>
<h3>HTML</h3>
<pre title="code" class="xhtml">
&lt;div id="postHeader"&gt;
&lt;a href="#" title="Links"&gt;Links &#8250;&#8250;&lt;/a&gt;&nbsp;&nbsp;&lt;a href="#" title="Site Map"&gt;Site Map &#8250;&#8250;&lt;/a&gt;&nbsp;&nbsp;&lt;a href="#" title="Contact"&gt;Contact &#8250;&#8250;&lt;/a&gt;
&lt;/div&gt;

&lt;div id="centerColumn"&gt;

	&lt;div id="navbar"&gt;
	&lt;ul&gt;
	&lt;li&gt;&lt;a href="#" title="Home"&gt;Home&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href="#" title="About"&gt;About&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href="#" title="Gallery"&gt;Gallery&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href="#" title="Contact"&gt;Contact&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/div&gt;

	&lt;div id="header"&gt;
	&lt;h1&gt;site title&lt;/h1&gt;
	&lt;h2&gt;fixed 3-column over 4-column layout&lt;/h2&gt;
	&lt;/div&gt;

&lt;h2&gt;centerColumn&lt;/h2&gt;
&lt;h3&gt;sub heading&lt;/h3&gt;
&lt;p&gt;Augur et fulgente decorus arcu Phoebus acceptusque novem Camenis, qui salutari levat arte fessos corporis artus, si Palatinas videt aequos aras remque Romanam Latiumque felix alterum in lustrum meliusque semper prorogat aevom, quaeque Aventinum tenet Algidumque, quindecim Diana preces virorum curat et votis puerorum amicas adplicat auris.&lt;/p&gt;

&lt;hr /&gt;

	&lt;div id="cell_1"&gt;
	&lt;h2&gt;cell_1&lt;/h2&gt;
	&lt;p class="news"&gt;Quindecim Diana preces virorum curat et votis puerorum amicas adplicat auris.&lt;/p&gt;
	&lt;ul class="news"&gt;
	&lt;li class="news"&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;br /&gt;
	&lt;em&gt;Date&lt;br /&gt;
	Puerorum amicas adplicat auris.&lt;/em&gt;&lt;/li&gt;

	&lt;li class="news"&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;br /&gt;
	&lt;em&gt;Date&lt;br /&gt;
	Puerorum amicas adplicat auris.&lt;/em&gt;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/div&gt;

	&lt;div id="cell_2"&gt;
	&lt;h2&gt;cell_2&lt;/h2&gt;
	&lt;p&gt;Augur et fulgente decorus arcu Phoebus acceptusque novem Camenis, qui salutari levat arte fessos corporis artus, si Palatinas videt aequos aras remque.&lt;/p&gt;
	&lt;p&gt;Romanam Latiumque felix alterum in lustrum meliusque semper prorogat aevom, quaeque Aventinum tenet Algidumque, quindecim Diana preces virorum curat et votis puerorum amicas adplicat auris.&lt;/p&gt;
	&lt;/div&gt;

	&lt;div id="cell_3"&gt;
	&lt;h2&gt;cell_3&lt;/h2&gt;
	&lt;p&gt;Augur et fulgente decorus arcu Phoebus acceptusque novem Camenis, qui salutari levat arte fessos corporis artus, si Palatinas videt aequos aras remque.&lt;/p&gt;
	&lt;p&gt;Romanam Latiumque felix alterum in lustrum meliusque semper prorogat aevom, quaeque Aventinum tenet Algidumque, quindecim Diana preces virorum curat et votis puerorum amicas adplicat auris.&lt;/p&gt;
	&lt;/div&gt;

	&lt;hr /&gt;

	&lt;div id="box_1"&gt;
	&lt;h2&gt;box_1&lt;/h2&gt;
	&lt;p&gt;Quindecim Diana preces virorum curat et votis puerorum amicas adplicat auris.&lt;/p&gt;
	&lt;ul&gt;
	&lt;li&gt;&lt;a href="#" title="Link"&gt;Link&#8230;&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/div&gt;

	&lt;div id="box_2"&gt;
	&lt;h2&gt;box_2&lt;/h2&gt;
	&lt;p&gt;Quindecim Diana preces virorum curat et votis puerorum amicas adplicat auris.&lt;/p&gt;
	&lt;ul&gt;
	&lt;li&gt;&lt;a href="#" title="Link"&gt;Link&#8230;&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/div&gt;

	&lt;div id="box_3"&gt;
	&lt;h2&gt;box_3&lt;/h2&gt;
	&lt;p&gt;Quindecim Diana preces virorum curat et votis puerorum amicas adplicat auris.&lt;/p&gt;
	&lt;ul&gt;
	&lt;li&gt;&lt;a href="#" title="Link"&gt;Link&#8230;&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/div&gt;

	&lt;div id="box_4"&gt;
	&lt;h2&gt;box_4&lt;/h2&gt;
	&lt;p&gt;Quindecim Diana preces virorum curat et votis puerorum amicas adplicat auris.&lt;/p&gt;
	&lt;ul&gt;
	&lt;li&gt;&lt;a href="#" title="Link"&gt;Link&#8230;&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/div&gt;

	&lt;div id="footer"&gt;
	Copyright, &copy; 2005-2006 &lt;a href="#" title="Company Name"&gt;Company Name&lt;/a&gt;
	&lt;/div&gt;

&lt;/div&gt;
</pre>
<h3>CSS</h3>
<pre title="code" class="css">
body {
margin:.5em;
padding:0;
height:100%;
background-color:#fff;
color:#000;
text-align:center;
font-family:Arial, Helvetica, sans-serif;
font-size:.9em;
}

a {
color:#c00;
text-decoration:underline;
}

a:hover {
color:#616161;
text-decoration:none;
}

blockquote {
margin:1em;
padding:.5em .5em .5em 85px;
background-color:#D7ECF8;
}

blockquote p {
margin:.2em;
color:#000;
}

hr {
margin-bottom:20px;
border:none;
width:99%;
color:#eee;
background-color:#eee;
height:1px;
clear:both;
}

td.desc {
padding:4px;
text-align:left;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:.7em;
}

#postHeader {
margin:0 auto;
padding:0 .2em .3em .2em;
width:720px;
text-align:right;
vertical-align: middle;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:.7em;
text-transform:uppercase;
}

#centerColumn {
margin:0 auto;
padding:1em;
width:720px;
text-align:left;
vertical-align: middle;
background-color:#fff;
}

#centerColumn h2 {
margin:0 0 -.5em 0;
padding:.75em 0 0 0;
font-family:Georgia, "Times New Roman", Times, serif;
font-size:1.1em;
}

#centerColumn h3 {
margin:0 0 -.5em 0;
padding:.75em 0 0 0;
font-size:.8em;
font-weight:lighter;
letter-spacing:.1em;
}

#navbar {
margin:-1em -1em 0 -1em; /* Mozzila attributes */
padding:1em 0 1em 0 !important; /* IE specific attributes */
padding:1em 0 0 0;
background-color:#ccc;
}

#navbar ul {
margin:0 0 -1em .3em !important;
margin:.3em 0 0 .3em;
padding:0 0 1em 0;
list-style:none;
background-color:#ccc;
}

#navbar li {
margin:0 0 0 -.27em;
padding:.2em 0 .2em 0 !important;
padding:1em 0 1em 0;
list-style:none;
display:inline;
background-color:#ccc;
}

#navbar li a {
margin:0 0 0 0;
padding:1em .5em 1em .5em !important;
padding:1em .5em 0 .5em;
}

#header {
margin:0 -1em 0 -1em;
padding:0 0 0 0;
height:143px;
background-color:#ccc;
border-top:1px solid #fff;
}

#header h1 {
margin:0 0 -14px 10px;
padding:10px 0 0 .9em;
font-family:Georgia, "Times New Roman", Times, serif;
font-size:1.7em;
font-weight:lighter;
letter-spacing:.15em;
color:#000;
}

#header h2 {
margin:0 0 0 0;
padding:1em 0 0 30px;
font-size:.9em;
font-weight:300;
letter-spacing:.1em;
color:#000;
}

#cell_1 {
margin:0 5px 1em 0;
padding:8px;
float:left;
width:210px;
background-color:#ccc;
}

#cell_2 {
margin:0 14px 1em 14px;
padding:8px;
float:left;
width:210px;
background-color:#ccc;
}

#cell_3 {
margin:0 0 1em 5px;
padding:8px;
float:left;
width:210px;
background-color:#ccc;
}

#cell_1 p, #cell_2 p, #cell_3 p {
font-size:.75em;
color:#000;
}

#cell_1 h2 {
margin:0 0 -4px 0 !important;
margin:0 0 -20px 0;
padding:4px 0 10px 0;
font-family:Georgia, "Times New Roman", Times, serif;
color:#000;
font-weight:bold;
}

#cell_2 h2 {
margin:0 0 -4px 0 !important;
margin:0 0 -20px 0;
padding:4px 0 10px 0;
font-family:Georgia, "Times New Roman", Times, serif;
color:#000;
font-weight:bold;
}

#cell_3 h2 {
margin:0 0 -4px 0 !important;
margin:0 0 -20px 0;
padding:4px 0 10px 0;
font-family:Georgia, "Times New Roman", Times, serif;
color:#000;
font-weight:bold;
}

.barepic {
border:none;
}

.right {
float:right;
margin:5px;
padding:2px;
}

.left {
float:left;
margin:5px;
padding:2px;
}

.center {
width:auto;
margin-left:auto;
margin-right:auto;
}

.news em {
font-size:.8em;
color:#000;
}

#cell_1 ul.news, #cell_2 ul.news, #cell_3 ul.news {
margin:0 0 0 5px;
padding:0 0 0 0;
list-style:none;
}

#cell_1 li.news, #cell_2 li.news, #cell_3 li.news {
margin:0 0 .3em 0;
padding:5px 0 6px 10px;
font-size:.75em;
}

#cell_1 ul, #cell_2 ul, #cell_3 ul {
margin:0 0 0 5px;
padding:0 0 0 0;
list-style:none;
}

#cell_1 li, #cell_2 li, #cell_3 li {
margin:0 0 .3em 0;
padding:5px 0 6px 5px;
font-size:.75em;
}

#box_1 {
margin:0 5px 2em 0;
padding:8px;
float:left;
width:150px;
background-color:#ccc;
}

#box_2 {
margin:0 7px 2em 14px;
padding:8px;
float:left;
width:150px;
background-color:#ccc;
}

#box_3 {
margin:0 14px 2em 7px;
padding:8px;
float:left;
width:150px;
background-color:#ccc;
}

#box_4 {
margin:0 0 2em 5px;
padding:8px;
float:left;
width:150px;
background-color:#cccccc;
}

#box_1 p, #box_2 p, #box_3 p, #box_4 p {
font-size:.75em;
color:#000;
}

#box_1 h2, #box_2 h2, #box_3 h2, #box_4 h2 {
font-family:Georgia, "Times New Roman", Times, serif;
color:#000;
font-size:.8em;
} 

#box_1 ul, #box_2 ul, #box_3 ul, #box_4 ul {
margin:0 0 0 5px;
padding:0 0 0 0;
list-style:none;
}

#box_1 li, #box_2 li, #box_3 li, #box_4 li {
margin:0 0 .3em 0;
padding:5px 0 0 5px;
font-size:.8em;
}

#footer {
position:relative;
clear:both;
bottom:0;
margin:5em 0 0 0;
padding:0;
height:4em;
line-height:4em;
text-align:center;
font-size:.7em;
background-color:#fff;
}
</pre>



	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F07%2F3-en-4-kolommen-layout%2F&amp;title=3%20en%204%20kolommen%20layout&amp;annotation=Template%20voor%20een%20mengeling%20van%203%20en%204%20kolommen%20layout.%0D%0A%0D%0A" class="google bookmarks" title="Google Bookmarks">Google Bookmarks</a>
	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F07%2F3-en-4-kolommen-layout%2F&amp;title=3%20en%204%20kolommen%20layout&amp;bodytext=Template%20voor%20een%20mengeling%20van%203%20en%204%20kolommen%20layout.%0D%0A%0D%0A" class="digg" title="Digg">Digg</a>
	<a rel="nofollow" href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F07%2F3-en-4-kolommen-layout%2F&amp;Title=3%20en%204%20kolommen%20layout" class="blinklist" title="BlinkList">BlinkList</a>
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F07%2F3-en-4-kolommen-layout%2F" class="technorati" title="Technorati">Technorati</a>
	<a rel="nofollow" href="http://twitter.com/home?status=3%20en%204%20kolommen%20layout%20-%20http%3A%2F%2Fwww.csssnippets.be%2F2009%2F07%2F3-en-4-kolommen-layout%2F" class="twitter" title="Twitter">Twitter</a>
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F07%2F3-en-4-kolommen-layout%2F&amp;title=3%20en%204%20kolommen%20layout&amp;notes=Template%20voor%20een%20mengeling%20van%203%20en%204%20kolommen%20layout.%0D%0A%0D%0A" class="delicious" title="del.icio.us">del.icio.us</a>
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F07%2F3-en-4-kolommen-layout%2F&amp;t=3%20en%204%20kolommen%20layout" class="facebook" title="Facebook">Facebook</a>
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F07%2F3-en-4-kolommen-layout%2F&amp;title=3%20en%204%20kolommen%20layout" class="stumbleupon" title="StumbleUpon">StumbleUpon</a>

<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.csssnippets.be/2009/07/3-en-4-kolommen-layout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tekst verbergen, mogelijkheid #1</title>
		<link>http://www.csssnippets.be/2009/06/tekst-verbergen-mogelijkheid-1/</link>
		<comments>http://www.csssnippets.be/2009/06/tekst-verbergen-mogelijkheid-1/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 06:36:12 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[crossbrowser]]></category>
		<category><![CDATA[Images]]></category>
		<category><![CDATA[tekst]]></category>
		<category><![CDATA[Typography]]></category>
		<category><![CDATA[valid]]></category>
		<category><![CDATA[W3C]]></category>
		<category><![CDATA[Xhtml Strict]]></category>
		<category><![CDATA[afbeelding]]></category>
		<category><![CDATA[h1]]></category>
		<category><![CDATA[hide]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[typografie]]></category>
		<category><![CDATA[verberg]]></category>

		<guid isPermaLink="false">http://www.csssnippets.be/?p=266</guid>
		<description><![CDATA[Tekst verbergen met CSS, het kan. Het doel van tekst te verbergen kan uiteenlopen, van een tekst te vervangen door een afbeelding omdat het juiste lettertype niet op elke computer voorkomt bijvoorbeeld.
Of tekst verbergen omdat een CMS systeem de tekst weergeeft en het niet aanwezig moet zijn omwille van het design. Reden genoeg.]]></description>
			<content:encoded><![CDATA[<p>Tekst verbergen met CSS, het kan. Het doel van tekst te verbergen kan uiteenlopen, van een tekst te vervangen door een afbeelding omdat het juiste lettertype niet op elke computer voorkomt bijvoorbeeld.<br />
Of tekst verbergen omdat een CMS systeem de tekst weergeeft en het niet aanwezig moet zijn omwille van het design. Reden genoeg.</p>
<h4>Text indent</h4>
<h3>HTML</h3>
<pre title="code" class="xhtml">
&lt;h1&gt;Ik word verborgen&lt;/h1&gt;
</pre>
<h3>CSS</h3>
<pre title="code" class="css">
h1 {
text-indent:-9999px; /*Verberg tekst, aanwezig voor SEO*/
margin:0 auto;
width:403px;
height: 82px;
background:transparent url("images/logo.gif") no-repeat 0 0;
}
</pre>



	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F06%2Ftekst-verbergen-mogelijkheid-1%2F&amp;title=Tekst%20verbergen%2C%20mogelijkheid%20%231&amp;annotation=Tekst%20verbergen%20met%20CSS%2C%20het%20kan.%20Het%20doel%20van%20tekst%20te%20verbergen%20kan%20uiteenlopen%2C%20van%20een%20tekst%20te%20vervangen%20door%20een%20afbeelding%20omdat%20het%20juiste%20lettertype%20niet%20op%20elke%20computer%20voorkomt%20bijvoorbeeld.%0D%0AOf%20tekst%20verbergen%20omdat%20een%20CMS%20systeem%20de%20tekst%20weergeeft%20en%20het%20niet%20aanwezig%20moet%20zijn%20omwille%20van%20het%20design.%20Reden%20genoeg." class="google bookmarks" title="Google Bookmarks">Google Bookmarks</a>
	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F06%2Ftekst-verbergen-mogelijkheid-1%2F&amp;title=Tekst%20verbergen%2C%20mogelijkheid%20%231&amp;bodytext=Tekst%20verbergen%20met%20CSS%2C%20het%20kan.%20Het%20doel%20van%20tekst%20te%20verbergen%20kan%20uiteenlopen%2C%20van%20een%20tekst%20te%20vervangen%20door%20een%20afbeelding%20omdat%20het%20juiste%20lettertype%20niet%20op%20elke%20computer%20voorkomt%20bijvoorbeeld.%0D%0AOf%20tekst%20verbergen%20omdat%20een%20CMS%20systeem%20de%20tekst%20weergeeft%20en%20het%20niet%20aanwezig%20moet%20zijn%20omwille%20van%20het%20design.%20Reden%20genoeg." class="digg" title="Digg">Digg</a>
	<a rel="nofollow" href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F06%2Ftekst-verbergen-mogelijkheid-1%2F&amp;Title=Tekst%20verbergen%2C%20mogelijkheid%20%231" class="blinklist" title="BlinkList">BlinkList</a>
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F06%2Ftekst-verbergen-mogelijkheid-1%2F" class="technorati" title="Technorati">Technorati</a>
	<a rel="nofollow" href="http://twitter.com/home?status=Tekst%20verbergen%2C%20mogelijkheid%20%231%20-%20http%3A%2F%2Fwww.csssnippets.be%2F2009%2F06%2Ftekst-verbergen-mogelijkheid-1%2F" class="twitter" title="Twitter">Twitter</a>
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F06%2Ftekst-verbergen-mogelijkheid-1%2F&amp;title=Tekst%20verbergen%2C%20mogelijkheid%20%231&amp;notes=Tekst%20verbergen%20met%20CSS%2C%20het%20kan.%20Het%20doel%20van%20tekst%20te%20verbergen%20kan%20uiteenlopen%2C%20van%20een%20tekst%20te%20vervangen%20door%20een%20afbeelding%20omdat%20het%20juiste%20lettertype%20niet%20op%20elke%20computer%20voorkomt%20bijvoorbeeld.%0D%0AOf%20tekst%20verbergen%20omdat%20een%20CMS%20systeem%20de%20tekst%20weergeeft%20en%20het%20niet%20aanwezig%20moet%20zijn%20omwille%20van%20het%20design.%20Reden%20genoeg." class="delicious" title="del.icio.us">del.icio.us</a>
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F06%2Ftekst-verbergen-mogelijkheid-1%2F&amp;t=Tekst%20verbergen%2C%20mogelijkheid%20%231" class="facebook" title="Facebook">Facebook</a>
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F06%2Ftekst-verbergen-mogelijkheid-1%2F&amp;title=Tekst%20verbergen%2C%20mogelijkheid%20%231" class="stumbleupon" title="StumbleUpon">StumbleUpon</a>

<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.csssnippets.be/2009/06/tekst-verbergen-mogelijkheid-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Media type print bepalen</title>
		<link>http://www.csssnippets.be/2009/05/media-type-print-bepalen/</link>
		<comments>http://www.csssnippets.be/2009/05/media-type-print-bepalen/#comments</comments>
		<pubDate>Fri, 22 May 2009 08:01:38 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[crossbrowser]]></category>
		<category><![CDATA[print]]></category>
		<category><![CDATA[W3C]]></category>
		<category><![CDATA[Xhtml Strict]]></category>
		<category><![CDATA[afprinten]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[type]]></category>

		<guid isPermaLink="false">http://www.csssnippets.be/?p=227</guid>
		<description><![CDATA[Een hele kleine snippet over hoe je in uw HTML document moet bepalen dat je een CSS bestand bepaald dat enkel voor het printen dient.]]></description>
			<content:encoded><![CDATA[<p>Een hele kleine snippet over hoe je in uw HTML document moet bepalen dat je een CSS bestand bepaald dat enkel voor het printen dient.</p>
<h3>HTML</h3>
<pre title="code" class="xhtml">
&lt;link rel="stylesheet" href="print.css" type="text/css" media="print" /&gt;
</pre>



	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F05%2Fmedia-type-print-bepalen%2F&amp;title=Media%20type%20print%20bepalen&amp;annotation=Een%20hele%20kleine%20snippet%20over%20hoe%20je%20in%20uw%20HTML%20document%20moet%20bepalen%20dat%20je%20een%20CSS%20bestand%20bepaald%20dat%20enkel%20voor%20het%20printen%20dient." class="google bookmarks" title="Google Bookmarks">Google Bookmarks</a>
	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F05%2Fmedia-type-print-bepalen%2F&amp;title=Media%20type%20print%20bepalen&amp;bodytext=Een%20hele%20kleine%20snippet%20over%20hoe%20je%20in%20uw%20HTML%20document%20moet%20bepalen%20dat%20je%20een%20CSS%20bestand%20bepaald%20dat%20enkel%20voor%20het%20printen%20dient." class="digg" title="Digg">Digg</a>
	<a rel="nofollow" href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F05%2Fmedia-type-print-bepalen%2F&amp;Title=Media%20type%20print%20bepalen" class="blinklist" title="BlinkList">BlinkList</a>
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F05%2Fmedia-type-print-bepalen%2F" class="technorati" title="Technorati">Technorati</a>
	<a rel="nofollow" href="http://twitter.com/home?status=Media%20type%20print%20bepalen%20-%20http%3A%2F%2Fwww.csssnippets.be%2F2009%2F05%2Fmedia-type-print-bepalen%2F" class="twitter" title="Twitter">Twitter</a>
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F05%2Fmedia-type-print-bepalen%2F&amp;title=Media%20type%20print%20bepalen&amp;notes=Een%20hele%20kleine%20snippet%20over%20hoe%20je%20in%20uw%20HTML%20document%20moet%20bepalen%20dat%20je%20een%20CSS%20bestand%20bepaald%20dat%20enkel%20voor%20het%20printen%20dient." class="delicious" title="del.icio.us">del.icio.us</a>
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F05%2Fmedia-type-print-bepalen%2F&amp;t=Media%20type%20print%20bepalen" class="facebook" title="Facebook">Facebook</a>
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F05%2Fmedia-type-print-bepalen%2F&amp;title=Media%20type%20print%20bepalen" class="stumbleupon" title="StumbleUpon">StumbleUpon</a>

<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.csssnippets.be/2009/05/media-type-print-bepalen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blockquotes stylen</title>
		<link>http://www.csssnippets.be/2009/05/blockquotes-stylen/</link>
		<comments>http://www.csssnippets.be/2009/05/blockquotes-stylen/#comments</comments>
		<pubDate>Sun, 10 May 2009 09:37:21 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Images]]></category>
		<category><![CDATA[Typography]]></category>
		<category><![CDATA[valid]]></category>
		<category><![CDATA[W3C]]></category>
		<category><![CDATA[Xhtml Strict]]></category>
		<category><![CDATA[blockquote]]></category>
		<category><![CDATA[quote]]></category>
		<category><![CDATA[stylen]]></category>

		<guid isPermaLink="false">http://www.csssnippets.be/?p=207</guid>
		<description><![CDATA[Blockquotes zijn kleine stukjes tekst uit je content die je extra wenst te laten opvallen, dus kan je maar beter zorgen dat ze echt opvallen.]]></description>
			<content:encoded><![CDATA[<p>Blockquotes zijn kleine stukjes tekst uit je content die je extra wenst te laten opvallen, dus kan je maar beter zorgen dat ze echt opvallen.</p>
<h3>HTML</h3>
<pre title="code" class="xhtml">
&lt;blockquote&gt;
  &lt;p&gt;Ik ben een blockquote en ....lorem ipsum en dat dolor gedoe er ook nog bij enzo.&lt;/p&gt;
&lt;/blockquote&gt;
</pre>
<h3>CSS</h3>
<pre title="code" class="css">
blockquote {
  font: 1.2em/1.6em Georgia, "Times New Roman", Times, serif;
  width: 400px;
  background: url(images/quote-2.gif) no-repeat right bottom;
}
blockquote p {
  background: url(images/quote-1.gif) no-repeat 0 0;
  padding-left: 32px;
  font: italic 1.4em Georgia, "Times New Roman", Times, serif;
}
</pre>



	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F05%2Fblockquotes-stylen%2F&amp;title=Blockquotes%20stylen&amp;annotation=Blockquotes%20zijn%20kleine%20stukjes%20tekst%20uit%20je%20content%20die%20je%20extra%20wenst%20te%20laten%20opvallen%2C%20dus%20kan%20je%20maar%20beter%20zorgen%20dat%20ze%20echt%20opvallen." class="google bookmarks" title="Google Bookmarks">Google Bookmarks</a>
	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F05%2Fblockquotes-stylen%2F&amp;title=Blockquotes%20stylen&amp;bodytext=Blockquotes%20zijn%20kleine%20stukjes%20tekst%20uit%20je%20content%20die%20je%20extra%20wenst%20te%20laten%20opvallen%2C%20dus%20kan%20je%20maar%20beter%20zorgen%20dat%20ze%20echt%20opvallen." class="digg" title="Digg">Digg</a>
	<a rel="nofollow" href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F05%2Fblockquotes-stylen%2F&amp;Title=Blockquotes%20stylen" class="blinklist" title="BlinkList">BlinkList</a>
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F05%2Fblockquotes-stylen%2F" class="technorati" title="Technorati">Technorati</a>
	<a rel="nofollow" href="http://twitter.com/home?status=Blockquotes%20stylen%20-%20http%3A%2F%2Fwww.csssnippets.be%2F2009%2F05%2Fblockquotes-stylen%2F" class="twitter" title="Twitter">Twitter</a>
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F05%2Fblockquotes-stylen%2F&amp;title=Blockquotes%20stylen&amp;notes=Blockquotes%20zijn%20kleine%20stukjes%20tekst%20uit%20je%20content%20die%20je%20extra%20wenst%20te%20laten%20opvallen%2C%20dus%20kan%20je%20maar%20beter%20zorgen%20dat%20ze%20echt%20opvallen." class="delicious" title="del.icio.us">del.icio.us</a>
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F05%2Fblockquotes-stylen%2F&amp;t=Blockquotes%20stylen" class="facebook" title="Facebook">Facebook</a>
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F05%2Fblockquotes-stylen%2F&amp;title=Blockquotes%20stylen" class="stumbleupon" title="StumbleUpon">StumbleUpon</a>

<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.csssnippets.be/2009/05/blockquotes-stylen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

