<?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>Tohir Solomons &#187; HTML, CSS</title>
	<atom:link href="http://www.tohir.co.za/category/software-and-technology/html-css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tohir.co.za</link>
	<description></description>
	<lastBuildDate>Sat, 04 Sep 2010 06:05:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Installing SASS 3.0 on Ubuntu 10.4</title>
		<link>http://www.tohir.co.za/2010/07/09/installing-sass-3-0-on-ubuntu-10-4/</link>
		<comments>http://www.tohir.co.za/2010/07/09/installing-sass-3-0-on-ubuntu-10-4/#comments</comments>
		<pubDate>Fri, 09 Jul 2010 13:40:51 +0000</pubDate>
		<dc:creator>Tohir</dc:creator>
				<category><![CDATA[HTML, CSS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software and Technology]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[sass]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.tohir.co.za/?p=409</guid>
		<description><![CDATA[Currently, the HAML/Sass version on Ubuntu is 2.2.17. Version 3, also known as Classy Cassidy, includes new features. So how can you install it on Ubuntu. Firstly, you need Ruby: sudo apt-get install ruby Thereafter (without sudo): gem install haml-edge This will install Haml and Sass into your directory, but at least you will have [...]]]></description>
			<content:encoded><![CDATA[<p>Currently, the <a href="http://sass-lang.com/">HAML/Sass</a> version on Ubuntu is 2.2.17. Version 3, also known as Classy Cassidy, includes new features. So how can you install it on Ubuntu.</p>
<p>Firstly, you need Ruby:</p>
<pre>sudo apt-get install ruby</pre>
<p>Thereafter (without sudo):</p>
<pre>gem install haml-edge</pre>
<p>This will install Haml and Sass into your directory, but at least you will have access to the latest version. Message that appears:</p>
<pre>WARNING:  Installing to ~/.gem since /var/lib/gems/1.8 and
 /var/lib/gems/1.8/bin aren't both writable.
WARNING:  You don't have /home/tohir/.gem/ruby/1.8/bin in your PATH,
 gem executables will not run.
Successfully installed haml-edge-3.1.49
1 gem installed</pre>
<p>You can test that it is the latest version by:</p>
<pre>~/.gem/ruby/1.8/bin/sass -version
</pre>
<p>Which should return:</p>
<pre>Haml/Sass 3.1.49 (Bleeding Edge)</pre>
<p>Lastly, there is a nice command to watch files and auto generate an updated version:</p>
<pre>~/.gem/ruby/1.8/bin/sass -t compact --watch [inputfile]:[outputfile]</pre>
<p>like:</p>
<pre>~/.gem/ruby/1.8/bin/sass -t compact --watch browseView.scss:browseView.css</pre>
<p><map name='google_ad_map_409_d66c8ad2bfa7c2ab'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/409?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_409_d66c8ad2bfa7c2ab' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=409&amp;url= http%3A%2F%2Fwww.tohir.co.za%2F2010%2F07%2F09%2Finstalling-sass-3-0-on-ubuntu-10-4%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.tohir.co.za/2010/07/09/installing-sass-3-0-on-ubuntu-10-4/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ExtJS Books coming soon</title>
		<link>http://www.tohir.co.za/2009/06/24/extjs-books-coming-soon/</link>
		<comments>http://www.tohir.co.za/2009/06/24/extjs-books-coming-soon/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 12:18:01 +0000</pubDate>
		<dc:creator>Tohir</dc:creator>
				<category><![CDATA[HTML, CSS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Software and Technology]]></category>

		<guid isPermaLink="false">http://www.tohir.co.za/?p=283</guid>
		<description><![CDATA[Here is a list of some of the ExtJS Books, one is already published, others should be out later this year: &#160;Learning ExtJS This book has already been published and is available for purchase. As the first and currently only book available, it is quite a useful reference. What you will learn from this book? [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a list of some of the ExtJS Books, one is already published, others should be out later this year:</p>
<table width="100%" cellspacing="2" cellpadding="1" border="0">
<tbody>
<tr>
<td width="150" valign="top" align="center"><iframe frameborder="0" scrolling="no" src="http://rcm.amazon.com/e/cm?t=muslidirec-20&amp;o=1&amp;p=8&amp;l=as1&amp;asins=1847195148&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=FFFFFF&amp;bg1=FFFFFF&amp;f=ifr" style="width: 120px; height: 240px;" marginwidth="0" marginheight="0"></iframe></td>
<td valign="top">
<h3>&nbsp;Learning ExtJS</h3>
<p>This book has already been published and is available for purchase. As the first and currently only book available, it is quite a useful reference.</p>
<p><b>What you will learn from this book?</b></p>
<ul>
<li>Create responsive forms</li>
<li>Look at Web Applications from an entirely new perspective</li>
<li>Learn to use the major UI components available in Ext JS</li>
<li>Understand how external data can be consumed by Ext JS</li>
<li>Query and process remote data into your application</li>
<li>Use Layouts to bring all of the Ext JS pieces together</li>
<li>Use Ext JS effects to manipulate the DOM in exciting ways</li>
<li>Provide a consistent look and feel to your application using Components</li>
<li>Change the visual style of Ext JS using theming support</li>
<li>Find Custom Community Extensions to expand your applications</li>
<li>Create your own custom library extensions</li>
</ul>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td valign="top" align="center"><iframe frameborder="0" scrolling="no" marginheight="0" marginwidth="0" style="width: 120px; height: 240px;" src="http://rcm.amazon.com/e/cm?t=muslidirec-20&amp;o=1&amp;p=8&amp;l=as1&amp;asins=1430219246&amp;fc1=000000&amp;IS1=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=FFFFFF&amp;bg1=FFFFFF&amp;f=ifr"></iframe></td>
<td valign="top">
<h3>Practical ExtJS&nbsp;Projects with Gears</h3>
<p>This promises to be an exciting book focussing on practical case studies, and also integrate offline usage with Google Gears.</p>
<p>Expected in&nbsp;July 2009</p>
<h3>What you&rsquo;ll learn</h3>
<ul>
<li>Get an understanding of one of today&rsquo;s hottest JavaScript frameworks and libraries, Ext JS.</li>
<li>Develop interesting Web 2.0 &ldquo;front ends,&rdquo; RIAs (Rich Internet Applications), and more.</li>
<li>Create a number of applications from the projects or pragmatic case studies that the author gives you.</li>
<li>Create an organizer, timekeeper, a code cabinet, and more.</li>
<li>Get back to basics and back ends using a SQL workbench, Google Gears, and Ext BASIC.</li>
<li>Pull it all together by designing a game using Ext JS.</li>
<li>And more&hellip;</li>
</ul>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td valign="top" align="center">&nbsp;<img src="http://www.manning.com/garcia/garcia_cover150.jpg" alt="" /></td>
<td valign="top">
<h3>ExtJS in&nbsp;Action</h3>
<p>Expected in&nbsp;January 2010, although some chapter are available with the Manning Early Access Program</p>
<p><a href="http://www.manning.com/garcia/">http://www.manning.com/garcia/</a></p>
</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p><map name='google_ad_map_283_d66c8ad2bfa7c2ab'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/283?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_283_d66c8ad2bfa7c2ab' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=283&amp;url= http%3A%2F%2Fwww.tohir.co.za%2F2009%2F06%2F24%2Fextjs-books-coming-soon%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.tohir.co.za/2009/06/24/extjs-books-coming-soon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>One time something works in XHTML but not in HTML</title>
		<link>http://www.tohir.co.za/2007/03/30/one-time-something-works-in-xhtml-but-not-in-html/</link>
		<comments>http://www.tohir.co.za/2007/03/30/one-time-something-works-in-xhtml-but-not-in-html/#comments</comments>
		<pubDate>Fri, 30 Mar 2007 08:38:00 +0000</pubDate>
		<dc:creator>Tohir</dc:creator>
				<category><![CDATA[HTML, CSS]]></category>

		<guid isPermaLink="false">http://tohir.co.za/?p=117</guid>
		<description><![CDATA[Despite the totally unforgiving nature of XHTML, there&#8217;s one time something works in XHTML but not in HTML. Images in a drop down. BTW, this will never work in IE. They don&#8217;t support XHTML]]></description>
			<content:encoded><![CDATA[<p>Despite the totally unforgiving nature of XHTML, there&#8217;s one time something works in XHTML but not in HTML.</p>
<p>Images in a drop down.</p>
<p><a href="http://www.tohir.co.za/uploaded_images/xhtmldropdown-789379.gif" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://www.tohir.co.za/uploaded_images/xhtmldropdown-789365.gif" border="0" alt="" /></a>BTW, this will never work in IE. They don&#8217;t support XHTML</p>
<p><map name='google_ad_map_117_d66c8ad2bfa7c2ab'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/117?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_117_d66c8ad2bfa7c2ab' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=117&amp;url= http%3A%2F%2Fwww.tohir.co.za%2F2007%2F03%2F30%2Fone-time-something-works-in-xhtml-but-not-in-html%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.tohir.co.za/2007/03/30/one-time-something-works-in-xhtml-but-not-in-html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Absolute-middle in CSS (Images)</title>
		<link>http://www.tohir.co.za/2007/01/10/absolute-middle-in-css-images/</link>
		<comments>http://www.tohir.co.za/2007/01/10/absolute-middle-in-css-images/#comments</comments>
		<pubDate>Wed, 10 Jan 2007 08:10:00 +0000</pubDate>
		<dc:creator>Tohir</dc:creator>
				<category><![CDATA[HTML, CSS]]></category>

		<guid isPermaLink="false">http://tohir.co.za/?p=109</guid>
		<description><![CDATA[Just posting this as a quick reference. To achieve an absolute-middle position for images, just add the following style: style=&#8221;vertical-align: middle;&#8221; Being smarter, you could also &#60;img src=&#8221;..&#8221; class=&#8221;absmiddle&#8221; And then add to your stylesheet img.absmiddle { vertical-align: middle; } Lastly, here&#8217;s a signature based on CSS that I found funny. Positioning corrupts. Absolute positioning [...]]]></description>
			<content:encoded><![CDATA[<p>Just posting this as a quick reference. To achieve an absolute-middle position for images, just add the following style:</p>
<p><span style="font-family: courier new;">style=&#8221;vertical-align: middle;&#8221;</span></p>
<p>Being smarter, you could also</p>
<p><span style="font-family: courier new;">&lt;img src=&#8221;..&#8221; class=&#8221;absmiddle&#8221;</span></p>
<p>And then add to your stylesheet</p>
<p><span style="font-family: courier new;">img.absmiddle {</span><br />
<span style="font-family: courier new;"> vertical-align: middle;</span><br />
<span style="font-family: courier new;">}</span></p>
<p>Lastly, here&#8217;s a signature based on CSS that I found funny.</p>
<blockquote style="font-weight: bold; font-style: italic;"><p>Positioning corrupts.  Absolute positioning corrupts absolutely.</p></blockquote>
<p><map name='google_ad_map_109_d66c8ad2bfa7c2ab'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/109?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_109_d66c8ad2bfa7c2ab' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=109&amp;url= http%3A%2F%2Fwww.tohir.co.za%2F2007%2F01%2F10%2Fabsolute-middle-in-css-images%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.tohir.co.za/2007/01/10/absolute-middle-in-css-images/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
