<?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>VanBerghem.Com</title>
	<atom:link href="http://www.vanberghem.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.vanberghem.com</link>
	<description></description>
	<lastBuildDate>Mon, 16 Jan 2012 18:33:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Gescheiden in de 2de Graad</title>
		<link>http://www.vanberghem.com/xhtml-nl/gescheiden-in-de-2de-graad.html</link>
		<comments>http://www.vanberghem.com/xhtml-nl/gescheiden-in-de-2de-graad.html#comments</comments>
		<pubDate>Mon, 16 Jan 2012 18:19:13 +0000</pubDate>
		<dc:creator>jberghem</dc:creator>
				<category><![CDATA[(X)HTML]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.vanberghem.com/?p=99</guid>
		<description><![CDATA[Ik kan nog goed herinneren dat we in 1995 onze eerste internet aansluiting kregen. We gingen het internet op met Netscape 1.0 of Internet Explorer 2.0. De meeste websites waren een simpele pagina met zwarte tekst op een witte achtergrond. Als je mazzel had stond er een foto op met 256 kleuren. Tenminste, als je [...]]]></description>
			<content:encoded><![CDATA[<div lang="nl">
<p>Ik kan nog goed herinneren dat we in 1995 onze eerste internet aansluiting kregen. We gingen het internet op met Netscape 1.0 of Internet Explorer 2.0. De meeste websites waren een simpele pagina met zwarte tekst op een witte achtergrond. Als je mazzel had stond er een foto op met 256 kleuren. Tenminste, als je de optie afbeeldingen weergeven had in geschakeld in je browser. Ik typte het adres van de website in en moest dan 5 á 10 minuten wachten voordat de pagina geladen was over mijn mega snelle 33.6k modem. Er is sinds die tijd een hoop veranderd.</p>
<h3>Geschiedenis</h3>
<p><acronym title="HyperText Markup Language">HTML</acronym> was in het begin ontwikkeld voor wetenschappers die hun onderzoeken wouden delen. Het was een simpele taal om de tekst te kunnen definiëren. Wat is deze zin? Is het een koptekst, een citaat, of deel van een paragraaf? Niets was gericht op ontwerp. Ze hadden gewoon een medium nodig om de informatie te delen. Toen de World Wide Web werd ontdekt als commercieel platform kwam er ook de behoefte om websites ook visueel aantrekkelijk te maken. Men wilde meer dan alleen die zwarte tekst op een witte achtergrond en een komische geanimeerde GIF. Dus begon men te kijken naar de visuele weergave van de <acronym title="HyperText Markup Language">HTML</acronym> elementen in plaats van naar de definitie van deze elementen. Tabellen werden gebruikt voor de lay-out, om kolommen te maken of afbeeldingen te positioneren. Als je de tekst wou laten inspringen gebruikte je &lt;blockquote&gt;. De betekenis van de <acronym title="HyperText Markup Language">HTML</acronym> werd verloren, alleen de visuele waarde bleef over. Maar omdat <acronym title="HyperText Markup Language">HTML</acronym> hier niet voor was ontwikkeld schoot het als ontwerp taal al snel tekort. Er rees een behoefte naar een taal die geschikt was om te ontwerpen om <acronym title="HyperText Markup Language">HTML</acronym> terug te laten keren naar zijn originele taak, de inhoud definiëren. Men zocht een taal die ontwerpers de vrijheid bood om het ontwerp over de <acronym title="HyperText Markup Language">HTML</acronym> te laten vloeien. Cascading Style Sheets of CSS was het antwoord</p>
<h3>CSS power</h3>
<p><acronym title="Cascading Style Sheets">CSS</acronym> geeft ontwerpers de macht om de weergave en gedrag van elk <acronym title="HyperText Markup Language">HTML</acronym> element te bepalen. Men kan niet alleen elk verschillend element anders opmaken, je kan zelfs met behulp van ID’s, class en omringende elementen het zelfde element in een andere situatie anders opmaken. We kunnen zelfs een stap verder gaan. Als je een extern <acronym title="Cascading Style Sheets">CSS</acronym> bestand gebruikt kan je alle <acronym title="HyperText Markup Language">HTML</acronym> bestanden er aan koppelen en continuïteit in het ontwerp creëren over de gehele website. De voordelen van externe <acronym title="Cascading Style Sheets">CSS</acronym> bestanden worden pas echt duidelijk wanneer je iets wilt wijzigen in een bestaande website. Stel je hebt een website met 50 pagina’s die elk een stuk of tien alinea’s hebben. De alinea’s zijn opgemaakt met Times New Romans en je wilt deze veranderen naar Arial. Wanneer deze zijn opgemaakt in <acronym title="HyperText Markup Language">HTML</acronym> met het element: &lt;font face=&#8221;Times New Roman, Times, serif&#8221;&gt; dan zou je deze in elk van de 10 alinea’s op alle 50 pagina’s moeten wijzigen naar &lt;font face=&#8221;Arial, Helvetica, sans-serif&#8221;&gt;. Maar als de opmaak met CSS is gemaakt, hoef je alleen maar het <acronym title="Cascading Style Sheets">CSS</acronym> bestand te openen en p { font-family: &#8220;Times New Roman&#8221;, Times, serif; } te veranderen in: p { font-family: Arial, Helvetica, sans-serif; }. Ja ja dat is alles, maar één verandering op één plek.</p>
<h3>Waarom niet?</h3>
<p>Het is dus heel erg duidelijk dat het scheiden van inhoud en presentatie verre weg de meest praktische en minste tijd rovende techniek is om websites te ontwerpen. Dus waarom niet? Waarom zijn er nog zoveel beginner <acronym title="HyperText Markup Language">HTML</acronym> cursussen die het nog op oude manier leren. Waarom zijn er nog steeds zoveel zakelijke websites die nog tabellen gebruiken voor de Lay-out. Waarom scheiden ze de presentatie niet van de inhoud? Waarom niet?</p>
<h3>C$$</h3>
<p>De tijd die je spaart met het volgen van de <acronym title="World Wide Web Consortium">W3C</acronym> aanbevelingen, zelfs al moet je alles over doen, is meer waard dan het geld in je zak. Het maakt een eind aan de oneindig herhalend coderen, spaart je ontelbaar veel uren van controleren op continuïteit in het ontwerp op de verschillende pagina’s, laat die frustraties liggen veroorzaakt door ingeklapte tabellen die je voor lay-out gebruikt. Als je door krijgt tot welke graad deze scheiding jou creativiteit stimuleert en hoeveel deuren naar innovatieve ontwerpen open gaan, zal je nooit meer een pagina op de oude mannier schrijven.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.vanberghem.com/xhtml-nl/gescheiden-in-de-2de-graad.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Doctype</title>
		<link>http://www.vanberghem.com/xhtml-nl/doctype-nl.html</link>
		<comments>http://www.vanberghem.com/xhtml-nl/doctype-nl.html#comments</comments>
		<pubDate>Mon, 16 Jan 2012 18:15:57 +0000</pubDate>
		<dc:creator>jberghem</dc:creator>
				<category><![CDATA[(X)HTML]]></category>

		<guid isPermaLink="false">http://www.vanberghem.com/?p=94</guid>
		<description><![CDATA[Wat is een DOCTYPE en waar is hij goed voor? Heb ik zo&#8217;n DOCTYPE überhaubt nodig? Er is niet maar één type HTML, er zijn er zelfs een heleboel: HTML 4.01 Strict, HTML 4.01 Transitional, XHTML 1.0 Strict, en nog vele anderen. Al deze typen van HTML zijn gedefinieerd in hun respectievelijke W3C specificaties, maar [...]]]></description>
			<content:encoded><![CDATA[<div lang="nl">
<p>Wat is een DOCTYPE en waar is hij goed voor? Heb ik zo&#8217;n DOCTYPE überhaubt nodig?</p>
<blockquote><p><q cite="http://www.w3.org/QA/Tips/Doctype">Er is niet maar één type <acronym title="HyperText Markup Language">HTML</acronym>, er zijn er zelfs een heleboel: <acronym title="HyperText Markup Language">HTML</acronym> 4.01 Strict, <acronym title="HyperText Markup Language">HTML</acronym> 4.01 Transitional, <acronym title="Extensable HyperText Markup Language">XHTML</acronym> 1.0 Strict, en nog vele anderen. Al deze typen van HTML zijn gedefinieerd in hun respectievelijke W3C specificaties, maar ze zijn ook gedefinieerd in een door machine leesbare taal die de juiste structuur, elementen en atributen van een type  HTML specificeren. Zo&#8217;n definietie heet de &#8220;Document Type Definition&#8221;, of, afgekort, <acronym title="Document Type Definition">DTD</acronym>.</q><br />
 ~ Olivier Thereaux</p>
</blockquote>
<blockquote><p><q cite="http://www.htmldog.com/reference/htmltags/doctype/">Deze wordt gebruikt om de browser te laten weten welke versie van </q><q cite="http://www.w3.org/QA/Tips/Doctype"><acronym title="HyperText Markup Language">HTML</acronym></q> je gebruikt.<q cite="http://www.htmldog.com/reference/htmltags/doctype/"> Als je hem niet gebruikt of verkeerd gebuikt, gaat de browser ervanuit dat je niet weet waar je mee bezig bent en zet hij zichzelf in  ‘quirks mode’, die dingen niet rendert zoals het hoort. Het zou minder ‘kritiesch’ moeten zijn maar is eigenlijk lijkt het erg willekeurig en verwarrent. Het hoofdletter gebruik moet zijn zoals in het voorbeeld hier onder (met de in hoofdletters ‘DOCTYPE’). Hij wordt niet als andere tags afgesloten.</q><br />
 ~ Patrick Griffiths &#8211; <a href="http://www.htmldog.com/" target="_blank">HTML Dog</a></p>
</blockquote>
<h3>Example</h3>
<div class="code"><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;</code></div>
<p>Vergeet niet dat de  <acronym title="Document Type Definition">DTD</acronym> grote invloed heeft op hoe je de code die erop volgt moet formuleren. Somige <acronym title="Document Type Definition">DTD</acronym>’s vereisen dat extra tags in je document zet. Om het wat makkelijker voor je te maken heb ik een lijstje van <acronym title="Document Type Definition">DTD</acronym>’s opgesteld.</p>
<h3>HTML</h3>
<p>HTML 4.01 Transitional</p>
<div class="code"><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  "http://www.w3.org/TR/html4/loose.dtd"&gt;<br />
 &lt;html&gt;<br />
 &lt;head&gt;<br />
 &lt;title&gt;&lt;/title&gt;<br />
 &lt;/head&gt;<br />
 &lt;body&gt;<br />
 &lt;/body&gt;<br />
 &lt;/html&gt; </code></div>
<p>HTML 4.01 Strict</p>
<div class="code"><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"  "http://www.w3.org/TR/html4/strict.dtd"&gt;<br />
 &lt;html&gt;<br />
 &lt;head&gt;<br />
 &lt;title&gt;&lt;/title&gt;<br />
 &lt;/head&gt;<br />
 &lt;body&gt;<br />
 &lt;/body&gt;<br />
 &lt;/html&gt; </code></div>
<p>HTML 4.01 Frameset</p>
<div class="code"><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"  "http://www.w3.org/TR/html4/frameset.dtd"&gt;<br />
 &lt;html&gt;<br />
 &lt;head&gt;<br />
 &lt;title&gt;&lt;/title&gt;<br />
 &lt;/head&gt;<br />
 &lt;frameset&gt;<br />
 &lt;/frameset&gt;<br />
 &lt;/html&gt; </code></div>
<h3>XHTML</h3>
<p>XHTML 1.0 Transitional</p>
<div class="code"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br />
 &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;<br />
 &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;<br />
 &lt;head&gt;<br />
 &lt;title&gt;&lt;/title&gt;<br />
 &lt;/head&gt;<br />
 &lt;body&gt;<br />
 &lt;/body&gt;<br />
 &lt;/html&gt; </code></div>
<p>XHTML 1.0 Strict</p>
<div class="code"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br />
 &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;<br />
 &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;<br />
 &lt;head&gt;<br />
 &lt;title&gt;&lt;/title&gt;<br />
 &lt;/head&gt;<br />
 &lt;body&gt;<br />
 &lt;/body&gt;<br />
 &lt;/html&gt;</code></div>
<p>XHTML 1.0 Frameset</p>
<div class="code"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br />
 &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"&gt;<br />
 &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;<br />
 &lt;head&gt;<br />
 &lt;title&gt;&lt;/title&gt;<br />
 &lt;/head&gt;<br />
 &lt;frameset&gt;<br />
 &lt;/frameset&gt;<br />
 &lt;/html&gt; </code></div>
<p>XHTML 1.1</p>
<div class="code"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br />
 &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&gt;<br />
 &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;<br />
 &lt;head&gt;<br />
 &lt;title&gt;&lt;/title&gt;<br />
 &lt;/head&gt;<br />
 &lt;body&gt;<br />
 &lt;/body&gt;<br />
 &lt;/html&gt; </code></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.vanberghem.com/xhtml-nl/doctype-nl.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Niet alle browsers zijn gelijk geschapen</title>
		<link>http://www.vanberghem.com/algemeen/niet-alle-browsers-zijn-gelijk-geschapen.html</link>
		<comments>http://www.vanberghem.com/algemeen/niet-alle-browsers-zijn-gelijk-geschapen.html#comments</comments>
		<pubDate>Mon, 16 Jan 2012 18:11:01 +0000</pubDate>
		<dc:creator>jberghem</dc:creator>
				<category><![CDATA[Algemeen]]></category>

		<guid isPermaLink="false">http://www.vanberghem.com/?p=90</guid>
		<description><![CDATA[Het World Wide Web Consortium (W3C) ontwikkelt de standaard die regel geeft op het Internet. Jammer genoeg zijn er enkele bedrijven die van deze standaard afwijken bij het ontwikkelen van hun software. Het zal u wellicht niet verrassen als ik zeg te menen dat Microsoft één van deze bedrijven is. Alle versies van MS Internet [...]]]></description>
			<content:encoded><![CDATA[<div lang="nl">
<p>Het World Wide Web Consortium (W3C) ontwikkelt de standaard die regel geeft op het Internet. Jammer genoeg zijn er enkele bedrijven die van deze standaard afwijken bij het ontwikkelen van hun software. Het zal u wellicht niet verrassen als ik zeg te menen dat Microsoft één van deze bedrijven is. Alle versies van <acronym title="Microsoft">MS</acronym> Internet Explorer tot en met versie 6 hebben grote problemen in de ondersteuning van <acronym title="Cascading Style Sheets">CSS</acronym>2. De nieuwe <acronym title="Internet Explorer">IE</acronym>7 is een drastische verbetering, maar er zijn nog steeds verschillen in hoe <acronym title="Cascading Style Sheets">CSS</acronym> code wordt vertaald in verhouding met andere browsers. Microsoft schrijft ook eigen niet gestandaardiseerde code die alleen door Internet Explorer kan worden vertaald. Waneer je met <acronym title="Microsoft">MS</acronym> Frontpage een website bouwt zijn er een redelijk aantal opties die zonder pardon of vermelding deze code gebruikt die door geen andere browser wordt ondersteund dan <acronym title="Internet Explorer">IE</acronym>.</p>
<p>Persoonlijk geloof ik dat Firefox de browser is die meest conform de <acronym title="World Wide Web Consortium">W3C</acronym> standaard is ontwikkeld. Het is daarom ook de referentie browser voor deze website. Het zou dwaas zijn om de <acronym title="Internet Explorer">IE</acronym> gebruikers te negeren, hoewel ik niet veel energie zou investeren om alles voor <acronym title="Internet Explorer">IE</acronym>6 te optimaliseren. Het is niet redelijk om van webmasters te verwachten rekening te houden met verouderde versies van <acronym title="Internet Explorer">IE</acronym> wanneer Microsoft zelf deze producten niet meer ondersteund. Browsers zijn in de regel gratis te downloaden. De automatische update van Windows XP installeert de upgrade naar <acronym title="Internet Explorer">IE</acronym>7 en Vista wordt met <acronym title="Internet Explorer">IE</acronym>7 geleverd. Op het moment van dit schijven zijn de helft van alle <acronym title="Internet Explorer">IE</acronym>6 gebruikers al over op <acronym title="Internet Explorer">IE</acronym>7. Natuurlijk als blijkt dat het gros van de bezoekers uit landen komen waar Windows 98 met <acronym title="Internet Explorer">IE</acronym>5 nog gangbaar is, moeten wel degelijk stappen ondernomen worden om het voor deze mensen toegankelijk te maken. Vergeet niet, de bezoeker is koning.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.vanberghem.com/algemeen/niet-alle-browsers-zijn-gelijk-geschapen.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XHTML en CSS bestand opstellen</title>
		<link>http://www.vanberghem.com/xhtml-nl/xhtml-en-css-bestand-opstellen.html</link>
		<comments>http://www.vanberghem.com/xhtml-nl/xhtml-en-css-bestand-opstellen.html#comments</comments>
		<pubDate>Mon, 16 Jan 2012 17:59:01 +0000</pubDate>
		<dc:creator>jberghem</dc:creator>
				<category><![CDATA[(X)HTML]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.vanberghem.com/?p=81</guid>
		<description><![CDATA[Oké, je hebt gelezen dat je veel tijd en moeite kunt besparen als je de inhoud (HTML) en de presentatie (CSS) scheid. Maar hoe doe je dat in de praktijk? Hoe voorkom ik dat ik dat ik mijn HTML documenten toch gewijzigd moeten worden als ik het ontwerp van de website wil veranderen? Het antwoord [...]]]></description>
			<content:encoded><![CDATA[<div lang="nl">
<p>Oké, je hebt gelezen dat je veel tijd en moeite kunt besparen als je de inhoud (HTML) en de presentatie (CSS) scheid. Maar hoe doe je dat in de praktijk? Hoe voorkom ik dat ik dat ik mijn HTML documenten toch gewijzigd moeten<br />
 worden als ik het ontwerp van de website wil veranderen? Het antwoord is eigenlijk veel makkelijker dan dat veel mensen denken. Als je continuïteit wil hebben in het ontwerp van je pagina moet die continuïteit ook in de XHTML zitten. De XHTML moet het raamwerk vormen waar de CSS &#8211; de stilering en lay-out, aan wordt opgehangen. In meeste gevallen bestaat een pagina uit een kop, inhoud, navigatie (links) en een voet. Je zou het kunnen vergelijken met een vrouw en hoe ze zich kleed. De vrouw zelf is de XHTML en haar kleding, make-up, accessoires en schoenen zijn de CSS. Mocht een vrouw dit lezen, wil ik duidelijk maken dat ik de term kop niet gebruik om beledigend te zijn maar om verwarring te vermeiden met het hoofd element (<code>&lt;head&gt;</code>) in de pagina. Deze vergelijking slaat op wat zich binnen het &lt;body&gt; element bevind. De navigatie links moet je hier zien als een accessoire omdat die niet een vaste plek heeft op het lichaam. Soms worden de navigatie links tussen de kop en de inhoud geplaatst en steeds vaker tussen de inhoud en de voet of helemaal op het eind. De verschillende onderdelen worden elk tussen <code>&lt;div&gt;</code> elementen geplaatst en krijgen elk een uniek <code>&quot;id&quot;</code> zoals in het volgende voorbeeld.</p>
<h3>Voorbeeld</h3>
<div class="code"><code>&lt;div id=&quot;header&quot;&gt;</code></div>
<p>Dit maakt het mogelijk om gelijkwaardige elementen in de verschillende <code>&lt;div&gt;</code>&#8216;s een andere opmaak te geven. Om extra controle te geven over de pagina in zijn geheel plaats je all deze <code>&lt;div&gt;</code>&#8216;s binnen een andere <code>&lt;div&gt;</code> zodat de het XHTML document er als volgt uitziet.</p>
<h3>XHTML</h3>
<div class="code"><code>&lt;body&gt;</code><br/><code>&lt;div id&#61;&quot;container&quot;&gt;</code><br/><code>&nbsp;&nbsp;&lt;div id&#61;&quot;header&quot;&gt;</code><br /><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;h1&gt;Naam van Website of Bedrijf&lt;/h1&gt;</code><br /><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt;Motto van Website of Bedrijf&lt;/p&gt;</code><br /><code>&nbsp;&nbsp;&lt;/div&gt;</code><br/><code>&nbsp;&nbsp;&lt;div id&#61;&quot;content&quot;&gt;</code><br /><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;h2&gt;Pagina Titel of Onderwerp&lt;/h2&gt;</code><br /><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt;Lorem ipsum dolor sit amet, <br />&nbsp;&nbsp;&nbsp;&nbsp; consectetuer adipiscing elit. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Curabitur nulla lectus, <br />&nbsp;&nbsp;&nbsp;&nbsp; suscipit ullamcorper, iaculis non, <br />&nbsp;&nbsp;&nbsp;&nbsp; semper ac, arcu. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Nullam nunc purus, blandit ac, <br />&nbsp;&nbsp;&nbsp;&nbsp; dapibus vel, pretium in, mi. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/p&gt;</code><br /><code>&nbsp;&nbsp;&lt;/div&gt;</code><br/><code>&lt;div id&#61;&quot;navigation&quot;&gt;</code><br /><code>&nbsp;&nbsp;&nbsp;&nbsp;&lt;h2&gt;Links&lt;/h2&gt;</code><br /><code>&nbsp;&nbsp;&nbsp;&nbsp;&lt;ul&gt;</code><br /><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;a href&#61;&quot;&#47;&quot;&gt;home&lt;/a&gt;&lt;/li&gt;</code><br /><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;a href&#61;&quot;&#35;&quot;&gt;pagina 2&lt;/a&gt;&lt;/li&gt;</code><br /><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;a href&#61;&quot;&#35;&quot;&gt;pagina 3&lt;/a&gt;&lt;/li&gt;</code><br /><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;a href&#61;&quot;&#35;&quot;&gt;pagina 4&lt;/a&gt;&lt;/li&gt;</code><br /><code>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/ul&gt;</code><br /><code>&lt;/div&gt;</code><br/><code>&lt;div id&#61;&quot;footer&quot;&gt;</code><br /><code>&nbsp;&nbsp;&lt;p&gt;&copy; copyright 2008 Company Name&lt;/p&gt;</code><br /><code> &lt;/div&gt;</code><br/><code>&lt;/div&gt;</code><br/><code>&lt;/body&gt;</code></div>
<p>Het CSS bestand zou er dan zou uit kunnen zien.</p>
<h3>CSS</h3>
<div class="code"><code> * &#123; </code><br /><code>&nbsp;&nbsp;font-style: normal; </code><br /><code>&nbsp;&nbsp;font-weight: normal; </code><br /><code>&nbsp;&nbsp;text-decoration: none; </code><br /><code>&nbsp;&nbsp;margin: 0px; </code><br /><code>&nbsp;&nbsp;padding: 0px; </code><br /><code>&nbsp;&nbsp;border-style: none; </code><br /><code>&nbsp;&nbsp;list-style-type: none; </code><br /><code>&#125; </code><br/><code>body &#123; </code><br /><code>&nbsp;&nbsp;font-family: Verdana, Arial, Helvetica, sans-serif; </code><br /><code>&nbsp;&nbsp;font-size: 100%; </code><br /><code>&nbsp;&nbsp;color: &#35;000000; </code><br /><code>&nbsp;&nbsp;&nbsp;background-color: #66CCFF; </code><br /><code>&#125;</code><br/><code>&#35;container &#123; </code><br /><code>&nbsp;&nbsp;width: 800px; </code><br /><code>&nbsp;&nbsp;margin-right: auto; </code><br /><code>&nbsp;&nbsp;margin-left: auto; </code><br /><code>&#125;</code><br/><code>&#35;header &#123; </code><br /><code>&nbsp;&nbsp;color: &#35;44CCFF; </code><br /><code>&nbsp;&nbsp;background-color: &#35;000000; </code><br /><code>&nbsp;&nbsp;border-bottom: thick solid &#35;FFFF00; </code><br /><code>&#125;</code><br /><code>&#35;header h1 &#123;</code><br /><code>&nbsp;&nbsp; font-size: 2em; </code><br /><code>&nbsp;&nbsp;font-weight: bold; </code><br /><code>&nbsp;&nbsp;text-align: center; </code><br /><code>&#125; </code><br/><code>&#35;header p &#123; </code><br /><code>&nbsp;&nbsp;font-family: Georgia, &quot;Times New Roman&quot;, Times, serif; </code><br /><code>&nbsp;&nbsp;font-size: 0.9em; </code><br /><code>&nbsp;&nbsp;font-style: oblique; </code><br /><code>&nbsp;&nbsp;text-align: right; </code><br /><code>&nbsp;&nbsp;margin-right: 1em; </code><br /><code>&#125; </code><br/><code>&#35;content &#123; </code><br /><code>&nbsp;&nbsp;padding: 10px; </code><br /><code>&nbsp;&nbsp;float: right; </code><br /><code>&nbsp;&nbsp;width: 600px; </code><br /><code>&#125; </code><br/><code>#content h2 &#123; </code><br /><code>&nbsp;&nbsp;font-size: 1.5em; </code><br /><code>&nbsp;&nbsp;font-weight: bold; </code><br /><code>&nbsp;&nbsp;text-decoration: underline; </code><br /><code>&nbsp;&nbsp;margin-bottom: 0.7em; </code><br /><code>&#125; </code><br/><code>&#35;content p &#123; </code><br /><code>&nbsp;&nbsp;margin-bottom: 1em; </code><br /><code>&#125; </code><br/><code>&#35;navigation &#123; </code><br /><code>&nbsp;&nbsp;width: 180px; </code><br /><code>&nbsp;&nbsp;margin-top: 1em; </code><br /><code>&#125; </code><br/><code>&#35;navigation h2 &#123; </code><br /><code>&nbsp;&nbsp;font-size: 1em; </code><br /><code>&nbsp;&nbsp;font-weight: bold; </code><br /><code>&nbsp;&nbsp;font-variant: small-caps; </code><br /><code>&nbsp;&nbsp;text-transform: capitalize; </code><br /><code>&nbsp;&nbsp;text-align: center; </code><br /><code>&#125; </code><br/><code>&#35;navigation ul &#123; </code><br /><code>&nbsp;&nbsp;border: thin solid &#35;FFFF00; </code><br /><code>&#125; </code><br/><code>&#35;navigation li &#123; </code><br /><code>&nbsp;&nbsp;margin: 3px; </code><br /><code>&#125; </code><br/><code>&#35;navigation li a &#123; </code><br /><code>&nbsp;&nbsp;text-transform: capitalize; </code><br /><code>&nbsp;&nbsp;color: &#35;666666; </code><br /><code>&nbsp;&nbsp;border: thin solid &#35;000066; </code><br /><code>&nbsp;&nbsp;display: block; </code><br /><code>&nbsp;&nbsp;padding: 5px; </code><br /><code>&#125; </code><br/><code>&#35;navigation li a:hover &#123; </code><br /><code>&nbsp;&nbsp;color: &#35;000000; </code><br /><code>&nbsp;&nbsp;border: thin solid &#35;0000CC; </code><br /><code>&nbsp;&nbsp;background-color: &#35;0099CC; </code><br /><code>&#125; </code><br/><code>&#35;footer &#123; </code><br /><code>&nbsp;&nbsp;clear: both; </code><br /><code>&nbsp;&nbsp;margin-top: 2em; </code><br /><code>&nbsp;&nbsp;border-top: thick solid &#35;FFFF00; </code><br /><code>&nbsp;&nbsp;width: 100%; </code><br /><code>&#125; </code><br/><code>&#35;footer p &#123; </code><br /><code>&nbsp;&nbsp;font-size: 0.8em; </code><br /><code>&nbsp;&nbsp;text-align: center; </code><br /><code>&#125; </code></div>
<p>In andere artikels wordt in gegaan waarom men dit op deze wijze doet.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.vanberghem.com/xhtml-nl/xhtml-en-css-bestand-opstellen.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Grote veranderingen op de VanBerghem.com website</title>
		<link>http://www.vanberghem.com/algemeen/grote-veranderingen-op-de-vanberghem-com-website.html</link>
		<comments>http://www.vanberghem.com/algemeen/grote-veranderingen-op-de-vanberghem-com-website.html#comments</comments>
		<pubDate>Mon, 16 Jan 2012 17:56:55 +0000</pubDate>
		<dc:creator>jberghem</dc:creator>
				<category><![CDATA[Algemeen]]></category>

		<guid isPermaLink="false">http://www.vanberghem.com/?p=77</guid>
		<description><![CDATA[VanBerghem.com gaat veranderen. Het design wordt vernieuwd en de indeling zal ook veranderen. We doen ons best om ervoor te zorgen dat de huidige links blijven bestaan zodat alle bladwijzers of favorieten blijven werken. Hou de website in de gaten om te zien waar we allemaal mee bezig zijn. Als u opzoek bent naar meer [...]]]></description>
			<content:encoded><![CDATA[<div lang="nl">
<p>VanBerghem.com gaat veranderen. Het design wordt vernieuwd en de indeling zal ook veranderen. We doen ons best om ervoor te zorgen dat de huidige links blijven bestaan zodat alle bladwijzers of favorieten blijven werken. Hou de website in de gaten om te zien waar we allemaal mee bezig zijn. Als u opzoek bent naar meer informatie over hoe websites op de juiste wijze worden gemaakt zult u blij zijn met de veranderingen die er aankomen.</p>
<p>De onderscheidende factor van deze website blijft de &#8220;Waarom&#8221; factor. Het is vaak makkelijker om dingen te leren en over te nemen wanneer er begrepen wordt wat de achterliggende gedachte is. Wanneer het duidelijk is waarom dingen op een specifieke wijze worden gedaan dan kunt u uw voordeel eruit halen en websites bouwen die sneller zijn, minder onderhoud nodig hebben en meer bezoekers trekken.</p>
<p>De artikelen die u hier binnenkort kunt lezen zijn bedoeld om u aan het denken te zetten en hopelijk af en toe een &#8220;aha!&#8221; moment te geven. Op veel websites staan stap voor stap handleidingen maar vaak wordt het concept niet uitgelegd waaruit u kunt leren hoe de techniek gebruikt kan worden voor uw eigen doeleinden. Dit concept is wat wij altijd proberen te integreren in onze artikelen.</p>
<p>Tot nu toe kon u over de onderwerpen (X)HTML CSS en WordPress lezen. Deze onderwerpen worden nu uitgebreid met o.a. PHP, HTML5, Google Adwords, Google Analytics en marketing. Wij willen al de verschillende facetten behandelen van het maken van succesvolle websites, en niet enkel blind staren op de code alleen. De reden waarom de website geheel vernieuwd wordt is omdat VanBerghem.com nu onderdeel is van Van Berghem Communications en Clean Creative Communications.</p>
<p>We hopen dat u blij bent met de veranderingen en de nieuwe koers die we gaan varen.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.vanberghem.com/algemeen/grote-veranderingen-op-de-vanberghem-com-website.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Major Changes Comming on VanBerghem.com</title>
		<link>http://www.vanberghem.com/general/major-changes-comming-on-vanberghem-comgrote-veranderingen-op-de-vanberghem-com-website.html</link>
		<comments>http://www.vanberghem.com/general/major-changes-comming-on-vanberghem-comgrote-veranderingen-op-de-vanberghem-com-website.html#comments</comments>
		<pubDate>Mon, 05 Dec 2011 14:58:14 +0000</pubDate>
		<dc:creator>jberghem</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.vanberghem.com/?p=47</guid>
		<description><![CDATA[This website will go through some major changes. The design is going to change and so will the structure of the site. We will do our best to keep the old links working so any bookmarks you may have made won&#8217;t break. Please check back regularly to see what we&#8217;re doing. If you like more [...]]]></description>
			<content:encoded><![CDATA[<div lang="en">
<p>This website will go through some major changes. The design is going to change and so will the structure of the site. We will do our best to keep the old links working so any bookmarks you may have made won&#8217;t break. Please check back regularly to see what we&#8217;re doing. If you like more information about how make websites the right way you will like the changes we are going to make.</p>
<p>One element which will stay dominant on this website is the &#8220;why&#8221; factor. It is often much easier to learn and adopt the right way to do things when you understand the reason behind it. When you understand the intended purpose of doing things a certain way, you&amp;quo;ll be able to use it to your advantage and make your websites faster, easier to maintain and draw more visitors.</p>
<p>The articles posted here will push you to think and hopefully give you some &#8220;aha&#8221; moments. Many website will show you step by step tutorials but don&#8217;t explain the concept behind it and this is what we will try to include in our articles.</p>
<p>So far our articles have been limited to (X)HTML, CSS and WordPress. Soon we will add other topics to this site such as PHP, HTML5, Google Adwords &amp; Analytics, marketing and more. We want to focus on all different elements needed to make a successful website and not only the technical or code side.</p>
<p>The reason for all these changes is because VanBerghem.com is now part of Van Berghem Communications and Clean Creative Communications.</p>
<p>We hope you&#8217;ll enjoy the changes and the direction this website is going to take</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.vanberghem.com/general/major-changes-comming-on-vanberghem-comgrote-veranderingen-op-de-vanberghem-com-website.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up an XHTML and CSS file</title>
		<link>http://www.vanberghem.com/xhtml/setting-up-an-xhtml-and-css-file.html</link>
		<comments>http://www.vanberghem.com/xhtml/setting-up-an-xhtml-and-css-file.html#comments</comments>
		<pubDate>Sun, 06 Apr 2008 13:00:27 +0000</pubDate>
		<dc:creator>jberghem</dc:creator>
				<category><![CDATA[(X)HTML]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.vanberghem.com/2008/04/06/setting-up-an-xhtml-and-css-filexhtml-en-css-bestand-opstellen/</guid>
		<description><![CDATA[<div lang="en"><p>Okay, so you read that separating the content (XHTML) from the presentation (CSS) can save you lot's of time. But how do you turn that theory into practice? How do I avoid having to open my XHTML files when I want to change the design? The answer is actually a lot simpler than many may think... </p></div><div lang="nl"><p>Oké, je hebt gelezen dat je veel tijd en moeite kunt besparen als je de inhoud (HTML) en de presentatie (CSS) scheid. Maar hoe doe je dat in de praktijk? Hoe voorkom ik dat ik dat ik mijn HTML documenten toch gewijzigd moeten
 worden als ik het ontwerp van de website wil veranderen? Het antwoord is eigenlijk veel makkelijker dan dat veel mensen denken...</p></div>]]></description>
			<content:encoded><![CDATA[<div lang="en">
<p>Okay, so you read that separating the content (XHTML) from the presentation (CSS) can save you lot&#8217;s of time. But how do you turn that theory into practice? How do I avoid having to open my XHTML files when I want to change the design? The answer is actually a lot simpler than many may think. If you want continuity in your design, your content, the XHTML, will need continuity as well. The XHTML forms the framework to which you attach the styling and the layout. Most web pages are made up of several parts; a heading, main content, navigation links, and a footer. You could compare it to a woman and how she dresses herself. The XHTML is the woman itself and the make-up, clothes, accessories, and shoes are the CSS. The navigational links would fall in the category accessories because they don&#8217;t have a fixed place in the XHTML. Sometimes they&#8217;re placed between the heading and the main content but it&#8217;s becoming more common to place them between the main content and the footer or completely at the end. You&#8217;ll want place each of these parts inside &lt;div&gt; tags giving them each a unique &quot;id&quot; as shown in the example.</p>
<h3>Example</h3>
<div class="code"><code>&lt;div id&#61;&quot;header&quot;&gt;</code></div>
<p>This will make it possible to format the same elements differently within each &lt;div&gt; tag. To get more control over the page as a whole we place all these &lt;div&gt;&#8217;s within a container div so that the XHTML looks somewhat like this:</p>
<h3>XHTML</h3>
<div class="code"><code>&lt;body&gt;</code><br/><code>&lt;div id&#61;&quot;container&quot;&gt;</code><br/><code>&nbsp;&nbsp;&lt;div id&#61;&quot;header&quot;&gt;</code><br /><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;h1&gt;Site or Company Name&lt;/h1&gt;</code><br /><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt;Site or Company Slogan&lt;/p&gt;</code><br /><code>&nbsp;&nbsp;&lt;/div&gt;</code><br/><code>&nbsp;&nbsp;&lt;div id&#61;&quot;content&quot;&gt;</code><br /><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;h2&gt;Page Title or Subject&lt;/h2&gt;</code><br /><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt;Lorem ipsum dolor sit amet, <br /> &nbsp;&nbsp;&nbsp;&nbsp; consectetuer adipiscing elit. <br />  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Curabitur nulla lectus, <br /> &nbsp;&nbsp;&nbsp;&nbsp; suscipit ullamcorper, iaculis non, <br />&nbsp;&nbsp;&nbsp;&nbsp; semper ac, arcu. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Nullam nunc purus, blandit ac, <br /> &nbsp;&nbsp;&nbsp;&nbsp; dapibus vel, pretium in, mi. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/p&gt;</code><br /><code>&nbsp;&nbsp;&lt;/div&gt;</code><br/><code>&lt;div id&#61;&quot;navigation&quot;&gt;</code><br /><code>&nbsp;&nbsp;&nbsp;&nbsp;&lt;h2&gt;Navigation&lt;/h2&gt;</code><br /><code>&nbsp;&nbsp;&nbsp;&nbsp;&lt;ul&gt;</code><br /><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;a href&#61;&quot;&#47;&quot;&gt;home&lt;/a&gt;&lt;/li&gt;</code><br /><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;a href&#61;&quot;&#35;&quot;&gt;page 2&lt;/a&gt;&lt;/li&gt;</code><br /><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;a href&#61;&quot;&#35;&quot;&gt;page 3&lt;/a&gt;&lt;/li&gt;</code><br /><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;a href&#61;&quot;&#35;&quot;&gt;page 4&lt;/a&gt;&lt;/li&gt;</code><br /><code>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/ul&gt;</code><br /><code>&lt;/div&gt;</code><br/><code>&lt;div id&#61;&quot;footer&quot;&gt;</code><br /><code>&nbsp;&nbsp;&lt;p&gt;copyright 2008 Company Name&lt;/p&gt;</code><br /><code>&lt;/div&gt;</code><br/><code>&lt;/div&gt;</code><br/><code>&lt;/body&gt;</code></div>
<p>The CSS attached to the XHTML could look something like this.</p>
<h3>CSS</h3>
<div class="code"><code> * &#123; </code><br /><code>&nbsp;&nbsp;font-style: normal; </code><br /><code>&nbsp;&nbsp;font-weight: normal; </code><br /><code>&nbsp;&nbsp;text-decoration: none; </code><br /><code>&nbsp;&nbsp;margin: 0px; </code><br /><code>&nbsp;&nbsp;padding: 0px; </code><br /><code>&nbsp;&nbsp;border-style: none; </code><br /><code>&nbsp;&nbsp;list-style-type: none; </code><br /><code>&#125; </code><br/><code>body &#123; </code><br /><code>&nbsp;&nbsp;font-family: Verdana, Arial, Helvetica, sans-serif; </code><br /><code>&nbsp;&nbsp;font-size: 100%; </code><br /><code>&nbsp;&nbsp;color: &#35;000000; </code><br /><code>&nbsp;&nbsp;&nbsp;background-color: #66CCFF; </code><br /><code>&#125;</code><br/><code>&#35;container &#123; </code><br /><code>&nbsp;&nbsp;width: 800px; </code><br /><code>&nbsp;&nbsp;margin-right: auto; </code><br /><code>&nbsp;&nbsp;margin-left: auto; </code><br /><code>&#125;</code><br/><code>&#35;header &#123; </code><br /><code>&nbsp;&nbsp;color: &#35;44CCFF; </code><br /><code>&nbsp;&nbsp;background-color: &#35;000000; </code><br /><code>&nbsp;&nbsp;border-bottom: thick solid &#35;FFFF00; </code><br /><code>&#125;</code><br /><code>&#35;header h1 &#123;</code><br /><code>&nbsp;&nbsp; font-size: 2em; </code><br /><code>&nbsp;&nbsp;font-weight: bold; </code><br /><code>&nbsp;&nbsp;text-align: center; </code><br /><code>&#125; </code><br/><code>&#35;header p &#123; </code><br /><code>&nbsp;&nbsp;font-family: Georgia, &quot;Times New Roman&quot;, Times, serif; </code><br /><code>&nbsp;&nbsp;font-size: 0.9em; </code><br /><code>&nbsp;&nbsp;font-style: oblique; </code><br /><code>&nbsp;&nbsp;text-align: right; </code><br /><code>&nbsp;&nbsp;margin-right: 1em; </code><br /><code>&#125; </code><br/><code>&#35;content &#123; </code><br /><code>&nbsp;&nbsp;padding: 10px; </code><br /><code>&nbsp;&nbsp;float: right; </code><br /><code>&nbsp;&nbsp;width: 600px; </code><br /><code>&#125; </code><br/><code>#content h2 &#123; </code><br /><code>&nbsp;&nbsp;font-size: 1.5em; </code><br /><code>&nbsp;&nbsp;font-weight: bold; </code><br /><code>&nbsp;&nbsp;text-decoration: underline; </code><br /><code>&nbsp;&nbsp;margin-bottom: 0.7em; </code><br /><code>&#125; </code><br/><code>&#35;content p &#123; </code><br /><code>&nbsp;&nbsp;margin-bottom: 1em; </code><br /><code>&#125; </code><br/><code>&#35;navigation &#123; </code><br /><code>&nbsp;&nbsp;width: 180px; </code><br /><code>&nbsp;&nbsp;margin-top: 1em; </code><br /><code>&#125; </code><br/><code>&#35;navigation h2 &#123; </code><br /><code>&nbsp;&nbsp;font-size: 1em; </code><br /><code>&nbsp;&nbsp;font-weight: bold; </code><br /><code>&nbsp;&nbsp;font-variant: small-caps; </code><br /><code>&nbsp;&nbsp;text-transform: capitalize; </code><br /><code>&nbsp;&nbsp;text-align: center; </code><br /><code>&#125; </code><br/><code>&#35;navigation ul &#123; </code><br /><code>&nbsp;&nbsp;border: thin solid &#35;FFFF00; </code><br /><code>&#125; </code><br/><code>&#35;navigation li &#123; </code><br /><code>&nbsp;&nbsp;margin: 3px; </code><br /><code>&#125; </code><br/><code>&#35;navigation li a &#123; </code><br /><code>&nbsp;&nbsp;text-transform: capitalize; </code><br /><code>&nbsp;&nbsp;color: &#35;666666; </code><br /><code>&nbsp;&nbsp;border: thin solid &#35;000066; </code><br /><code>&nbsp;&nbsp;display: block; </code><br /><code>&nbsp;&nbsp;padding: 5px; </code><br /><code>&#125; </code><br/><code>&#35;navigation li a:hover &#123; </code><br /><code>&nbsp;&nbsp;color: &#35;000000; </code><br /><code>&nbsp;&nbsp;border: thin solid &#35;0000CC; </code><br /><code>&nbsp;&nbsp;background-color: &#35;0099CC; </code><br /><code>&#125; </code><br/><code>&#35;footer &#123; </code><br /><code>&nbsp;&nbsp;clear: both; </code><br /><code>&nbsp;&nbsp;margin-top: 2em; </code><br /><code>&nbsp;&nbsp;border-top: thick solid &#35;FFFF00; </code><br /><code>&nbsp;&nbsp;width: 100%; </code><br /><code>&#125; </code><br/><code>&#35;footer p &#123; </code><br /><code>&nbsp;&nbsp;font-size: 0.8em; </code><br /><code>&nbsp;&nbsp;text-align: center; </code><br /><code>&#125; </code></div>
<p>The in&#8217;s&nbsp; and out&#8217;s on how it&#8217;s done this way is covered on other posts</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.vanberghem.com/xhtml/setting-up-an-xhtml-and-css-file.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>2 Degrees of Separation</title>
		<link>http://www.vanberghem.com/xhtml/2-degrees-of-separation.html</link>
		<comments>http://www.vanberghem.com/xhtml/2-degrees-of-separation.html#comments</comments>
		<pubDate>Fri, 21 Mar 2008 23:16:00 +0000</pubDate>
		<dc:creator>jberghem</dc:creator>
				<category><![CDATA[(X)HTML]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.vanberghem.com/2008/03/22/2-degrees-of-separation/</guid>
		<description><![CDATA[I remember way back in 1995 we got our first Internet connection. I visited the web with Netscape 1.0 or Internet Explorer 2.0. Most websites had a white background with black text. Sometimes I was lucky and the site had an image on it with 256 colors. That is if I had the load images [...]]]></description>
			<content:encoded><![CDATA[<div lang="en">
<p>I remember way back in 1995 we got our first Internet connection. I visited the web with Netscape 1.0 or Internet Explorer 2.0. Most websites had a white background with black text. Sometimes I was lucky and the site had an image on it with 256 colors. That is if I had the load images option enabled in my browser. I would type the address of the site and wait for five to ten minutes for the page to load over the mega fast 33.6k modem. A lot has changed since then.</p>
<h3>History</h3>
<p>When <acronym title="HyperText Markup Language">HTML</acronym> was first written it was designed for scientist to share their research papers. It was a simple language to markup or to define the text. What is this sentence? Is it a header, a quote, part of a paragraph? Nothing was aimed at design. They just needed a way to share information. Once the World Wide Web was discovered as a commercial platform, there came a need to make websites attractive. People wanted more than just black text on a white background and a funny animated GIF. So the different <acronym title="HyperText Markup Language">HTML</acronym> tags started being used for what they looked like in a browser instead of what meaning they had. Tables were used for layout, to create columns or position graphics. If you wanted an indented block of text you used <code>&lt;blockquote&gt;</code>. The meanings of the tags were lost, only their presentational value remained. Since <acronym title="HyperText Markup Language">HTML</acronym> was never intended for this use, many shortcomings quickly became apparent. There emerged a need for a language that contained the design, allowing <acronym title="HyperText Markup Language">HTML</acronym> to return to its original purpose of defining the content, a language that would give designers the freedom of letting the design flow in layers over the page, a sheet that would let the style cascade over the <acronym title="HyperText Markup Language">HTML</acronym>. Cascading Style Sheets or <acronym title="Cascading Style Sheets">CSS</acronym> was the answer.</p>
<h3>CSS power</h3>
<p><acronym title="Cascading Style Sheets">CSS</acronym> provides the designer with the power to define the look, feel and behavior of every <acronym title="HyperText Markup Language">HTML</acronym> element. Every <acronym title="HyperText Markup Language">HTML</acronym> tag can not only be styled differently but different styles can be defined for the same tag depending on their ID, class or <acronym title="HyperText Markup Language">HTML</acronym> element they are embedded in. But you can take it a step further. When you keep the <acronym title="Cascading Style Sheets">CSS</acronym> styles in an external style sheet it gives you the ability to link the styles to all the HTML files creating a continuity of style across all of the sites pages. The true benefit of working with external style sheets becomes obvious when a change in design is needed. For example: You have a website with fifty pages. Each page has on average ten paragraphs. If you decide you want to use the Arial font instead of the Times New Romans font for your paragraphs and the font type of your paragraphs is specified with the tag <code>&lt;font face="Times New Roman, Times, serif"&gt;</code> in <acronym title="HyperText Markup Language">HTML</acronym>, you would have to change the tag to <code>&lt;font face="Arial, Helvetica, sans-serif"&gt;</code> on each of the ten paragraphs in all fifty pages. That’s five hundred tags you have to change. If you had styled the paragraphs in an external style sheet, all you would have to do is open the style sheet and change <code>p { font-family: "Times New Roman", Times, serif; }</code> into <code>p { font-family: Arial, Helvetica, sans-serif; }</code>. Yes that’s right just one tag in one place, that’s all.</p>
<h3>Why not?</h3>
<p>It is clearly obvious that separating the style from the content is by far the more practical and time saving technique of designing websites. So why not do it this way? Why are there still so many beginner <acronym title="HyperText Markup Language">HTML</acronym> courses that teach you the old way first? Why are there still so many corporate websites out there that still use tables for layout? Why aren’t they separating the content and the presentation? Why not?</p>
<h3>C$$</h3>
<p>The time you save by following the <acronym title="World Wide Web Consortium">W3C</acronym> recommendations, even if you have to redo the lot, is better than money in your pocket. It can put an end to miserable tedious and repetitive coding, save those countless hours checking the continuity in design across the different pages of your site, and lay to rest those frustrations caused by collapsing tables that you’re using for the layout. Once you realize to which degree this separation will stimulate your creativity and how many doors to new designs it opens, you’ll never code a page in any other way.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.vanberghem.com/xhtml/2-degrees-of-separation.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Doctype</title>
		<link>http://www.vanberghem.com/xhtml/doctype.html</link>
		<comments>http://www.vanberghem.com/xhtml/doctype.html#comments</comments>
		<pubDate>Sat, 01 Mar 2008 11:05:55 +0000</pubDate>
		<dc:creator>jberghem</dc:creator>
				<category><![CDATA[(X)HTML]]></category>

		<guid isPermaLink="false">http://www.vanberghem.com/2008/03/01/doctype/</guid>
		<description><![CDATA[So what is a DOCTYPE and what is it good for? What does the DOCTYPE do anyway? There is not just one type of HTML, there are actually many: HTML 4.01 Strict, HTML 4.01 Transitional, XHTML 1.0 Strict, and many more. All these types of HTML are defined in their respective W3C specifications, but they [...]]]></description>
			<content:encoded><![CDATA[<div lang="en">
<p>So what is a DOCTYPE and what is it good for? What does the DOCTYPE do anyway?</p>
<blockquote><p><q cite="http://www.w3.org/QA/Tips/Doctype">There is not just one type of HTML, there are actually many: HTML 4.01 Strict, HTML 4.01 Transitional, XHTML 1.0 Strict, and many more. All these types of HTML are defined in their respective W3C specifications, but they are also defined in a machine-readable language specifying the legal structure, elements and attributes of a type of HTML. Such a definition is called a &#8220;Document Type Definition&#8221;, or, for short, <acronym title="Document Type Definition">DTD</acronym>.</q><br />
 ~ Olivier Thereaux</p>
</blockquote>
<blockquote><p><q cite="http://www.htmldog.com/reference/htmltags/doctype/">This is used to let the browser know what version of HTML you are using. If you don’t use it, or if you get it wrong, the browser will assume you don’t know what you’re doing and switch to ‘quirks mode’, which will not render things as they should be. Apparently it’s more ‘forgiving’ but it actually seems to be quite random and confusing. The case must be like that in the example below (with upper case ‘DOCTYPE’). It does not close like other tags.</q><br />
 ~ Patrick Griffiths &#8211; <a href="http://www.htmldog.com/" target="_blank">HTML Dog</a></p>
</blockquote>
<h3>Example</h3>
<div class="code"><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;</code></div>
<p>Do note that the <acronym title="Document Type Definition">DTD</acronym> greatly influences how you need to formulate your code that follows it. Some <acronym title="Document Type Definition">DTD</acronym>’s require extra tags in your document. To make it easy for you, here’s a list.</p>
<h3>HTML</h3>
<p>HTML 4.01 Transitional</p>
<div class="code"><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  "http://www.w3.org/TR/html4/loose.dtd"&gt;<br />
 &lt;html&gt;<br />
 &lt;head&gt;<br />
 &lt;title&gt;&lt;/title&gt;<br />
 &lt;/head&gt;<br />
 &lt;body&gt;<br />
 &lt;/body&gt;<br />
 &lt;/html&gt; </code></div>
<p>HTML 4.01 Strict</p>
<div class="code"><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"  "http://www.w3.org/TR/html4/strict.dtd"&gt;<br />
 &lt;html&gt;<br />
 &lt;head&gt;<br />
 &lt;title&gt;&lt;/title&gt;<br />
 &lt;/head&gt;<br />
 &lt;body&gt;<br />
 &lt;/body&gt;<br />
 &lt;/html&gt; </code></div>
<p>HTML 4.01 Frameset</p>
<div class="code"><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"  "http://www.w3.org/TR/html4/frameset.dtd"&gt;<br />
 &lt;html&gt;<br />
 &lt;head&gt;<br />
 &lt;title&gt;&lt;/title&gt;<br />
 &lt;/head&gt;<br />
 &lt;frameset&gt;<br />
 &lt;/frameset&gt;<br />
 &lt;/html&gt; </code></div>
<h3>XHTML</h3>
<p>XHTML 1.0 Transitional</p>
<div class="code"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br />
 &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;<br />
 &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;<br />
 &lt;head&gt;<br />
 &lt;title&gt;&lt;/title&gt;<br />
 &lt;/head&gt;<br />
 &lt;body&gt;<br />
 &lt;/body&gt;<br />
 &lt;/html&gt; </code></div>
<p>XHTML 1.0 Strict</p>
<div class="code"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br />
 &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;<br />
 &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;<br />
 &lt;head&gt;<br />
 &lt;title&gt;&lt;/title&gt;<br />
 &lt;/head&gt;<br />
 &lt;body&gt;<br />
 &lt;/body&gt;<br />
 &lt;/html&gt;</code></div>
<p>XHTML 1.0 Frameset</p>
<div class="code"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br />
 &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"&gt;<br />
 &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;<br />
 &lt;head&gt;<br />
 &lt;title&gt;&lt;/title&gt;<br />
 &lt;/head&gt;<br />
 &lt;frameset&gt;<br />
 &lt;/frameset&gt;<br />
 &lt;/html&gt; </code></div>
<p>XHTML 1.1</p>
<div class="code"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br />
 &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&gt;<br />
 &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;<br />
 &lt;head&gt;<br />
 &lt;title&gt;&lt;/title&gt;<br />
 &lt;/head&gt;<br />
 &lt;body&gt;<br />
 &lt;/body&gt;<br />
 &lt;/html&gt; </code></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.vanberghem.com/xhtml/doctype.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Not all browsers are created equal</title>
		<link>http://www.vanberghem.com/general/not-all-browsers-are-created-equal.html</link>
		<comments>http://www.vanberghem.com/general/not-all-browsers-are-created-equal.html#comments</comments>
		<pubDate>Sun, 24 Feb 2008 11:53:17 +0000</pubDate>
		<dc:creator>jberghem</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.vanberghem.com/?p=1</guid>
		<description><![CDATA[The World Wide Web Consortium (W3C) develops the standards that govern the internet. Unfortunately some companies do not follow and implement all standards and guidelines in their software. It probably won’t come as a surprise when I tell you that I think Microsoft is one of these companies. All versions of MS Internet Explorer up [...]]]></description>
			<content:encoded><![CDATA[<div lang="en">
<p>The World Wide Web  Consortium (W3C) develops the standards that govern the internet. Unfortunately  some companies do not follow and implement all standards and guidelines in their  software. It probably won’t come as a surprise when I tell you that I think Microsoft  is one of these companies. All versions of <acronym title="Microsoft">MS</acronym> Internet Explorer up to, and  including version 6 have major support issues with <acronym title="Cascading Style Sheets">CSS</acronym>2. The new <acronym title="Internet Explorer">IE</acronym>7 is a major  improvement but still interprets some of the <acronym title="Cascading Style Sheets">CSS</acronym> code in a different way than  most other browsers. Microsoft has also written their own non-standardized code  that can only be rendered in Internet Explorer. When creating a website with <acronym title="Microsoft">MS</acronym>  Frontpage, quite a few features will use this code without any notification  that it isn’t supported by any other browsers than <acronym title="Internet Explorer">IE</acronym>.</p>
<p>It is my opinion that Firefox is the browser that is best  implemented conform the <acronym title="World Wide Web Consortium">W3C</acronym> standards. It will therefore be the reference  browser for this website. It would be foolish to ignore <acronym title="Internet Explorer">IE</acronym> users however I will  not go through great lengths of effort to optimize it for <acronym title="Internet Explorer">IE</acronym>6. It is not  reasonable to expect webmasters to be mindful of previous versions of <acronym title="Internet Explorer">IE</acronym> when  the author, Microsoft, no longer provides any support on these products.  Browsers are downloadable for free. Windows XP  Automatic Update will upgrade to <acronym title="Internet Explorer">IE</acronym>7, and Vista has <acronym title="Internet Explorer">IE</acronym>7 preinstalled. At the  time of this writing, more than half of the <acronym title="Internet Explorer">IE</acronym>6 users have already upgraded to  <acronym title="Internet Explorer">IE</acronym>7. Naturally If most of your visitors are from countries where most users are  still running Windows 98 with <acronym title="Internet Explorer">IE</acronym>5, you must make sure it is presentable and accessible  to these people. Remember, the visitor is king.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.vanberghem.com/general/not-all-browsers-are-created-equal.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

