<?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>nekkidblogger</title>
	<atom:link href="http://www.nekkidblogger.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nekkidblogger.com</link>
	<description>SEO, CSS, Web Design and stuff</description>
	<lastBuildDate>Thu, 04 Mar 2010 00:43:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Box with rounded corners and shadows &#8211; fun with CSS3</title>
		<link>http://www.nekkidblogger.com/2010/03/box-with-rounded-corners-and-shadows-fun-with-css3/</link>
		<comments>http://www.nekkidblogger.com/2010/03/box-with-rounded-corners-and-shadows-fun-with-css3/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 00:35:49 +0000</pubDate>
		<dc:creator>Nekkid blogger</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Web design]]></category>
		<category><![CDATA[Box with rounded corners and shadows]]></category>
		<category><![CDATA[CSS3 examples]]></category>
		<category><![CDATA[fun with CSS3]]></category>

		<guid isPermaLink="false">http://www.nekkidblogger.com/?p=291</guid>
		<description><![CDATA[Creating boxes with rounded corners on a web page used to be a large operation. It required the making of  images representing rounded corners, with the same colors as the box and the background, and then positioning them in the corners of the box using four DIVs, each with one image slice as background. Not [...]]]></description>
			<content:encoded><![CDATA[<p>Creating boxes with rounded corners on a web page used to be a large operation. It required the making of  images representing rounded corners, with the same colors as the box and the background, and then positioning them in the corners of the box using four DIVs, each with one image slice as background. Not very difficult, but time consuming.</p>
<p>With CSS3 and browsers supporting it, the same task is incredibly easy and requires very little code. Here is the basic code for a box with rounded corners using CSS3 (we have to use extra lines for webkit and mozilla browsers):
<pre class="css">
<span class="cssSelector">.box {</span> <span class="cssProperty">border-radius</span><span class="cssRest">:</span><span class="cssValue">20px</span><span class="cssRest">;</span>
<span class="cssProperty">-moz-border-radius</span><span class="cssRest">:</span><span class="cssValue">20px</span><span class="cssRest">;</span>
<span class="cssProperty">-webkit-border-radius</span><span class="cssRest">:</span><span class="cssValue">20px</span><span class="cssRest">;</span> <span class="cssSelector">}</span> </pre>
<div class="box extra">Box with rounded corners</div>
<p> With a little extra code for color and such, we get the box on the right. Extremely easy &#8211; so now everybody can have neat, rounded boxes on their web pages or blogs.</p>
<p>Also, CSS3 compliant browsers support  box-shadows and text-shadows. And they can be used alongside the rounded corners easily. The basic code for a box with rounded corners and shadows is simple too:
<pre class="css">
<span class="cssSelector">.box2 {</span> <span class="cssProperty">box-shadow</span><span class="cssRest">:</span><span class="cssValue">5px -5px 10px #000</span><span class="cssRest">;</span>
             <span class="cssProperty">-webkit-box-shadow</span><span class="cssRest">:</span><span class="cssValue">5px -5px 10px #000</span><span class="cssRest">;</span>
             <span class="cssProperty">-moz-box-shadow</span><span class="cssRest">:</span><span class="cssValue">5px -5px 10px #000</span><span class="cssRest">;</span>
          <span class="cssProperty">border-radius</span><span class="cssRest">:</span><span class="cssValue">20px</span><span class="cssRest">;</span>
		<span class="cssProperty">-moz-border-radius</span><span class="cssRest">:</span><span class="cssValue">20px</span><span class="cssRest">;</span>
                <span class="cssProperty">-webkit-border-radius</span><span class="cssRest">:</span><span class="cssValue">20px</span><span class="cssRest">;</span> <span class="cssSelector">}</span></pre>
<div class="box2 extra">Box with rounded corners and shadow &#8211; if you don&#8217;t see it, it&#8217;s time to change browser! </div>
<p> With a little extra formatting this gives us the second box on the right. Pretty neat and simple? (Here is a <a href="http://www.nekkidblogger.com/rounded-shadow-box.html" target="_blank">demo-page</a> with these two boxes and the CSS and markup.)</p>
<p>You can also make individual corners rounded for webkit and mozilla browsers:</p>
<pre class="css">
-moz-border-radius-topleft  / -webkit-border-top-left-radius
-moz-border-radius-topright / -webkit-border-top-right-radius
-moz-border-radius-bottomleft / -webkit-border-bottom-left-radius
-moz-border-radius-bottomright / -webkit-border-bottom-right-radius</pre>
<p>And if you can&#8217;t see the rounded corners and the box shadows, don&#8217;t blame me. Blame your browser! You simply have the wrong browser (probably Internet Explorer), and need to download and use Firefox, Opera 10.5, Safari or Chrome!</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://www.nekkidblogger.com/2009/12/box-shadows-css3-internet-explorer-ie-8/" rel="bookmark" class="crp_title">CSS3 Box Shadows, Browsers, and Internet Explorer (IE-8)</a></li><li><a href="http://www.nekkidblogger.com/2010/01/everything-you-know-about-css-is-wrong-by-rachel-andrew-and-kevin-yank/" rel="bookmark" class="crp_title">Everything You Know about CSS is Wrong! by Rachel Andrew and Kevin Yank</a></li><li><a href="http://www.nekkidblogger.com/2010/02/beginning-css-web-development-from-novice-to-professional-by-simon-collison/" rel="bookmark" class="crp_title">Beginning CSS Web Development: From Novice to Professional, by Simon Collison</a></li><li><a href="http://www.nekkidblogger.com/2010/01/a-radical-web-design-principle-no-more-internet-explorer-support/" rel="bookmark" class="crp_title">A Radical Web Design Principle: No More Internet Explorer Support</a></li><li><a href="http://www.nekkidblogger.com/2010/02/the-ultimate-css-reference-by-tommy-olssen-and-paul-obrien/" rel="bookmark" class="crp_title">The Ultimate CSS Reference, by Tommy Olssen and Paul O&#8217;Brien</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div><p>&copy;2010 <a href="http://www.nekkidblogger.com">nekkidblogger</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.nekkidblogger.com/2010/03/box-with-rounded-corners-and-shadows-fun-with-css3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Opera 10.5 &#8211; faster, better CSS3 support</title>
		<link>http://www.nekkidblogger.com/2010/03/opera-10-5-faster-better-css3-support/</link>
		<comments>http://www.nekkidblogger.com/2010/03/opera-10-5-faster-better-css3-support/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 04:05:28 +0000</pubDate>
		<dc:creator>Nekkid blogger</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Opera]]></category>
		<category><![CDATA[better CSS3 support]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[faster]]></category>
		<category><![CDATA[HTML5 support]]></category>
		<category><![CDATA[Opera 10.5]]></category>

		<guid isPermaLink="false">http://www.nekkidblogger.com/?p=289</guid>
		<description><![CDATA[Opera 10.5 has arrived! Opera has today released the newest version of its Web browser, and claims it&#8217;s the fastest browser  available for the Windows operating system. While timing isn&#8217;t everything, it is important, and this new version arrives just in time for the arrival of the controversial browser ballot  screen in Europe, [...]]]></description>
			<content:encoded><![CDATA[<p>Opera 10.5 has arrived! Opera has today <a href="http://www.opera.com/press/releases/2010/03/02/">released</a> the newest version of its Web browser, and claims it&#8217;s the fastest browser  available for the Windows operating system. While timing isn&#8217;t everything, it is important, and this new version arrives just in time for the arrival of the controversial browser ballot  screen in Europe, and at a time when European criticism of Internet Explorer has reached new heights. So probably this is good timing!</p>
<p>I have downloaded and tested the browser. It is great! &#8220;Opera 10.50 is the fastest browser in almost all speed tests,&#8221; claims  Lars Boilesen, CEO of Opera Software. Opera 10.5 uses a new JavaScript  engine called Carakan and a new graphics library called Vega, which  Opera says make this the fastest browser ever produced for Windows.</p>
<p>I don&#8217;t know if it actually is faster than Chrome or the most recent version of Firefox &#8211; I have not tested that. But I tried it on a few different sites and pages, and noticed that the support of CSS3 is much improved. Opera 10.5 now supports such CSS3 features as &#8220;box-shadow&#8221;, &#8220;text-shadow&#8221; and others. It also provides support for some of the new HTML5 emerging standards, for instance for video.</p>
<p>Testers seem to confirm this this version is better and faster, but still a number of smaller issues remain. See, for instance the extensive testing in <a href="http://www.betanews.com/article/Is-Opera-105-ready-for-the-March-1-choice-screen/1267217114" target="_blank">Betanews</a> and the Javascripts tests referred in <a href="http://www.fiercecio.com/techwatch/story/opera-10-5-beta-breaks-record-javascript-benchmarks/2010-02-16" target="_blank">Fiercecio</a>. There are also some issues concerning DIVs that don&#8217;t display quite right under certain circumstances and TABLEs that sometimes take to much time to load.</p>
<p>What annoyed me the most was that Opera on install set itself up as the default browser without asking me. To me that is a no-must-do. Something that makes me mighty upset, and that forced me to spend time to find out how to reset this.</p>
<p>My feeling is that this is a good step ahead for Opera, but that even so they should perhaps have waited a little to get things a little more right.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://www.nekkidblogger.com/2010/01/a-radical-web-design-principle-no-more-internet-explorer-support/" rel="bookmark" class="crp_title">A Radical Web Design Principle: No More Internet Explorer Support</a></li><li><a href="http://www.nekkidblogger.com/2010/03/box-with-rounded-corners-and-shadows-fun-with-css3/" rel="bookmark" class="crp_title">Box with rounded corners and shadows &#8211; fun with CSS3</a></li><li><a href="http://www.nekkidblogger.com/2009/12/box-shadows-css3-internet-explorer-ie-8/" rel="bookmark" class="crp_title">CSS3 Box Shadows, Browsers, and Internet Explorer (IE-8)</a></li><li><a href="http://www.nekkidblogger.com/2010/01/a-remark-on-tables-divs-and-css/" rel="bookmark" class="crp_title">A remark on tables, DIV&#8217;s, and CSS</a></li><li><a href="http://www.nekkidblogger.com/2009/01/the-uncensored-titty-version-of-the-madcon-liar-music-video/" rel="bookmark" class="crp_title">The uncensored, titty version of the Madcon &#8220;Liar&#8221; music video</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div><p>&copy;2010 <a href="http://www.nekkidblogger.com">nekkidblogger</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.nekkidblogger.com/2010/03/opera-10-5-faster-better-css3-support/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Beginning CSS Web Development: From Novice to Professional, by Simon Collison</title>
		<link>http://www.nekkidblogger.com/2010/02/beginning-css-web-development-from-novice-to-professional-by-simon-collison/</link>
		<comments>http://www.nekkidblogger.com/2010/02/beginning-css-web-development-from-novice-to-professional-by-simon-collison/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 22:15:47 +0000</pubDate>
		<dc:creator>Nekkid blogger</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Web design]]></category>
		<category><![CDATA[Web site layout]]></category>
		<category><![CDATA[book review]]></category>
		<category><![CDATA[great CSS book]]></category>
		<category><![CDATA[Simon Collison]]></category>

		<guid isPermaLink="false">http://www.nekkidblogger.com/?p=286</guid>
		<description><![CDATA[There are lots and lots of books on CSS (Cascading Style Sheets), but Beginning CSS Web Development stands out from the crowd. It is a well written book that delves straight into the practical matter and gives broad coverage at the same time as it contains a lot of practical examples of good usable code. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.amazon.com/gp/product/1590596897?ie=UTF8&amp;tag=leserglede-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=1590596897"><img src="http://www.leserglede.com/pics/51wcERp%2Bm7L._SL160_.jpg" border="0" alt="Begginning CSS Web Development: From Novice to Professional, by Simon Collison" hspace="6" vspace="4" align="left" /></a>There are lots and lots of books on CSS (Cascading Style Sheets),<img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=leserglede-20&amp;l=as2&amp;o=1&amp;a=1590596897" border="0" alt="" width="1" height="1" /> but <em>Beginning CSS Web Development</em> stands out from the crowd. It is a well written book that delves straight into the practical matter and gives broad coverage at the same time as it contains a lot of practical examples of good usable code. I have learned quite a lot from this book and used several of the smart solutions provided in it.</p>
<p>CSS is one of the most important technologies on the web today. It gives tremendous power in styling web sites and reduces the complexity of code as well as the time it takes to maintain and change sites &#8211; especially for large sites with hundreds or thousands of pages this is extremely important. CSS also gives web developers power to style web sites so that they are usable, compact, good looking, and consistent in layout.</p>
<p>In addition to the essential CSS basics &#8211;  cascade, inheritance, contextual selectors, and specificity &#8211; this book covers advanced techniques like accessibility, hacks, and filters. It concludes with a case study, and features a CSS reference section that allows you to look up required syntax as quickly as possible. It also provides examples and code that is standards compliant and semantically good.</p>
<p>Collison&#8217;s writing style is relaxed, clear, and appropriately humorous. He even tells you (often &#8212; he&#8217;s English!) when&#8217;s a good time to grab a cup of tea. He presents complex topics very clearly.</p>
<p><em>Beginning CSS Web Development: From Novice to Professional</em> by Simon Collison is the perfect book for newcomers to CSS and for those slightly more-experienced CSS designers who need a soup-to-nuts review.  A very well organized and usable book, and a book that I am happy to have in my CSS library. I recommend it!</p>
<div class="linkbox">Links to books by Simon Collison at <a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&amp;location=http%3A%2F%2Fwww.amazon.com%2Fgp%2Fentity%2FSimon-Collison%2FB001JP9Q8W%3Fie%3DUTF8%26ref_%3Dntt%5Fathr%5Fdp%5Fpel%5Fpop%5F1&amp;tag=leserglede-20&amp;linkCode=ur2&amp;camp=1789&amp;creative=390957">amazon US</a><img style="border:none !important; margin:0px !important;" src="https://www.assoc-amazon.com/e/ir?t=leserglede-20&amp;l=ur2&amp;o=1" border="0" alt="" width="1" height="1" /> and <a href="http://www.amazon.co.uk/gp/redirect.html?ie=UTF8&amp;location=http%3A%2F%2Fwww.amazon.co.uk%2Fs%3Fie%3DUTF8%26x%3D0%26ref_%3Dnb%5Fsb%5Fnoss%26y%3D0%26field-keywords%3Dsimon%2520collison%26url%3Dsearch-alias%253Daps&amp;tag=wwwleserglede-21&amp;linkCode=ur2&amp;camp=1634&amp;creative=19450">amazon UK</a><img style="border:none !important; margin:0px !important;" src="https://www.assoc-amazon.co.uk/e/ir?t=wwwleserglede-21&amp;l=ur2&amp;o=2" border="0" alt="" width="1" height="1" />.</div>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://www.nekkidblogger.com/2010/02/the-ultimate-css-reference-by-tommy-olssen-and-paul-obrien/" rel="bookmark" class="crp_title">The Ultimate CSS Reference, by Tommy Olssen and Paul O&#8217;Brien</a></li><li><a href="http://www.nekkidblogger.com/2010/02/css-web-site-design-by-eric-a-meyer/" rel="bookmark" class="crp_title">CSS Web Site Design, by Eric A. Meyer</a></li><li><a href="http://www.nekkidblogger.com/2009/12/handcrafted-css-more-bulletproof-web-design-by-dan-cederholm-and-ethan-marcotte/" rel="bookmark" class="crp_title">Handcrafted CSS: More Bulletproof Web Design, by Dan Cederholm and Ethan Marcotte</a></li><li><a href="http://www.nekkidblogger.com/2010/01/everything-you-know-about-css-is-wrong-by-rachel-andrew-and-kevin-yank/" rel="bookmark" class="crp_title">Everything You Know about CSS is Wrong! by Rachel Andrew and Kevin Yank</a></li><li><a href="http://www.nekkidblogger.com/2009/12/more-e-book-reader-choices/" rel="bookmark" class="crp_title">More e-book reader choices</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div><p>&copy;2010 <a href="http://www.nekkidblogger.com">nekkidblogger</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.nekkidblogger.com/2010/02/beginning-css-web-development-from-novice-to-professional-by-simon-collison/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Web Site Design, by Eric A. Meyer</title>
		<link>http://www.nekkidblogger.com/2010/02/css-web-site-design-by-eric-a-meyer/</link>
		<comments>http://www.nekkidblogger.com/2010/02/css-web-site-design-by-eric-a-meyer/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 23:00:15 +0000</pubDate>
		<dc:creator>Nekkid blogger</dc:creator>
				<category><![CDATA[Web design]]></category>
		<category><![CDATA[Web site layout]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[book review]]></category>
		<category><![CDATA[CSS Standards]]></category>
		<category><![CDATA[CSS Web Site Design]]></category>
		<category><![CDATA[Eric A. Meyer]]></category>
		<category><![CDATA[Web site design]]></category>

		<guid isPermaLink="false">http://www.nekkidblogger.com/?p=284</guid>
		<description><![CDATA[CSS gives Web designers control over the appearance  of their web sites by separating the visual presentation from the content. Eric A. Meyer, a Web Standards proponent and one of the most well known CSS wizards, has created an excellent hands-on training book that comes with a video tutorial and HTML/CSS files to be [...]]]></description>
			<content:encoded><![CDATA[<p>CSS gives Web designers control over the appearance <a href="http://www.amazon.com/gp/product/1596712791?ie=UTF8&amp;tag=leserglede-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=1596712791"><img src="http://www.leserglede.com/pics2/41PTFM1iJ9L._SL160_.jpg" border="0" alt="CSS Web Site Design, by Eric Meyer" hspace="6" vspace="4" align="left" /></a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=leserglede-20&amp;l=as2&amp;o=1&amp;a=1596712791" border="0" alt="" width="1" height="1" /> of their web sites by separating the visual presentation from the content. Eric A. Meyer, a Web Standards proponent and one of the most well known CSS wizards, has created an excellent hands-on training book that comes with a video tutorial and HTML/CSS files to be used to get hands on practice.</p>
<p>I really liked <em>CSS Web Site Design</em> and the training materials. Eric Meyer moves you back and forth, shows how minor changes to rules and syntax can affect the look and feel  of a web page, and demonstrates the correct use of CSS in a very thoughtful manner. If you really want to learn by doing, I can hardly think of a better guy to instruct you than Eric Meyer!</p>
<p>The book teaches you to easily make minor changes to a site or perform a complete overhaul of the design. In <em>CSS Web Site Design</em>, leading industry expert Eric Meyer reviews the essentials of CSS, including selectors, the cascade, and inheritance. The training also covers how to build effective navigation, how to lay out pages, and how to work with typography, colors, backgrounds, and white space, all using a project-based approach. By the end of the training, viewers will have the tools to master professional site design. Exercise files accompany the training videos, allowing you to follow along and learn at your own pace.</p>
<p>The setup is very professional, and easy to watch. Eric Meyer uses a made-up site, Javaco Tea, for teaching the CSS concepts. And, he goes through every detail, from masthead to footer, explaining how each piece works. And he really teaches you the latest techniques for designing Web sites with CSS.</p>
<p>The included CD-ROM is loaded with classroom-proven exercises and QuickTime training videos, and real-world projects take you through the Web page creation process, one step at a time. It has over 60 Step-by-Step Tutorials</p>
<ul class="style1">
<li>Using CSS and XHTML together</li>
<li>Learning essentials of selectors, inheritance, and the cascade</li>
<li>Creating CSS navigation</li>
<li>Laying out pages with CSS</li>
<li>Adding colors and backgrounds</li>
<li>Setting typography</li>
<li>Creating white space, margins, and borders</li>
<li>Creating tables</li>
<li>Styling for print</li>
<li>Plus much more</li>
</ul>
<p>A great book, with great hands-on training, by a great author! It is expensive, but well worth it in terms of time you might save later on and mistakes you will avoid doing! (You can also buy it without the video training &#8211; but I recommend getting it with.)</p>
<div class="linkbox">Links to Eric Meyer&#8217;s books at <a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&amp;location=http%3A%2F%2Fwww.amazon.com%2Fs%3Fie%3DUTF8%26x%3D0%26ref_%3Dnb%255Fsb%255Fnoss%26y%3D0%26field-keywords%3Deric%2520meyer%2520css%26url%3Dsearch-alias%253Dstripbooks&amp;tag=leserglede-20&amp;linkCode=ur2&amp;camp=1789&amp;creative=390957">amazon US</a><img style="border:none !important; margin:0px !important;" src="https://www.assoc-amazon.com/e/ir?t=leserglede-20&amp;l=ur2&amp;o=1" border="0" alt="" width="1" height="1" />, <a href="http://www.amazon.co.uk/gp/redirect.html?ie=UTF8&amp;location=http%3A%2F%2Fwww.amazon.co.uk%2Fs%3Fie%3DUTF8%26x%3D0%26ref_%3Dnb%255Fsb%255Fnoss%26y%3D0%26field-keywords%3Deric%2520meyer%2520CSS%26url%3Dsearch-alias%253Daps&amp;tag=wwwleserglede-21&amp;linkCode=ur2&amp;camp=1634&amp;creative=19450">amazon UK</a><img style="border:none !important; margin:0px !important;" src="https://www.assoc-amazon.co.uk/e/ir?t=wwwleserglede-21&amp;l=ur2&amp;o=2" border="0" alt="" width="1" height="1" />, and <a href="http://www.amazon.ca/gp/redirect.html?ie=UTF8&amp;location=http%3A%2F%2Fwww.amazon.ca%2Fs%3Fie%3DUTF8%26x%3D0%26ref_%3Dnb%255Fsb%255Fnoss%26y%3D0%26field-keywords%3Deric%2520meyer%2520CSS%26url%3Dsearch-alias%253Daps&amp;tag=leserglede09-20&amp;linkCode=ur2&amp;camp=15121&amp;creative=390961">amazon CA</a><img style="border:none !important; margin:0px !important;" src="https://www.assoc-amazon.ca/e/ir?t=leserglede09-20&amp;l=ur2&amp;o=15" border="0" alt="" width="1" height="1" />.</div>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://www.nekkidblogger.com/2010/02/the-ultimate-css-reference-by-tommy-olssen-and-paul-obrien/" rel="bookmark" class="crp_title">The Ultimate CSS Reference, by Tommy Olssen and Paul O&#8217;Brien</a></li><li><a href="http://www.nekkidblogger.com/2009/12/handcrafted-css-more-bulletproof-web-design-by-dan-cederholm-and-ethan-marcotte/" rel="bookmark" class="crp_title">Handcrafted CSS: More Bulletproof Web Design, by Dan Cederholm and Ethan Marcotte</a></li><li><a href="http://www.nekkidblogger.com/2010/02/beginning-css-web-development-from-novice-to-professional-by-simon-collison/" rel="bookmark" class="crp_title">Beginning CSS Web Development: From Novice to Professional, by Simon Collison</a></li><li><a href="http://www.nekkidblogger.com/2009/07/great-movie-classic-the-african-queen-1951-dvd/" rel="bookmark" class="crp_title">Great movie classic: The African Queen (1951), DVD</a></li><li><a href="http://www.nekkidblogger.com/2010/01/everything-you-know-about-css-is-wrong-by-rachel-andrew-and-kevin-yank/" rel="bookmark" class="crp_title">Everything You Know about CSS is Wrong! by Rachel Andrew and Kevin Yank</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div><p>&copy;2010 <a href="http://www.nekkidblogger.com">nekkidblogger</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.nekkidblogger.com/2010/02/css-web-site-design-by-eric-a-meyer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Ultimate CSS Reference, by Tommy Olssen and Paul O&#8217;Brien</title>
		<link>http://www.nekkidblogger.com/2010/02/the-ultimate-css-reference-by-tommy-olssen-and-paul-obrien/</link>
		<comments>http://www.nekkidblogger.com/2010/02/the-ultimate-css-reference-by-tommy-olssen-and-paul-obrien/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 19:19:42 +0000</pubDate>
		<dc:creator>Nekkid blogger</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[Reference book]]></category>
		<category><![CDATA[Tommy Olssen]]></category>
		<category><![CDATA[book review]]></category>
		<category><![CDATA[CSS2.1]]></category>
		<category><![CDATA[Paul O'Brien]]></category>

		<guid isPermaLink="false">http://www.nekkidblogger.com/?p=282</guid>
		<description><![CDATA[The Ultimate CSS Reference by Tommy Olssen and Paul O&#8217;Brien is exactly that – a broad reference guide covering all the CSS syntax. It covers every single CSS keyword, selector, pseudo-class and  corresponding attribute known (including some that aren&#8217;t even in the official ratified W3C standard but supported by certain browsers) from CSS version [...]]]></description>
			<content:encoded><![CDATA[<p><em>The Ultimate CSS Reference</em> by Tommy Olssen and Paul O&#8217;Brien is exactly that – a broad reference guide covering all the CSS syntax. It covers every single CSS keyword, selector, pseudo-class and <a href="http://www.amazon.com/gp/product/0980285852?ie=UTF8&amp;tag=leserglede-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0980285852"><img src="http://www.leserglede.com/pics2/41zkmBq71-L._SL160_.jpg" border="0" alt="The Ultimate CSS Reference, by Tommy Olsson" hspace="6" vspace="4" align="left" /></a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=leserglede-20&amp;l=as2&amp;o=1&amp;a=0980285852" border="0" alt="" width="1" height="1" /> corresponding attribute known (including some that aren&#8217;t even in the official ratified W3C standard but supported by certain browsers) from CSS version 1 right through to the latest CSS 3. So it is broad enough to be useful for quite a while.</p>
<p><em>The Ultimate CSS Reference</em> is also well laid out, easy to look up as a reference, and well organized. The writing is short, clear, concise and to the point. Just as a reference book should be.</p>
<p>It also has some additional, very useful and great features. One is that after every property, there is a little box that explains which browsers are compatible with it. The book even explains if the property is buggy, and explains why and if there is a fix – it contains a lot of useful CSS hacks. Also, there are quick references stating whether or not attributes are inherited, what their initial values are, and which version of W3C specification they come from.</p>
<p>As with any book of this nature, it is out of date virtually as it&#8217;s printed in some respects. For instance, the newest versions of the major browsers are not covered. Even so, this book, and also its companion, <a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&amp;location=http%3A%2F%2Fwww.amazon.com%2Fs%3Fie%3DUTF8%26x%3D0%26ref_%3Dnb%255Fsb%255Fnoss%26y%3D0%26field-keywords%3Dthe%2520ultimate%2520html%2520reference%26url%3Dsearch-alias%253Dstripbooks&amp;tag=leserglede-20&amp;linkCode=ur2&amp;camp=1789&amp;creative=390957">The Ultimate HTML Reference</a><img style="border:none !important; margin:0px !important;" src="https://www.assoc-amazon.com/e/ir?t=leserglede-20&amp;l=ur2&amp;o=1" border="0" alt="" width="1" height="1" />, are definitely two books that are useful and that will stay so for quite a while.</p>
<p>To me, this book is a must. The only other reference book that can compete with it is <a href="http://www.leserglede.com/it-book/css-p2.html">Eric Meyer’s Cascading Style Sheets &#8211; The Definitive Guide</a>. However, this book has a slightly more complete coverage, at the same time as it doesn’t go quite as deep into some issues as Eric Meyer does in his book. So if you don’t want to keep both around, it’s a matter of taste and preference. Recommended!</p>
<div class="linkbox">Links to books by <strong>Tommy Olssen</strong> at <a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&amp;location=http%3A%2F%2Fwww.amazon.com%2Fgp%2Fentity%2FTommy-Olsson%2FB0034PD5CI%3Fie%3DUTF8%26ref_%3Dntt%255Fathr%255Fdp%255Fpel%255F1&amp;tag=leserglede-20&amp;linkCode=ur2&amp;camp=1789&amp;creative=390957">amazon US</a><img style="border:none !important; margin:0px !important;" src="https://www.assoc-amazon.com/e/ir?t=leserglede-20&amp;l=ur2&amp;o=1" border="0" alt="" width="1" height="1" />, <a href="http://www.amazon.co.uk/gp/redirect.html?ie=UTF8&amp;location=http%3A%2F%2Fwww.amazon.co.uk%2Fs%3Fie%3DUTF8%26redirect%3Dtrue%26search-type%3Dss%26index%3Dbooks-uk%26field-author%3DTommy%2520Olsson&amp;tag=wwwleserglede-21&amp;linkCode=ur2&amp;camp=1634&amp;creative=19450">amazon UK</a><img style="border:none !important; margin:0px !important;" src="https://www.assoc-amazon.co.uk/e/ir?t=wwwleserglede-21&amp;l=ur2&amp;o=2" border="0" alt="" width="1" height="1" />, and <a href="http://www.amazon.ca/gp/redirect.html?ie=UTF8&amp;location=http%3A%2F%2Fwww.amazon.ca%2Fs%3Fie%3DUTF8%26redirect%3Dtrue%26search-type%3Dss%26index%3Dbooks-ca%26field-author%3DTommy%2520Olssen&amp;tag=leserglede09-20&amp;linkCode=ur2&amp;camp=15121&amp;creative=390961">amazon CAN</a><img style="border:none !important; margin:0px !important;" src="https://www.assoc-amazon.ca/e/ir?t=leserglede09-20&amp;l=ur2&amp;o=15" border="0" alt="" width="1" height="1" />.</div>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://www.nekkidblogger.com/2010/01/everything-you-know-about-css-is-wrong-by-rachel-andrew-and-kevin-yank/" rel="bookmark" class="crp_title">Everything You Know about CSS is Wrong! by Rachel Andrew and Kevin Yank</a></li><li><a href="http://www.nekkidblogger.com/2009/12/handcrafted-css-more-bulletproof-web-design-by-dan-cederholm-and-ethan-marcotte/" rel="bookmark" class="crp_title">Handcrafted CSS: More Bulletproof Web Design, by Dan Cederholm and Ethan Marcotte</a></li><li><a href="http://www.nekkidblogger.com/2010/02/beginning-css-web-development-from-novice-to-professional-by-simon-collison/" rel="bookmark" class="crp_title">Beginning CSS Web Development: From Novice to Professional, by Simon Collison</a></li><li><a href="http://www.nekkidblogger.com/2010/02/css-web-site-design-by-eric-a-meyer/" rel="bookmark" class="crp_title">CSS Web Site Design, by Eric A. Meyer</a></li><li><a href="http://www.nekkidblogger.com/2009/07/great-movie-classic-the-african-queen-1951-dvd/" rel="bookmark" class="crp_title">Great movie classic: The African Queen (1951), DVD</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div><p>&copy;2010 <a href="http://www.nekkidblogger.com">nekkidblogger</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.nekkidblogger.com/2010/02/the-ultimate-css-reference-by-tommy-olssen-and-paul-obrien/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Everything You Know about CSS is Wrong! by Rachel Andrew and Kevin Yank</title>
		<link>http://www.nekkidblogger.com/2010/01/everything-you-know-about-css-is-wrong-by-rachel-andrew-and-kevin-yank/</link>
		<comments>http://www.nekkidblogger.com/2010/01/everything-you-know-about-css-is-wrong-by-rachel-andrew-and-kevin-yank/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 21:25:57 +0000</pubDate>
		<dc:creator>Nekkid blogger</dc:creator>
				<category><![CDATA[CSS3]]></category>
		<category><![CDATA[Web design]]></category>
		<category><![CDATA[book review]]></category>
		<category><![CDATA[CSS table design]]></category>
		<category><![CDATA[Kevin Yank]]></category>
		<category><![CDATA[Rachel Andrew]]></category>

		<guid isPermaLink="false">http://www.nekkidblogger.com/?p=274</guid>
		<description><![CDATA[This small book of little more than 100 pages has a very provocative title. Most  likely in order to increase sales. And, as you probably suspect, the title is very misleading. Most of what you know about CSS is right, even after the arrival of CSS2.1.
And the book actually doesn’t address most of the [...]]]></description>
			<content:encoded><![CDATA[<p>This small book of little more than 100 pages has a very provocative title. Most <a href="http://www.amazon.com/gp/product/0980455227?ie=UTF8&amp;tag=leserglede-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0980455227"><img src="http://www.leserglede.com/pics/515sMiG5vAL._SL160_.jpg" border="0" alt="Everything you know about CSS is wrong, Rachel Andrew and Kevin Yank" hspace="6" vspace="4" align="left" /></a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=leserglede-20&amp;l=as2&amp;o=1&amp;a=0980455227" border="0" alt="" width="1" height="1" /> likely in order to increase sales. And, as you probably suspect, the title is very misleading. Most of what you know about CSS is right, even after the arrival of CSS2.1.</p>
<p>And the book actually doesn’t address most of the topics of CSS at all &#8211; it’s mainly about various CSS display properties that create a table layout appearance. More than 95 of the pages address this. The thing that’s new and which I guess motivated this book is that finally Microsoft Internet Explorer, with the release of version 8, supports these CSS 3 properties (or, actually, CSS2.1).</p>
<p>So far, most CSS layouts have been created using positioning and floats. Either approach has problems that need fixes and make the designs relatively complex. The new CSS “display: table” instead gives you a table layout with a few easy lines of CSS.</p>
<p>The book gives you concrete examples of how to get up to speed with these CSS3 properties and explains CSS properties such as <span style="font-family: 'Courier New', Courier, monospace; 	font-size: small; ">table, table-row, table-cell, table-row-group, table-header-group, table-footer-group, table-caption, table-column, table-column-group</span>. It also takes a fast run-through CSS3 layout techniques such as grids and multi-columns.</p>
<p>To me this book is an introduction to the topic, but not an in-depth treatment. The sample code is very, very simple. And at times it is annoyingly light. For instance, it is very easy to build <a title="See an example here - view the page source" href="http://www.nekkidblogger.com/displaytablelayout-a.html" target="_blank">conditional style syntax into a CSS table design</a> so that it degrades gracefully into a HTML table design for earlier versions of Internet Explorer not supporting CSS2.1. The authors, however, do not go into this. This is pretty disappointing and reduces the usefulness of the book. IE6 and IE7 are still probably used by 40-50% of web users, so unless you support them better than this book proposes you may be in trouble.</p>
<p><em>Everything you know about CSS is wrong</em> is a book about CSS tables I would recommend for beginners, and only until some better book with wider coverage comes along.</p>
<div class="linkbox">Links to <strong>Everything you know about CSS is wrong</strong> at <a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&amp;location=http%3A%2F%2Fwww.amazon.com%2Fgp%2Fentity%2FRachel-Andrew%2FB001K89B2Y%3Fie%3DUTF8%26ref_%3Dntt%255Fathr%255Fdp%255Fpel%255F1&amp;tag=leserglede-20&amp;linkCode=ur2&amp;camp=1789&amp;creative=390957">amazon US</a><img style="border:none !important; margin:0px !important;" src="https://www.assoc-amazon.com/e/ir?t=leserglede-20&amp;l=ur2&amp;o=1" border="0" alt="" width="1" height="1" />, <a href="http://www.amazon.co.uk/gp/redirect.html?ie=UTF8&amp;location=http%3A%2F%2Fwww.amazon.co.uk%2Fs%3Fie%3DUTF8%26redirect%3Dtrue%26search-type%3Dss%26index%3Dbooks-uk%26field-author%3DRachel%2520Andrew&amp;tag=wwwleserglede-21&amp;linkCode=ur2&amp;camp=1634&amp;creative=19450">amazon UK</a><img style="border:none !important; margin:0px !important;" src="https://www.assoc-amazon.co.uk/e/ir?t=wwwleserglede-21&amp;l=ur2&amp;o=2" border="0" alt="" width="1" height="1" />, and <a href="http://www.amazon.ca/gp/redirect.html?ie=UTF8&amp;location=http%3A%2F%2Fwww.amazon.ca%2Fs%3Fie%3DUTF8%26redirect%3Dtrue%26search-type%3Dss%26index%3Dbooks-ca%26field-author%3DRachel%2520Andrew&amp;tag=leserglede09-20&amp;linkCode=ur2&amp;camp=15121&amp;creative=390961">amazon CAN</a><img style="border:none !important; margin:0px !important;" src="https://www.assoc-amazon.ca/e/ir?t=leserglede09-20&amp;l=ur2&amp;o=15" border="0" alt="" width="1" height="1" /></div>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://www.nekkidblogger.com/2010/02/the-ultimate-css-reference-by-tommy-olssen-and-paul-obrien/" rel="bookmark" class="crp_title">The Ultimate CSS Reference, by Tommy Olssen and Paul O&#8217;Brien</a></li><li><a href="http://www.nekkidblogger.com/2009/12/handcrafted-css-more-bulletproof-web-design-by-dan-cederholm-and-ethan-marcotte/" rel="bookmark" class="crp_title">Handcrafted CSS: More Bulletproof Web Design, by Dan Cederholm and Ethan Marcotte</a></li><li><a href="http://www.nekkidblogger.com/2010/02/beginning-css-web-development-from-novice-to-professional-by-simon-collison/" rel="bookmark" class="crp_title">Beginning CSS Web Development: From Novice to Professional, by Simon Collison</a></li><li><a href="http://www.nekkidblogger.com/2010/02/css-web-site-design-by-eric-a-meyer/" rel="bookmark" class="crp_title">CSS Web Site Design, by Eric A. Meyer</a></li><li><a href="http://www.nekkidblogger.com/2009/12/more-e-book-reader-choices/" rel="bookmark" class="crp_title">More e-book reader choices</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div><p>&copy;2010 <a href="http://www.nekkidblogger.com">nekkidblogger</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.nekkidblogger.com/2010/01/everything-you-know-about-css-is-wrong-by-rachel-andrew-and-kevin-yank/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>3 column CSS layout with &#8220;display-table&#8221;, semi-hack to load content first for SEO</title>
		<link>http://www.nekkidblogger.com/2010/01/3-column-css-layout-with-display-table-semi-hack-to-load-content-first-for-seo/</link>
		<comments>http://www.nekkidblogger.com/2010/01/3-column-css-layout-with-display-table-semi-hack-to-load-content-first-for-seo/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 04:19:33 +0000</pubDate>
		<dc:creator>Nekkid blogger</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Web design]]></category>
		<category><![CDATA[Web site layout]]></category>
		<category><![CDATA[3 column CSS layout]]></category>
		<category><![CDATA[CSS2.1]]></category>
		<category><![CDATA[display-cell]]></category>
		<category><![CDATA[display-table]]></category>
		<category><![CDATA[load content first for SEO]]></category>
		<category><![CDATA[semi-hack]]></category>
		<category><![CDATA[table hack]]></category>
		<category><![CDATA[three column css layout]]></category>

		<guid isPermaLink="false">http://www.nekkidblogger.com/?p=234</guid>
		<description><![CDATA[The new &#8220;display: table&#8221; syntax in CSS 2.1 opens for new simple layout techniques for otherwise complex designs, such as the fixed-strechable-fixed layout that many seem to want, and makes it easy to get columns of equal height. A few simple lines of code is all it takes &#8211; no faux columns, no huge bottom [...]]]></description>
			<content:encoded><![CDATA[<p>The new &#8220;display: table&#8221; syntax in CSS 2.1 opens for new simple layout techniques for otherwise complex designs, such as the fixed-strechable-fixed layout that many seem to want, and makes it easy to get columns of equal height. A few simple lines of code is all it takes &#8211; no faux columns, no huge bottom paddings and negative margins, or other sophisticated CSS design exercises and tricks.</p>
<p>This is a CSS layout any beginner can create, just as the table designs of the old days. And it is very robust and scalable. So my guess is that it will become very, very popular. Here is all it takes (non-essential rules omitted). First the CSS:</p>
<pre class="css"><span class="cssSelector">body  {</span> <span class="cssProperty">font-size</span><span class="cssRest">:</span><span class="cssValue"> 100%</span><span class="cssRest">;</span> <span class="cssProperty">text-align</span><span class="cssRest">:</span><span class="cssValue">center</span><span class="cssRest">;</span>  <span class="cssSelector">}</span>
<span class="cssSelector">#wrapper  {</span> <span class="cssProperty">width</span><span class="cssRest">:</span><span class="cssValue"> 500px</span><span class="cssRest">;</span> <span class="cssProperty">margin</span><span class="cssRest">:</span><span class="cssValue"> 40px auto</span><span class="cssRest">;</span>  <span class="cssSelector">}</span>
<span class="cssSelector">#main {</span><span class="cssProperty">display</span><span class="cssRest">:</span><span class="cssValue"> table-row</span><span class="cssRest">;</span>  <span class="cssSelector">}</span>
<span class="cssSelector">#side-left,#content,#side-right {</span><span class="cssProperty">display</span><span class="cssRest">:</span><span class="cssValue"> table-cell</span><span class="cssRest">;</span><span class="cssSelector">}</span>
<span class="cssSelector">#header  {</span> <span class="cssProperty">background</span><span class="cssRest">:</span><span class="cssValue"> gold</span><span class="cssRest">;</span> <span class="cssProperty">height</span><span class="cssRest">:</span><span class="cssValue"> 100px</span><span class="cssRest">;</span>  <span class="cssSelector">}</span>
<span class="cssSelector">#footer  {</span> <span class="cssProperty">background</span><span class="cssRest">:</span><span class="cssValue"> gold</span><span class="cssRest">;</span> <span class="cssProperty">height</span><span class="cssRest">:</span><span class="cssValue"> 100px</span><span class="cssRest">;</span> <span class="cssProperty">clear</span><span class="cssRest">:</span><span class="cssValue">both</span><span class="cssRest">;</span>   <span class="cssSelector">}</span>
<span class="cssSelector">#content {</span>  <span class="cssProperty">background</span><span class="cssRest">:</span><span class="cssValue"> blue</span><span class="cssRest">;</span>
<span class="cssProperty">width</span><span class="cssRest">:</span><span class="cssValue"> 300px</span><span class="cssRest">;</span> <span class="cssSelector">}</span>
<span class="cssSelector">#side-left, #side-right  {</span> <span class="cssProperty">background</span><span class="cssRest">:</span><span class="cssValue">yellow</span><span class="cssRest">;</span> <span class="cssProperty">width</span><span class="cssRest">:</span><span class="cssValue"> 100px</span><span class="cssRest">;</span>  <span class="cssSelector">}</span> </pre>
<p>And here is the essential markup (load order of elements given by the numbering):</p>
<pre class="html">
<span class="htmlOtherTag">&lt;div id=<span class="htmlAttributeValue">&quot;wrapper&quot;</span>&gt;</span>
<span class="htmlOtherTag">&lt;div id=<span class="htmlAttributeValue">&quot;header&quot;</span>&gt;</span>
<span class="htmlOtherTag">&lt;h1&gt;</span>1.<span class="htmlOtherTag">&lt;/h1&gt;</span>
<span class="htmlOtherTag">&lt;/div&gt;</span>
<span class="htmlOtherTag">&lt;div id=<span class="htmlAttributeValue">&quot;main&quot;</span>&gt;</span>
<span class="htmlOtherTag">&lt;div id=<span class="htmlAttributeValue">&quot;side-left&quot;</span>&gt;</span>
<span class="htmlOtherTag">&lt;h1&gt;</span>2.<span class="htmlOtherTag">&lt;/h1&gt;</span>
<span class="htmlOtherTag">&lt;/div&gt;</span>
<span class="htmlOtherTag">&lt;div id=<span class="htmlAttributeValue">&quot;content&quot;</span>&gt;</span>
<span class="htmlOtherTag">&lt;h1&gt;</span>3.<span class="htmlOtherTag">&lt;/h1&gt;</span>
<span class="htmlOtherTag">&lt;/div&gt;</span>
<span class="htmlOtherTag">&lt;div id=<span class="htmlAttributeValue">&quot;side-right&quot;</span>&gt;</span>
<span class="htmlOtherTag">&lt;h1&gt;</span>4.<span class="htmlOtherTag">&lt;/h1&gt;</span>
<span class="htmlOtherTag">&lt;/div&gt;</span>
<span class="htmlOtherTag">&lt;/div&gt;</span>
<span class="htmlComment"><span class="htmlOtherTag">&lt;!-- main --&gt;</span></span>
<span class="htmlOtherTag">&lt;div id=<span class="htmlAttributeValue">&quot;footer&quot;</span>&gt;</span>
<span class="htmlOtherTag">&lt;h1&gt;</span>5.<span class="htmlOtherTag">&lt;/h1&gt;</span>
Nekkidblogger CSS-fun
(c) Nekkidblogger (2010)<span class="htmlOtherTag">&lt;/div&gt;</span>
<span class="htmlOtherTag">&lt;/div&gt;</span>
<span class="htmlComment"><span class="htmlOtherTag">&lt;!-- Wrapper --&gt;</span></span>
</pre>
<p>This produces the layout in the figure below. (Here is <a href="http://www.nekkidblogger.com/displaytablelayout-a.html" target="_blank">the web page</a>, with source code, including some fixes.)</p>
<p><img class="aligncenter size-full wp-image-237" title="3coldisplaytable" src="http://www.nekkidblogger.com/wp-content/uploads/2010/01/3coldisplaytable.jpg" alt="3coldisplaytable" width="480" height="291" /></p>
<p>There are two problems with this. The first is that IE 7 and earlier does not support the &#8220;display: table&#8221; and similar CSS (display:table-row, display:table-cell). However, this can easily be dealt with, and I have included the necessary conditional style to IE lte 7 browsers in the source code for the figure.</p>
<p>The second is a SEO concern. Many authors, such as Rachel Andrew and Kevin Yank in &#8220;Everything you know about CSS is wrong!&#8221; and others on the internet, express some concern about the fact that it is impossible to load content first unless the content is in the first column. That is, the content loads in the order indicated by the numbers in the image above. The reason is that as the current implementation of the new CSS syntax does not support &#8220;rowspan&#8221; and &#8220;colspan&#8221;, &#8220;table hacks&#8221; like the one I wrote about <a href="http://www.nekkidblogger.com/2010/01/a-three-column-table-layout-content-loads-first/" target="_blank">in a previous article</a> can not be implemented.</p>
<p>And this seems to be very true. I have tried to twist and bend the order of the columns a lot without result. There are no true hacks, as far as I can see. But there is a way to &#8220;hack it&#8221; even so. If you really want the content (the middle column) to load first for SEO (Search Engine Optimization) reasons, it can be done. But not by a hack, more something like a &#8220;semi-hack&#8221;:</p>
<p>First we place a container behind the three main columns and make it relatively positioned. Then we use a new div that we load (in the markup) after the three columns and that overwrites the original left column. The purpose of the extra container is to easily and precisely position the new column absolutely.</p>
<p>What this means, is that you do not load content in the original left sidebar, but leave it without content. Instead you load the sidebar content into the new absolutely positioned column. Doing this, you have, in effect, made your content in the middle sidebar load first. In the table hack (see above) we similarly fill the first cell only with the spacer.gif &#8211; and leave it empty of content &#8211; so there is a clear similarity.</p>
<p>Here is the new CSS for a new container and the new column:</p>
<pre class="css"><span class="cssSelector">#contain {</span> <span class="cssProperty">position</span><span class="cssRest">:</span><span class="cssValue"> relative</span><span class="cssRest">;</span> <span class="cssSelector">}</span>
<span class="cssSelector">#side-left2  {</span> <span class="cssProperty">background</span><span class="cssRest">:</span><span class="cssValue">red</span><span class="cssRest">;</span> <span class="cssProperty">position</span><span class="cssRest">:</span><span class="cssValue">absolute</span><span class="cssRest">;</span> <span class="cssProperty">overflow</span><span class="cssRest">:</span><span class="cssValue">hidden</span><span class="cssRest">;</span>
<span class="cssProperty">top</span><span class="cssRest">:</span><span class="cssValue"> 0</span><span class="cssRest">;</span> <span class="cssProperty">left</span><span class="cssRest">:</span><span class="cssValue"> 0</span><span class="cssRest">;</span> <span class="cssProperty">height</span><span class="cssRest">:</span><span class="cssValue">100%</span><span class="cssRest">;</span> <span class="cssProperty">width</span><span class="cssRest">:</span><span class="cssValue"> 100px</span><span class="cssRest">;</span>   <span class="cssSelector">}</span>  </pre>
<p>And the new markup (I have also re-numbered the footer)(essential rules only), still short and sweet:</p>
<pre class="html">
<span class="htmlOtherTag">&lt;div id=<span class="htmlAttributeValue">&quot;wrapper&quot;</span>&gt;</span>
<span class="htmlOtherTag">&lt;div id=<span class="htmlAttributeValue">&quot;header&quot;</span>&gt;</span>
<span class="htmlOtherTag">&lt;h1&gt;</span>1.<span class="htmlOtherTag">&lt;/h1&gt;</span>
<span class="htmlOtherTag">&lt;/div&gt;</span>
<span class="htmlOtherTag">&lt;div id=<span class="htmlAttributeValue">&quot;contain&quot;</span>&gt;</span>
<span class="htmlOtherTag">&lt;div id=<span class="htmlAttributeValue">&quot;main&quot;</span>&gt;</span>
<span class="htmlOtherTag">&lt;div id=<span class="htmlAttributeValue">&quot;side-left&quot;</span>&gt;</span>
<span class="htmlOtherTag">&lt;h1&gt;</span>2.<span class="htmlOtherTag">&lt;/h1&gt;</span>
<span class="htmlOtherTag">&lt;/div&gt;</span>
<span class="htmlOtherTag">&lt;div id=<span class="htmlAttributeValue">&quot;content&quot;</span>&gt;</span>
<span class="htmlOtherTag">&lt;h1&gt;</span>3.<span class="htmlOtherTag">&lt;/h1&gt;</span>
<span class="htmlOtherTag">&lt;/div&gt;</span>
<span class="htmlOtherTag">&lt;div id=<span class="htmlAttributeValue">&quot;side-right&quot;</span>&gt;</span>
<span class="htmlOtherTag">&lt;h1&gt;</span>4.<span class="htmlOtherTag">&lt;/h1&gt;</span>
<span class="htmlOtherTag">&lt;/div&gt;</span>
<span class="htmlOtherTag">&lt;div id=<span class="htmlAttributeValue">&quot;side-left2&quot;</span>&gt;</span>
<span class="htmlOtherTag">&lt;h1&gt;</span>5.<span class="htmlOtherTag">&lt;/h1&gt;</span>
Sidebar left content
(navbar) goes here!<span class="htmlOtherTag">&lt;/div&gt;</span>
<span class="htmlOtherTag">&lt;/div&gt;</span>
<span class="htmlComment"><span class="htmlOtherTag">&lt;!-- main --&gt;</span></span><span class="htmlOtherTag">&lt;/div&gt;</span>
<span class="htmlComment"><span class="htmlOtherTag">&lt;!-- contain --&gt;</span></span>
<span class="htmlOtherTag">&lt;div id=<span class="htmlAttributeValue">&quot;footer&quot;</span>&gt;</span>
<span class="htmlOtherTag">&lt;h1&gt;</span>6.<span class="htmlOtherTag">&lt;/h1&gt;</span>
Nekkidblogger CSS-fun
(c) Nekkidblogger (2010)<span class="htmlOtherTag">&lt;/div&gt;</span>
<span class="htmlOtherTag">&lt;/div&gt;</span>
</pre>
<p>The result is shown in the image below (also, <a href="http://www.nekkidblogger.com/displaytablelayout-b.html" target="_blank">see demo here</a>, with all the CSS in the source):</p>
<p><img class="aligncenter size-full wp-image-242" title="3coldisplaytable-b" src="http://www.nekkidblogger.com/wp-content/uploads/2010/01/3coldisplaytable-b.jpg" alt="3coldisplaytable-b" width="480" height="313" /></p>
<p>As you can see, the (red) new sidebar column numbered 5 &#8211; meaning it is the fifth element in the markup, has now overwritten the old (yellow) left sidebar. This means that the content column (element 3) now load before the sidebars with whatever SEO benefit this brings. This is all valid CSS and markup, and I have tested it in a number of browsers (see the demo).</p>
<p>Also, I have written the code so that it degrades into a table (with the semi-hack still working) for IE7 and earlier IE versions. And it is easy to turn it into a flexible width design with fixed sidebars (just set the width to a percentage or em&#8217;s, and the width of the middle column to 100% or em&#8217;s, and use &#8220;min-width&#8221; and &#8220;max-width&#8221; if desirable).</p>
<p>The design has some well known weaknesses due to the absolute positioning of the new left sidebar that I outline and discuss how to deal with in the demo file. Also, since this ends up as a hybrid design it has some of the advantages of the &#8220;display: table&#8221; layout, but not all, and may perhaps be viewed as involving a trade-off between the ease of use of the new CSS table design and SEO concerns. To keep it simple I have used the semi-hack here on a fixed layout, but it only really makes sense to use it on hybrid CSS layouts, as fixed CSS layouts are relatively straightforward.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://www.nekkidblogger.com/2010/01/a-three-column-table-layout-content-loads-first/" rel="bookmark" class="crp_title">A three column table layout, for SEO content loads first</a></li><li><a href="http://www.nekkidblogger.com/2009/12/css-and-seo-3-column-frontloaded-layout/" rel="bookmark" class="crp_title">CSS and SEO: 3 column frontloaded layout</a></li><li><a href="http://www.nekkidblogger.com/2010/01/a-remark-on-tables-divs-and-css/" rel="bookmark" class="crp_title">A remark on tables, DIV&#8217;s, and CSS</a></li><li><a href="http://www.nekkidblogger.com/2010/01/everything-you-know-about-css-is-wrong-by-rachel-andrew-and-kevin-yank/" rel="bookmark" class="crp_title">Everything You Know about CSS is Wrong! by Rachel Andrew and Kevin Yank</a></li><li><a href="http://www.nekkidblogger.com/2010/03/box-with-rounded-corners-and-shadows-fun-with-css3/" rel="bookmark" class="crp_title">Box with rounded corners and shadows &#8211; fun with CSS3</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div><p>&copy;2010 <a href="http://www.nekkidblogger.com">nekkidblogger</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.nekkidblogger.com/2010/01/3-column-css-layout-with-display-table-semi-hack-to-load-content-first-for-seo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A remark on tables, DIV&#8217;s, and CSS</title>
		<link>http://www.nekkidblogger.com/2010/01/a-remark-on-tables-divs-and-css/</link>
		<comments>http://www.nekkidblogger.com/2010/01/a-remark-on-tables-divs-and-css/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 23:32:18 +0000</pubDate>
		<dc:creator>Nekkid blogger</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Web design]]></category>
		<category><![CDATA[Web site layout]]></category>
		<category><![CDATA[and CSS | SEO]]></category>
		<category><![CDATA[DIV's]]></category>
		<category><![CDATA[tables]]></category>
		<category><![CDATA[web layouts]]></category>

		<guid isPermaLink="false">http://www.nekkidblogger.com/?p=227</guid>
		<description><![CDATA[On the internet, and in books and articles about Web Design, a large number of writers keep telling me about the vast advantages of CSS-based site layouts over site layouts based on tables. Personally, I use both kinds of designs, and I really do not see any great advantage of one over the other. And [...]]]></description>
			<content:encoded><![CDATA[<p>On the internet, and in books and articles about Web Design, a large number of writers keep telling me about the vast advantages of CSS-based site layouts over site layouts based on tables. Personally, I use both kinds of designs, and I really do not see any great advantage of one over the other. And I am getting quite a bit fed up by a lot of the assertions of the pro-CSS-crowd.</p>
<p>One of the often repeated, and seemingly decisive arguments in the eyes of the die-hard proponents of CSS layouts, is that &#8220;tables are for display of data&#8221; (see, for instance, &#8220;<a href="http://www.hotdesign.com/seybold/everything.html" target="_blank">Why tables for layout is stupid</a>&#8220;, stating that &#8220;Tables existed in HTML for one reason: To display tabular data&#8221;). The fact that this and similar assertions are made a 1000 times do not make them any more true. And it really is just a silly argument. Who cares what tables &#8220;were made for&#8221;? The more important question is what they are useful for, and where they are easier to use and more efficient than other syntax?</p>
<p>Alternatively, one could twist the argument around, and ask: Were DIVs made for layout? And if they were not, does that mean we shouldn&#8217;t be using them?</p>
<p>The same article I referred to above (really only one of a thousand saying the same things, and just used here as a representative of a set of false truisms) also claims that CSS-designs (the numbering is mine, they provide a longer list):</p>
<ol>
<li>make your redesigns <em>more efficient and less expensive</em></li>
<li>help you <em>maintain visual consistency</em> throughout your sites</li>
<li>get you <em>better search engine results</em></li>
<li>make your sites <em>more accessible</em> to all viewers and user agents</li>
</ol>
<p>1. <strong>Make your redesigns more efficient and expensive?</strong> Than what? Than a table-based design with layers of nested tables and no CSS? There is nothing preventing anybody from just using <code>&lt;td&gt; &lt;/td&gt;</code> as a container just like a DIV and styling it with CSS just like DIVs are styled? Or using a DIV wrapper around the table, and fill the table up inside with styled DIVs, just as in a DIV-based CSS design! So the argument is just vacuous in the sensee that it only applies to a constructed (and not even well specified straw man).</p>
<p>2. <strong>Help you maintain visual consistency throughout you site</strong>? Exactly the same argument applies &#8211; relative to what? </p>
<p>3. <strong>Get you better search engine results</strong>? What is this based on? Does the author assume that search bots are unable to see what is inside HTML like <code>&lt;table&gt;&lt;tr&gt;.. &lt;/tr&gt;&lt;/table&gt;</code> whereas they perfectly understand and see content inside <code>&lt;div&gt; .. &lt;/div&gt;</code>? If that is the argument, then it is just plain false. And if it is that DIV-based layouts can load content first, then it is equally false, as I and many others have shown that you can load content first in a table-based layout as well! What is more, I have not seen any research indicating that table-based designs are better or worse than DIV-based ones from a search engine optimization point of view, providing sensible and semantic markup is being used. It would perhaps be better if such claims were not made by the proponents of the purist CSS approach unless the claims are backed up by solid facts or research.</p>
<p>4. <strong>Make your sites more accessible to all viewers and user agents</strong>? What does the author mean? On standard browsers tables are just as accessible. On cell phones and similar devices both table-based and DIV-based designs usually need alternative style sheets to be max accessible?</p>
<p>It would be nice if those of the almost religous sounding claims by proponents of the one true way of Web designs that have no sound logical or factual basis were left out of the debates. They are quite stupid and quite annoying.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://www.nekkidblogger.com/2010/01/a-three-column-table-layout-content-loads-first/" rel="bookmark" class="crp_title">A three column table layout, for SEO content loads first</a></li><li><a href="http://www.nekkidblogger.com/2010/01/3-column-css-layout-with-display-table-semi-hack-to-load-content-first-for-seo/" rel="bookmark" class="crp_title">3 column CSS layout with &#8220;display-table&#8221;, semi-hack to load content first for SEO</a></li><li><a href="http://www.nekkidblogger.com/2010/01/everything-you-know-about-css-is-wrong-by-rachel-andrew-and-kevin-yank/" rel="bookmark" class="crp_title">Everything You Know about CSS is Wrong! by Rachel Andrew and Kevin Yank</a></li><li><a href="http://www.nekkidblogger.com/2010/02/css-web-site-design-by-eric-a-meyer/" rel="bookmark" class="crp_title">CSS Web Site Design, by Eric A. Meyer</a></li><li><a href="http://www.nekkidblogger.com/2010/03/opera-10-5-faster-better-css3-support/" rel="bookmark" class="crp_title">Opera 10.5 &#8211; faster, better CSS3 support</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div><p>&copy;2010 <a href="http://www.nekkidblogger.com">nekkidblogger</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.nekkidblogger.com/2010/01/a-remark-on-tables-divs-and-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A three column table layout, for SEO content loads first</title>
		<link>http://www.nekkidblogger.com/2010/01/a-three-column-table-layout-content-loads-first/</link>
		<comments>http://www.nekkidblogger.com/2010/01/a-three-column-table-layout-content-loads-first/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 00:39:05 +0000</pubDate>
		<dc:creator>Nekkid blogger</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Web design]]></category>
		<category><![CDATA[Web site layout]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[content loads first]]></category>
		<category><![CDATA[CSS vs tables]]></category>
		<category><![CDATA[table hack]]></category>
		<category><![CDATA[three column table based layout]]></category>

		<guid isPermaLink="false">http://www.nekkidblogger.com/?p=211</guid>
		<description><![CDATA[We assume you want a three column or some multi-column layout. And that you want to have the main content in the middle column. Also, as before, we assume that SEO (Search Engine Optimization) is a biggie, and that it is desirable to have a design where the content column is the first to load, [...]]]></description>
			<content:encoded><![CDATA[<p>We assume you want a three column or some multi-column layout. And that you want to have the main content in the middle column. Also, <a href="http://www.nekkidblogger.com/2009/12/css-and-seo-3-column-frontloaded-layout/">as before</a>, we assume that SEO (Search Engine Optimization) is a biggie, and that it is desirable to have a design where the content column is the first to load, so that crawlers and bots indexing the page meet the content you want to be indexed before they meet your menu with lots of links and other non-essential stuff  (this assumption very likely to be flawed, but I will come back to that in a later post).</p>
<p>So the problem is that the crawler or bot reads your site like this:</p>
<p><img style="margin: 1px 5px;" title="design-2" src="http://www.nekkidblogger.com/wp-content/uploads/2009/12/design-2.JPG" alt="design-2" width="220" height="116" />That is, you have a nice layout (much nicer than my illustration). And when the crawler meets your site&#8217;s HTML, the first thing it sees is all the stuff you have in your left sidebar. Perhaps a navigation menu, some news, some advertisements, or something. That&#8217;s number 1 in the figure. But all your content, or most important content, the stuff you really want to be indexed on, is in box 2. And you may have some asides or more sexy stuff than in sidebar 1 in your other sidebar as well.</p>
<p>So what you want is that the crawler or bot reads the page like this:</p>
<p><img style="margin: 1px 5px;" title="design-3" src="http://www.nekkidblogger.com/wp-content/uploads/2009/12/design-3.JPG" alt="design-3" width="220" height="113" />Here the crawler reads first the main column, then the left sidebar, and finally the right sidebar. Just as you want. And hopefully in a manner that gives better indexing. <a href="http://www.nekkidblogger.com/2009/12/css-and-seo-3-column-frontloaded-layout/">Previously</a> I illustrated how easy it is to do this in a CSS-based layout. And on the net everybody tells you that this is something that is a very, very important argument in favor of CSS-based layouts as opposed to table-based layouts. I have read it so many times I have lost count of it. And, even so, it is just plainly wrong! It is a platitude repeated ten thousand times, but no more true for that.</p>
<p>It turns out that it is just as easy to manipulate the sequence in which columns are read in table-based layouts as in CSS-based ones. Just look at this code:</p>
<pre class="html"><span class="htmlOtherTag">&lt;div id=<span class="htmlAttributeValue">&quot;wrap&quot;</span>&gt;</span>
<span class="htmlTableTag">&lt;table border=<span class="htmlAttributeValue">&quot;0&quot;</span> width=<span class="htmlAttributeValue">&quot;100%&quot;</span>&gt;</span><span class="htmlTableTag">&lt;tr&gt;</span>
   <span class="htmlTableTag">&lt;td id=<span class="htmlAttributeValue">&quot;sidebar1&quot;</span> style=<span class="htmlAttributeValue">&quot;<span class="cssProperty">padding</span><span class="cssRest">:</span><span class="cssValue"> 0pt</span><span class="cssRest">;</span> <span class="cssProperty">height</span><span class="cssRest">:</span><span class="cssValue"> 1px</span><span class="cssRest">;</span>&quot;</span>&gt;</span>
        <span class="htmlImageTag">&lt;img src=<span class="htmlAttributeValue">&quot;pics/spacer1x1.gif&quot;</span> alt=<span class="htmlAttributeValue">&quot;&quot;</span> width=<span class="htmlAttributeValue">&quot;1&quot;</span> height=<span class="htmlAttributeValue">&quot;1&quot;</span> /&gt;</span><span class="htmlTableTag">&lt;/td&gt;</span>
  <span class="htmlTableTag">&lt;td id=<span class="htmlAttributeValue">&quot;content&quot;</span> rowspan=<span class="htmlAttributeValue">&quot;2&quot;</span>&gt;</span>
        <span class="htmlOtherTag">&lt;h4&gt;</span>1<span class="htmlOtherTag">&lt;/h4&gt;</span>
        <span class="htmlOtherTag">&lt;p&gt;</span>Content  is the first to load. Good for SEO!
        <span class="htmlOtherTag">&lt;/p&gt;</span><span class="htmlOtherTag">&lt;p style=<span class="htmlAttributeValue">&quot;<span class="cssProperty">padding-bottom</span><span class="cssRest">:</span><span class="cssValue"> 30px</span><span class="cssRest">;</span>&quot;</span>&gt;</span>Columns are always equal in height<span class="htmlOtherTag">&lt;/p&gt;</span>
  <span class="htmlTableTag">&lt;/td&gt;</span>
  <span class="htmlTableTag">&lt;td id=<span class="htmlAttributeValue">&quot;sidebar2&quot;</span> rowspan=<span class="htmlAttributeValue">&quot;2&quot;</span>&gt;</span>
       <span class="htmlOtherTag">&lt;h4&gt;</span>2<span class="htmlOtherTag">&lt;/h4&gt;</span>
       <span class="htmlOtherTag">&lt;p&gt;</span>The second sidebar<span class="htmlOtherTag">&lt;/p&gt;</span><span class="htmlTableTag">&lt;/td&gt;</span>
<span class="htmlTableTag">&lt;/tr&gt;</span><span class="htmlTableTag">&lt;tr&gt;</span>
  <span class="htmlTableTag">&lt;td id=<span class="htmlAttributeValue">&quot;sidebar1&quot;</span>&gt;</span>
       <span class="htmlOtherTag">&lt;h4&gt;</span>3<span class="htmlOtherTag">&lt;/h4&gt;</span>
       <span class="htmlOtherTag">&lt;p&gt;</span>First sidebar<span class="htmlOtherTag">&lt;/p&gt;</span><span class="htmlTableTag">&lt;/td&gt;</span>
<span class="htmlTableTag">&lt;/tr&gt;</span><span class="htmlTableTag">&lt;/table&gt;</span>
<span class="htmlOtherTag">&lt;/div&gt;</span></pre>
<p style="padding-top: 15px">It is short and sweet, no more messy than the <em>Faux Columns</em><br />
 or <em>The Holy Grail</em> layouts. Perhaps less. And it reads the middle column first and has columns of equal heights, along with some other desirable qualities.</p>
<p>It rests on a very clever hack that I happened to find in <a href="http://joeclark.org/book/sashay/serialization/Chapter08.html#h2-1785" target="_blank">Joe Clark&#8217;s Building Accessible Websites</a>, and which according to him is due to Lauri Harpf of the Website <a href="Lauri Harpf of the Website APromotionGuide.com. " target="_blank">APromotionGuide.com</a>.</p>
<p>And it really is devilishly clever and simple: Instead of using 3 cells in a row, we use six. And in the first cell we use a 1&#215;1 px gif. Then we use rowspan=&#8221;2&#8243; to not have to bother with the extra cells, and end up with one extra cell that is 1px in height. And nothing looks different because the one-pixel spacer GIF is unnoticeable. But when you experience it serially, you get the content first, then I have let the right sidebar come second (note that I could have used the same hack and skipped the rowbar=2 there as well, to make it come third instead of second), and navigation (left sidebar) third.</p>
<p>It&#8217;s so simple and does the job so cleanly. So, using this smart table hack and some CSS (<a href="http://www.nekkidblogger.com/3col-content-first-table-layout.css">stylesheet here</a>) we get the following result (see the <a href="http://www.nekkidblogger.com/3col-content-first-table-layout.html" target="_blank">page live here</a>):</p>
<p><img class="aligncenter size-full wp-image-212" title="3-colcont-first" src="http://www.nekkidblogger.com/wp-content/uploads/2010/01/3-colcont-first.jpg" alt="3-colcont-first" width="500" height="128" /></p>
<p>And now the crawlers and bots will encounter the content and the important stuff before they get to the navbar and ads and whatnot!</p>
<p>To conclude: I am actually a believer in CSS based layouts, but the choice between tables and CSS is not at all as clearcut and easy to decide as proponents of CSS-layout style tend to make it. You can do just about the same with tables as with CSS. Sometimes one is preferable, sometimes the other. It is possible to use semantic elements and DIVs inside a table, just as it is inside a DIV-based layout. And it is (almost) as easy to end up in a &#8220;DIV-ed nightmare&#8221; as it is to be tangled in nested table webs.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://www.nekkidblogger.com/2009/12/css-and-seo-3-column-frontloaded-layout/" rel="bookmark" class="crp_title">CSS and SEO: 3 column frontloaded layout</a></li><li><a href="http://www.nekkidblogger.com/2010/01/3-column-css-layout-with-display-table-semi-hack-to-load-content-first-for-seo/" rel="bookmark" class="crp_title">3 column CSS layout with &#8220;display-table&#8221;, semi-hack to load content first for SEO</a></li><li><a href="http://www.nekkidblogger.com/2010/01/a-remark-on-tables-divs-and-css/" rel="bookmark" class="crp_title">A remark on tables, DIV&#8217;s, and CSS</a></li><li><a href="http://www.nekkidblogger.com/2010/01/everything-you-know-about-css-is-wrong-by-rachel-andrew-and-kevin-yank/" rel="bookmark" class="crp_title">Everything You Know about CSS is Wrong! by Rachel Andrew and Kevin Yank</a></li><li><a href="http://www.nekkidblogger.com/2010/02/css-web-site-design-by-eric-a-meyer/" rel="bookmark" class="crp_title">CSS Web Site Design, by Eric A. Meyer</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div><p>&copy;2010 <a href="http://www.nekkidblogger.com">nekkidblogger</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.nekkidblogger.com/2010/01/a-three-column-table-layout-content-loads-first/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Radical Web Design Principle: No More Internet Explorer Support</title>
		<link>http://www.nekkidblogger.com/2010/01/a-radical-web-design-principle-no-more-internet-explorer-support/</link>
		<comments>http://www.nekkidblogger.com/2010/01/a-radical-web-design-principle-no-more-internet-explorer-support/#comments</comments>
		<pubDate>Fri, 01 Jan 2010 18:57:00 +0000</pubDate>
		<dc:creator>Nekkid blogger</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Opera]]></category>
		<category><![CDATA[Web design]]></category>
		<category><![CDATA[box shadow]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[IE and CSS]]></category>
		<category><![CDATA[No More Internet Explorer Support]]></category>
		<category><![CDATA[Radical Web Design Principle]]></category>

		<guid isPermaLink="false">http://www.nekkidblogger.com/?p=198</guid>
		<description><![CDATA[In the past, I have spent hours and hours searching through my reference books and on the Internet to make my sites look as good in the various versions of Internet Explorer as in  CSS compliant browsers. And I have implemented IE version specific style sheets, IE hacks and rewrites of CSS to make layouts, [...]]]></description>
			<content:encoded><![CDATA[<p>In the past, I have spent hours and hours searching through my reference books and on the Internet to make my sites look as good in the various versions of Internet Explorer as in  CSS compliant browsers. And I have implemented IE version specific style sheets, IE hacks and rewrites of CSS to make layouts, div&#8217;s and other elements look as beautiful in Internet Explorer as in other browsers.</p>
<p>I have implemented the silly Microsoft &#8220;expression&#8221;-statements for IE-versions not supporting the standard CSS max-width syntax, I have applied Microsoft &#8220;filters&#8221; of all kinds because IE doesn&#8217;t support &#8220;box-shadow&#8221;. I have inserted extra inner div&#8217;s to boxes to make them look the same and have the same size in IE as elsewhere, and I have used unnecessary &#8220;clearfixes&#8221; (picture by courtesy of <a href="RobotJohnny.com" target="_blank">RobotJonny.com</a>).</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-201" style="margin-top: 5px; margin-bottom: 5px;" title="ie6-party" src="http://www.nekkidblogger.com/wp-content/uploads/2010/01/ie6-party.jpg" alt="ie6-party" width="500" height="350" /></p>
<p>The picture, of course, is much too kind to IE7 (and perhaps even to Opera). It breaks things and messes up too. Even IE8 does that! According to rumors, IE9 will fix all of those things, but I will reserve the right to believe that when I see it. I seem to recall having heard similar things all the way up from IE5! And there are still plenty of bugs left &#8230;</p>
<p>No more. I have had enough. I am sick of seeing how bad beautiful typography looks in IE, how well-designed pages get messed up, how nice, discrete shadow effects mess up the fonts within the boxes they apply to in IE. But from now on, for the sites I operate myself, I am not going to bother any more. If Microsoft want to substitute my good looking fonts with thick, ugly looking letters, let borders collapse, and generally render my pages ugly, then let it be so.</p>
<p>From now on, I will consider all those things Microsoft problems that people using Internet Explorer should complain to Microsoft about or start using another browser. I will not help Microsoft by trying to make their inferior browser look good. There is no reason for me to spend lots of hours doing that. For design projects I do for customers I will do it if I have to, but only reluctantly and as little as possible. </p>
<p>That&#8217;s my new, radical design principle for 2010 and forwards. It is a very radical decision, as most people for some or other reason still use IE. But it feels very liberating. And it will be a huge time saver. From now on I will have fun and use all the new, wonderful properties of CSS3 and HTML5 as they get implemented in the good browsers. And let Microsoft worry about how IE supports the new standards.</p>
<p>To users with the wrong browsers I will only say this &#8211; go and get Firefox, Safari or Chrome if you want to see how sites really look! And now that new, <a href="http://www.vg.no/teknologi/artikkel.php?artid=578874" target="_blank">very serious safety issues</a> have been found with Internet Explorer as well, it definitely should be time to change!</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://www.nekkidblogger.com/2010/03/opera-10-5-faster-better-css3-support/" rel="bookmark" class="crp_title">Opera 10.5 &#8211; faster, better CSS3 support</a></li><li><a href="http://www.nekkidblogger.com/2009/12/box-shadows-css3-internet-explorer-ie-8/" rel="bookmark" class="crp_title">CSS3 Box Shadows, Browsers, and Internet Explorer (IE-8)</a></li><li><a href="http://www.nekkidblogger.com/2010/03/box-with-rounded-corners-and-shadows-fun-with-css3/" rel="bookmark" class="crp_title">Box with rounded corners and shadows &#8211; fun with CSS3</a></li><li><a href="http://www.nekkidblogger.com/2010/01/a-remark-on-tables-divs-and-css/" rel="bookmark" class="crp_title">A remark on tables, DIV&#8217;s, and CSS</a></li><li><a href="http://www.nekkidblogger.com/2010/01/everything-you-know-about-css-is-wrong-by-rachel-andrew-and-kevin-yank/" rel="bookmark" class="crp_title">Everything You Know about CSS is Wrong! by Rachel Andrew and Kevin Yank</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div><p>&copy;2010 <a href="http://www.nekkidblogger.com">nekkidblogger</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.nekkidblogger.com/2010/01/a-radical-web-design-principle-no-more-internet-explorer-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
