<?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>ThinkRobot &#187; styling</title>
	<atom:link href="http://think-robot.com/tag/styling/feed/" rel="self" type="application/rss+xml" />
	<link>http://think-robot.com</link>
	<description>Design &#38; Development Blog</description>
	<lastBuildDate>Tue, 09 Aug 2011 16:56:32 +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>Firefox ignores tabs but not spaces in a pre tag</title>
		<link>http://think-robot.com/2009/02/firefox-ignores-tabs-but-not-spaces-in-a-pre-tag/</link>
		<comments>http://think-robot.com/2009/02/firefox-ignores-tabs-but-not-spaces-in-a-pre-tag/#comments</comments>
		<pubDate>Sun, 22 Feb 2009 08:47:27 +0000</pubDate>
		<dc:creator>Joanna</dc:creator>
				<category><![CDATA[HTML/CSS]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[styling]]></category>
		<category><![CDATA[tags]]></category>

		<guid isPermaLink="false">http://www.think-robot.com/?p=26</guid>
		<description><![CDATA[Sometimes HTML can be so frustrating. I love tabs in my code, however while styling the new blog theme I run into a Firefox only problem &#8211; despite being in a &#60;pre&#62; tag tabs would be ignored. I found references to this werid behaviour, however it seemed to affect the displayed indentation for both tabs [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes HTML can be so frustrating. I love tabs in my code, however while styling the new blog theme I run into a Firefox only problem &#8211; despite being in a <strong>&lt;pre&gt;</strong> tag tabs would be ignored.</p>
<p>I found <a href="http://www.sohtanaka.com/web-design/styling-pre-tags-with-css-code-block/" target="_blank">references to this werid behaviour</a>, however it seemed to affect the displayed indentation for both tabs and spaces, and not ignore one while adhering to the other.</p>
<p>The solution actually turned out quite simple. The only thing you needed was an element inside the <strong>&lt;pre&gt;</strong> tag with the <strong>display: block;</strong> property set. And you don&#8217;t even need to move the padding away from the <strong>&lt;pre&gt;</strong> tag.</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=7e114744-0059-415e-a3df-90a95b81a55a" alt="" /></div>
<div id="crp_related"><h2>Related Articles:</h2><ul><li><a href="http://think-robot.com/2009/04/week-of-the-month-in-mysql/" rel="bookmark">Week of the Month in Mysql</a></li><li><a href="http://think-robot.com/2008/11/nested-sortable-using-jtree-clickable-links/" rel="bookmark">Nested sortable using jTree - clickable links</a></li><li><a href="http://think-robot.com/2009/02/how-to-use-the-strong-ownership-list/" rel="bookmark">How To Use the Strong Ownership List</a></li><li><a href="http://think-robot.com/2009/02/improving-design-by-using-a-grid-system/" rel="bookmark">Improving Design by Using a Grid System</a></li><li><a href="http://think-robot.com/2011/03/jquery-multiple-events-without-default-behaviour/" rel="bookmark">jQuery Multiple Events Without Default Behaviour</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://think-robot.com/2009/02/firefox-ignores-tabs-but-not-spaces-in-a-pre-tag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

