<?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>Themocracy WordPress Themes &#187; html</title>
	<atom:link href="http://themocracy.com/tag/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://themocracy.com</link>
	<description>WordPress Theme Design</description>
	<lastBuildDate>Mon, 26 Jul 2010 06:18:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>WordPress Themes and Tables, Shock, Horror</title>
		<link>http://themocracy.com/2009/11/wordpress-themes-and-tables-shock-horror/</link>
		<comments>http://themocracy.com/2009/11/wordpress-themes-and-tables-shock-horror/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 14:06:13 +0000</pubDate>
		<dc:creator>Lisa</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://themocracy.com/?p=193</guid>
		<description><![CDATA[Having recently been taken to task by a punter who berates our poor suffering HTML designer for daring to use tables in some of our WordPress themes, maybe best not to say which ones&#8230; There does seem to be an attitude that tables = evil, without even stopping to think. Our correspondent has missed the [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fthemocracy.com%2F2009%2F11%2Fwordpress-themes-and-tables-shock-horror%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fthemocracy.com%2F2009%2F11%2Fwordpress-themes-and-tables-shock-horror%2F" height="61" width="51" /></a></div><p><img src="http://themocracy.com/wp-content/uploads/2009/11/wordpress-theme-tables.png" alt="wordpress-theme-tables" title="wordpress-theme-tables" width="234" height="162" class="alignright size-full wp-image-194" />Having recently been taken to task by a punter who berates our poor suffering HTML designer for daring to use tables in some of our WordPress themes, maybe best not to say which ones&#8230; </p>
<p><strong>There does seem to be an attitude that tables = evil, without even stopping to think</strong>.</p>
<p>Our correspondent has missed the point. The reasons for not using tables in global layout are well-established now and pretty much taken as read. In 2002, the debate and revolution was common currency. It may well be that someone coming to the discipline a bit later on, won&#8217;t be entirely clear about the principles of table-less design, when to use, and when not.<br />
<span id="more-193"></span><br />
<strong>There&#8217;s nothing intrinsically wrong with &lt;table&gt; as a tag</strong></p>
<p>Where the problems start, when using tables for macro page layout, is that it becomes hard to avoid nesting, tables within tables within tables, messy code &#8211; if you&#8217;ve ever hacked around with osCommerce, you&#8217;ll know how much fun that can turn into. It is also harder, though not impossible in all cases, to get the markup semantically correct. (There&#8217;s nothing &#8216;unsemantic&#8217; about a table, that a div magically cures).</p>
<p>But we&#8217;re talking about lower down in DOM, as it were&#8230;</p>
<p>If you want three boxes in a horizontal line, then a table is more likely to do the job effectively than floating three divs &#8211; a table clears itself, you have as much (perhaps more) control over heights, both of the start point, and relative between each box &#8211; and once you get the hang of the slightly peculiar CSS declarations that go with the TD tag, it seems a no-brainer. You see enough examples of broken-layout pages that haven&#8217;t been checked for widths in all screen resolutions, with their floated divs heading south to know that a certain sloppiness can creep in.</p>
<p>So, yes, the tables stay in the themes. You won&#8217;t ever see a theme here laid out using one big table on the page, as used to be, but there&#8217;s no reason to throw away a perfectly useful design tool. </p>
]]></content:encoded>
			<wfw:commentRss>http://themocracy.com/2009/11/wordpress-themes-and-tables-shock-horror/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

