<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Sanbor</title>
	
	<link>http://sanbor.name</link>
	<description>Web Inventor</description>
	<lastBuildDate>Thu, 21 Jan 2010 11:18:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Sanbor" /><feedburner:info uri="sanbor" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Three elements for success</title>
		<link>http://feedproxy.google.com/~r/Sanbor/~3/5NDMl0oziGA/</link>
		<comments>http://sanbor.name/2010/01/20/three-elements-for-success/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 23:57:38 +0000</pubDate>
		<dc:creator>Sanbor</dc:creator>
				<category><![CDATA[Off topic]]></category>

		<guid isPermaLink="false">http://sanbor.name/?p=332</guid>
		<description><![CDATA[
Consider this:
You have a place to go, that is the goal. You have a vehicle to go, that is the mean, and you will arrive/have done in X quantity of time.
So we have three variables in this problem. Vehicle, goal and time.
When you do a task, a work or a project, you always have this [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://sanbor.name/wp-content/uploads/2010/01/success.jpg"><img class="alignnone size-full wp-image-341" title="success" src="http://sanbor.name/wp-content/uploads/2010/01/success.jpg" alt="" width="600" height="400" /></a></p>
<p>Consider this:<br />
You have a place to go, that is the goal. You have a vehicle to go, that is the mean, and you will arrive/have done in X quantity of time.</p>
<p>So we have three variables in this problem. Vehicle, goal and time.</p>
<p>When you do a task, a work or a project, you always have this three elements, in weatherer situation.<span id="more-332"></span><br />
Maybe you need to fractionate the time, maybe you have multiple vehicles or various goals, buts always you have this parts.</p>
<p>Where I&#8217;m going with all this, OK, hold on.</p>
<p>I founded a common bug in this cycle. It&#8217;s really common to have diffuse some of this components. Yes, maybe you have a vehicle and a place to go, but you don&#8217;t care about how much time (or effort) you will need to go there.<br />
Or maybe you know the goal and the time, but you have no idea how go there.</p>
<p>So, think about this picture next time you will start something, and maybe you find more conscious to approach your goal.</p>
<img src="http://feeds.feedburner.com/~r/Sanbor/~4/5NDMl0oziGA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://sanbor.name/2010/01/20/three-elements-for-success/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://sanbor.name/2010/01/20/three-elements-for-success/</feedburner:origLink></item>
		<item>
		<title>Happy new year!</title>
		<link>http://feedproxy.google.com/~r/Sanbor/~3/r6gRXVjkhI0/</link>
		<comments>http://sanbor.name/2009/12/27/happy-new-year/#comments</comments>
		<pubDate>Sun, 27 Dec 2009 23:58:02 +0000</pubDate>
		<dc:creator>Sanbor</dc:creator>
				<category><![CDATA[Off topic]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[extensions]]></category>
		<category><![CDATA[personal]]></category>
		<category><![CDATA[resources]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://sanbor.name/?p=320</guid>
		<description><![CDATA[I want to give my best wishes for this incoming year to everybody. Peace, hope and happiness.
And as gift (so exciting as that underwear from your grandma) I recompiled some great Google Chrome extensions that I founded.


AdThwart
Adblock alike, the most wanted extension for Chrome.


Chrome Flags
Really handy for web developers and curious users. Show the country flag of [...]]]></description>
			<content:encoded><![CDATA[<p>I want to give my best wishes for this incoming year to everybody. <a href="http://www.google.com/search?q=peace">Peace</a>, <a href="http://www.google.com/search?q=hope">hope</a> and <a href="http://www.google.com/search?q=happiness">happiness</a>.</p>
<p>And as gift (so exciting as that underwear from your grandma) I recompiled some great Google Chrome extensions that I founded.</p>
<ol>
<li>
<a href="https://chrome.google.com/extensions/detail/cfhdojbkjhnklbpkdaibdccddilifddb">AdThwart</a></p>
<p><em>Adblock alike, the most wanted extension for Chrome.</em>
</li>
<li>
<a href="https://chrome.google.com/extensions/detail/jhejngphiacapbgllhagbpdkkdieeaej">Chrome Flags</a></p>
<p><em>Really handy for web developers and curious users. Show the country flag of the server location, also give the IP and other great information.</em>
</li>
<li>
<a href="https://chrome.google.com/extensions/detail/bhmmomiinigofkjcapegjjndpbikblnp">WOT</a></p>
<p><em>WOT (Web of trust), is about how secure is the website you&#8217;re visiting. Simple and useful.</em>
</li>
<li>
<a href="https://chrome.google.com/extensions/detail/dgpdioedihjhncjafcpgbbjdpbbkikmi">Speed Dial</a></p>
<p><em>Want to personalize the home page? Speed Dial is for you!</em>
</li>
</ol>
<p>That&#8217;s all, enjoy it.</p>
<p>I only put my favorite extensions, I don&#8217;t like mumbo-jumbo lists. If you have some other, just comment about it.<br />
Oh, and I hope to redesign this blog in few weeks, so stay tuned.</p>
<p>Again, best wishes for you in <strong>2010</strong> .</p>
<img src="http://feeds.feedburner.com/~r/Sanbor/~4/r6gRXVjkhI0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://sanbor.name/2009/12/27/happy-new-year/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://sanbor.name/2009/12/27/happy-new-year/</feedburner:origLink></item>
		<item>
		<title>.htaccess redirect to a new domain</title>
		<link>http://feedproxy.google.com/~r/Sanbor/~3/yQFbTLjNCyY/</link>
		<comments>http://sanbor.name/2009/11/27/htaccess-redirect-to-a-new-domain/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 11:37:50 +0000</pubDate>
		<dc:creator>Sanbor</dc:creator>
				<category><![CDATA[Snippets]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[server side]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://sanbor.name/?p=311</guid>
		<description><![CDATA[I post this little snippet because isn&#8217;t easy for me to found it. Here is.
[plain]RewriteEngine on
RewriteCond %{HTTP_HOST} ^([^.:]+\.)*oldwebsite\.com\.?(:[0-9]*)?$ [NC]
RewriteRule ^(.*)$ http://www.preferredwebsite.net/$1 [R=301,L][/plain]
Thanks Wikipedia!
]]></description>
			<content:encoded><![CDATA[<p>I post this little snippet because isn&#8217;t easy for me to found it. Here is.<br />
[plain]RewriteEngine on</p>
<p>RewriteCond %{HTTP_HOST} ^([^.:]+\.)*oldwebsite\.com\.?(:[0-9]*)?$ [NC]<br />
RewriteRule ^(.*)$ http://www.preferredwebsite.net/$1 [R=301,L][/plain]</p>
<p>Thanks <a href="http://en.wikipedia.org/wiki/URL_redirection#Using_.htaccess_for_redirection">Wikipedia</a>!</p>
<img src="http://feeds.feedburner.com/~r/Sanbor/~4/yQFbTLjNCyY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://sanbor.name/2009/11/27/htaccess-redirect-to-a-new-domain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://sanbor.name/2009/11/27/htaccess-redirect-to-a-new-domain/</feedburner:origLink></item>
		<item>
		<title>Flash CS4 Crashes on Windows</title>
		<link>http://feedproxy.google.com/~r/Sanbor/~3/y9HhjmZyyiU/</link>
		<comments>http://sanbor.name/2009/11/04/flash-cs4-and-windows-7/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 22:25:10 +0000</pubDate>
		<dc:creator>Sanbor</dc:creator>
				<category><![CDATA[Snippets]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://sanbor.name/?p=303</guid>
		<description><![CDATA[UPDATE: I had the same problem in Windows XP, apparently it&#8217;s a problem in some updated library.
I installed the new Windows 7 and I found problems when publish to SWF (the Flash closes).
The solution, install the last update.
]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATE: I had the same problem in Windows XP, apparently it&#8217;s a problem in some updated library.</strong></p>
<p>I installed the new Windows 7 and I found problems when publish to SWF (the Flash closes).</p>
<p>The solution, install <a href="http://www.adobe.com/support/flash/downloads.html#flashcs4_10.0.2update">the last update</a>.</p>
<img src="http://feeds.feedburner.com/~r/Sanbor/~4/y9HhjmZyyiU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://sanbor.name/2009/11/04/flash-cs4-and-windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://sanbor.name/2009/11/04/flash-cs4-and-windows-7/</feedburner:origLink></item>
		<item>
		<title>MySQL Date time Regex</title>
		<link>http://feedproxy.google.com/~r/Sanbor/~3/EHsA3grcFfs/</link>
		<comments>http://sanbor.name/2009/09/30/mysql-date-time-regex/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 17:30:21 +0000</pubDate>
		<dc:creator>Sanbor</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[regex]]></category>

		<guid isPermaLink="false">http://sanbor.name/?p=281</guid>
		<description><![CDATA[This regex validates only MySQL Datetime format.
[js]^[0-9]{4}-(((0[13578]&#124;(10&#124;12))-(0[1-9]&#124;[1-2][0-9]&#124;3[0-1]))&#124;(02-(0[1-9]&#124;[1-2][0-9]))&#124;((0[469]&#124;11)-(0[1-9]&#124;[1-2][0-9]&#124;30)))(T&#124;\s)(([0-1][0-9])&#124;(2[0-3])):([0-5][0-9]):([0-5][0-9])$[/js]
Matches 2009-01-01 23:59:59; 2009-03-31 14:59:59; 0000-01-01 00:00:00
Don't matches 2009/03/31 24:30:00; 2009-30-01 10:30:00AM; 0000-00-00 00:00:00
With time as optional
[js]([0-9]{4}-(((0[13578]&#124;(10&#124;12))-(0[1-9]&#124;[1-2][0-9]&#124;3[0-1]))&#124;(02-(0[1-9]&#124;[1-2][0-9]))&#124;((0[469]&#124;11)-(0[1-9]&#124;[1-2][0-9]&#124;30)))(T&#124;\s)(([0-1][0-9])&#124;(2[0-3])):([0-5][0-9]):([0-5][0-9]))&#124;[0-9]{4}-(((0[13578]&#124;(10&#124;12))-(0[1-9]&#124;[1-2][0-9]&#124;3[0-1]))&#124;(02-(0[1-9]&#124;[1-2][0-9]))&#124;((0[469]&#124;11)-(0[1-9]&#124;[1-2][0-9]&#124;30)))[/js]
Matches 2009-01-01; 2009-03-31 14:59:59
Don't matches 24:30:00
You can do a quick test in RegexPal.
]]></description>
			<content:encoded><![CDATA[<p>This regex validates only MySQL Datetime format.</p>
<p>[js]^[0-9]{4}-(((0[13578]|(10|12))-(0[1-9]|[1-2][0-9]|3[0-1]))|(02-(0[1-9]|[1-2][0-9]))|((0[469]|11)-(0[1-9]|[1-2][0-9]|30)))(T|\s)(([0-1][0-9])|(2[0-3])):([0-5][0-9]):([0-5][0-9])$[/js]</p>
<pre><span style="color: #99cc00;"><strong><span style="color: #808000;">Matches</span></strong> 2009-01-01 23:59:59; 2009-03-31 14:59:59; 0000-01-01 00:00:00</span></pre>
<pre><span style="color: #ff0000;"><strong><span style="color: #993300;">Don't matches</span></strong> 2009/03/31 24:30:00; 2009-30-01 10:30:00AM; 0000-00-00 00:00:00</span></pre>
<h3>With time as optional</h3>
<p>[js]([0-9]{4}-(((0[13578]|(10|12))-(0[1-9]|[1-2][0-9]|3[0-1]))|(02-(0[1-9]|[1-2][0-9]))|((0[469]|11)-(0[1-9]|[1-2][0-9]|30)))(T|\s)(([0-1][0-9])|(2[0-3])):([0-5][0-9]):([0-5][0-9]))|[0-9]{4}-(((0[13578]|(10|12))-(0[1-9]|[1-2][0-9]|3[0-1]))|(02-(0[1-9]|[1-2][0-9]))|((0[469]|11)-(0[1-9]|[1-2][0-9]|30)))[/js]</p>
<pre><span style="color: #99cc00;"><strong><span style="color: #808000;">Matches</span></strong> 2009-01-01; 2009-03-31 14:59:59</span></pre>
<pre><span style="color: #ff0000;"><strong><span style="color: #993300;">Don't matches</span></strong> 24:30:00</span></pre>
<p>You can do a quick test in <a href="http://regexpal.com/">RegexPal</a>.</p>
<img src="http://feeds.feedburner.com/~r/Sanbor/~4/EHsA3grcFfs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://sanbor.name/2009/09/30/mysql-date-time-regex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://sanbor.name/2009/09/30/mysql-date-time-regex/</feedburner:origLink></item>
		<item>
		<title>Are you happy?</title>
		<link>http://feedproxy.google.com/~r/Sanbor/~3/vIkeikbSWzI/</link>
		<comments>http://sanbor.name/2009/09/08/what-you-know-about-hapiness/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 15:02:43 +0000</pubDate>
		<dc:creator>Sanbor</dc:creator>
				<category><![CDATA[Off topic]]></category>
		<category><![CDATA[lifestyle]]></category>
		<category><![CDATA[motivation]]></category>

		<guid isPermaLink="false">http://sanbor.name/?p=273</guid>
		<description><![CDATA[Like the vitamin D, you can synthesize the happiness

Source: http://www.ted.com/talks/lang/eng/dan_gilbert_asks_why_are_we_happy.html
Youtube mirror: http://www.youtube.com/watch?v=LTO_dZUvbJA
Another increidible talk of the same author is this:
Dan Gilbert on our mistaken expectations

Source: http://www.ted.com/talks/lang/eng/dan_gilbert_researches_happiness.html
Youtube mirror: http://www.youtube.com/watch?v=c-4flnuxNV4
]]></description>
			<content:encoded><![CDATA[<p>Like the vitamin D, you can synthesize the happiness</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="334" height="326" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="wmode" value="transparent" /><param name="bgColor" value="#ffffff" /><param name="flashvars" value="vu=http://video.ted.com/talks/embed/DanGilbert_2004-embed_high.flv&amp;su=http://images.ted.com/images/ted/tedindex/embed-posters/DanGilbert-2004.embed_thumbnail.jpg&amp;vw=320&amp;vh=240&amp;ap=0&amp;ti=97" /><param name="src" value="http://video.ted.com/assets/player/swf/EmbedPlayer.swf" /><param name="bgcolor" value="#ffffff" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="334" height="326" src="http://video.ted.com/assets/player/swf/EmbedPlayer.swf" flashvars="vu=http://video.ted.com/talks/embed/DanGilbert_2004-embed_high.flv&amp;su=http://images.ted.com/images/ted/tedindex/embed-posters/DanGilbert-2004.embed_thumbnail.jpg&amp;vw=320&amp;vh=240&amp;ap=0&amp;ti=97" bgcolor="#ffffff" wmode="transparent" allowfullscreen="true"></embed></object></p>
<p><span id="more-273"></span>Source: <a title="Dan Gilbert asks, Why are we happy?" href="http://www.ted.com/talks/lang/eng/dan_gilbert_asks_why_are_we_happy.html">http://www.ted.com/talks/lang/eng/dan_gilbert_asks_why_are_we_happy.html</a></p>
<p>Youtube mirror: <a title="Dan Gilbert asks, Why are we happy?" href="http://www.youtube.com/watch?v=LTO_dZUvbJA">http://www.youtube.com/watch?v=LTO_dZUvbJA</a></p>
<p>Another increidible talk of the same author is this:</p>
<h2>Dan Gilbert on our mistaken expectations</h2>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="334" height="326" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="wmode" value="transparent" /><param name="bgColor" value="#ffffff" /><param name="flashvars" value="vu=http://video.ted.com/talks/embed/DanGilbert_2005G-embed_high.flv&amp;su=http://images.ted.com/images/ted/tedindex/embed-posters/DanGilbert-2005G.embed_thumbnail.jpg&amp;vw=320&amp;vh=240&amp;ap=0&amp;ti=420" /><param name="src" value="http://video.ted.com/assets/player/swf/EmbedPlayer.swf" /><param name="bgcolor" value="#ffffff" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="334" height="326" src="http://video.ted.com/assets/player/swf/EmbedPlayer.swf" flashvars="vu=http://video.ted.com/talks/embed/DanGilbert_2005G-embed_high.flv&amp;su=http://images.ted.com/images/ted/tedindex/embed-posters/DanGilbert-2005G.embed_thumbnail.jpg&amp;vw=320&amp;vh=240&amp;ap=0&amp;ti=420" bgcolor="#ffffff" wmode="transparent" allowfullscreen="true"></embed></object></p>
<p>Source: <a title="Dan Gilbert on our mistaken expectations" href="http://www.ted.com/talks/lang/eng/dan_gilbert_researches_happiness.html">http://www.ted.com/talks/lang/eng/dan_gilbert_researches_happiness.html</a></p>
<p>Youtube mirror: <a title="Dan Gilbert on our mistaken expectations" href="http://www.youtube.com/watch?v=c-4flnuxNV4">http://www.youtube.com/watch?v=c-4flnuxNV4</a></p>
<img src="http://feeds.feedburner.com/~r/Sanbor/~4/vIkeikbSWzI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://sanbor.name/2009/09/08/what-you-know-about-hapiness/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://sanbor.name/2009/09/08/what-you-know-about-hapiness/</feedburner:origLink></item>
		<item>
		<title>Writing in social way</title>
		<link>http://feedproxy.google.com/~r/Sanbor/~3/tOcQhczpu8w/</link>
		<comments>http://sanbor.name/2009/08/28/writing-in-social-way/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 15:49:11 +0000</pubDate>
		<dc:creator>Sanbor</dc:creator>
				<category><![CDATA[Off topic]]></category>

		<guid isPermaLink="false">http://sanbor.name/?p=264</guid>
		<description><![CDATA[In the old offline times, when you read a newspaper for example, you can&#8217;t say something to the other readers or tell to the author of the article your point of view.
However, in this social connected world, now We can do this in a variety of ways.
But we still writing in old school way sometimes. [...]]]></description>
			<content:encoded><![CDATA[<p>In the old offline times, when you read a newspaper for example, you can&#8217;t say something to the other readers or tell to the author of the article your point of view.</p>
<p>However, in this social connected world, now We can do this in a variety of ways.</p>
<p>But we still writing in old school way sometimes. First, don&#8217;t talk to the mass, talk directly to your reader. Yes, because now read something is chat-alike. I&#8217;m talking to you, my dear reader, and later you read my message, you can reply, and later I can reply too.</p>
<p>That is the new paradigm in the blogs, twitter, and every social site. <strong>Multi-directional communication</strong>. So move it to write in this way, do you think?</p>
<img src="http://feeds.feedburner.com/~r/Sanbor/~4/tOcQhczpu8w" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://sanbor.name/2009/08/28/writing-in-social-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://sanbor.name/2009/08/28/writing-in-social-way/</feedburner:origLink></item>
		<item>
		<title>YUI CSS Footer at the bottom</title>
		<link>http://feedproxy.google.com/~r/Sanbor/~3/thOP1O2yVeY/</link>
		<comments>http://sanbor.name/2009/08/16/yui-css-footer-at-the-bottom/#comments</comments>
		<pubDate>Sun, 16 Aug 2009 14:31:54 +0000</pubDate>
		<dc:creator>Sanbor</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[grids]]></category>
		<category><![CDATA[yui]]></category>

		<guid isPermaLink="false">http://sanbor.name/?p=253</guid>
		<description><![CDATA[I use YUI CSS grids to build templates. So this time I need to stick the footer at the botoom, and I tried some techniques, but I need to do an hybrid of these to find the solution.

Here is the code.
[css]
&#60;html xmlns=&#34;http://www.w3.org/1999/xhtml&#34; xml:lang=&#34;en&#34; lang=&#34;en&#34;&#62;
&#60;head&#62;
&#60;title&#62;YUI CSS Footer in botom&#60;/title&#62;
&#60;meta http-equiv=&#34;content-type&#34; content=&#34;text/html; charset=utf-8&#34; /&#62;
&#60;link rel=&#34;stylesheet&#34; type=&#34;text/css&#34;
href=&#34;http://yui.yahooapis.com/2.7.0/build/reset-fonts-grids/reset-fonts-grids.css&#34; /&#62;
&#60;link [...]]]></description>
			<content:encoded><![CDATA[<p>I use YUI CSS grids to build templates. So this time I need to stick the footer at the botoom, and I tried some techniques, but I need to do an hybrid of these to find the solution.</p>
<p><span id="more-253"></span></p>
<h3>Here is the code.</h3>
<p>[css]<br />
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot; lang=&quot;en&quot;&gt;<br />
&lt;head&gt;<br />
&lt;title&gt;YUI CSS Footer in botom&lt;/title&gt;<br />
&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;<br />
&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot;</p>
<p>href=&quot;http://yui.yahooapis.com/2.7.0/build/reset-fonts-grids/reset-fonts-grids.css&quot; /&gt;<br />
&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot;</p>
<p>href=&quot;http://yui.yahooapis.com/2.7.0/build/base/base-min.css&quot; /&gt;<br />
&lt;style type=&quot;text/css&quot;&gt;<br />
/*&lt;![CDATA[*/<br />
html, body<br />
{<br />
  margin:0;<br />
  padding:0;<br />
  height:100%;<br />
}<br />
#doc3<br />
{<br />
  background:gray;<br />
  position: relative;<br />
  min-height: 100%;<br />
  height: auto !important;<br />
  height: 100%;<br />
  width:auto;<br />
  margin: -61px auto 0 auto;<br />
  padding-bottom: 61px;<br />
}<br />
#hd<br />
{<br />
  padding-top: 61px;<br />
  margin:0 auto;<br />
  width: 900px;<br />
}<br />
#bd<br />
{<br />
  background:orange;<br />
  margin:0 auto;<br />
  width: 900px;<br />
}<br />
#ft<br />
{<br />
  background:blue;<br />
  position: absolute;<br />
  bottom: 0 !important;<br />
  bottom: -1px; /*For IE */<br />
  width:100%;<br />
  height:61px;<br />
}<br />
/*]]&gt;*/<br />
&lt;/style&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;div id=&quot;doc3&quot; class=&quot;yui-t7&quot;&gt;<br />
   &lt;div id=&quot;hd&quot; role=&quot;banner&quot;&gt;&lt;h1&gt;Header&lt;/h1&gt;&lt;/div&gt;<br />
   &lt;div id=&quot;bd&quot; role=&quot;main&quot;&gt;<br />
	&lt;div class=&quot;yui-g&quot;&gt;<br />
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas sit amet metus. Nunc quam</p>
<p>elit, posuere nec, auctor in, rhoncus quis, dui. Aliquam erat volutpat. Ut dignissim, massa</p>
<p>sit amet dignissim cursus, quam lacus feugiat.&lt;/div&gt;</p>
<p>	&lt;/div&gt;<br />
   &lt;div id=&quot;ft&quot; role=&quot;contentinfo&quot;&gt;&lt;p&gt;Footer&lt;/p&gt;&lt;/div&gt;<br />
&lt;/div&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;<br />
[/css]</p>
<p>You can view this technique in this <a href="http://highost.net">working website</a>.</p>
<img src="http://feeds.feedburner.com/~r/Sanbor/~4/thOP1O2yVeY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://sanbor.name/2009/08/16/yui-css-footer-at-the-bottom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://sanbor.name/2009/08/16/yui-css-footer-at-the-bottom/</feedburner:origLink></item>
		<item>
		<title>Ajax logins: why?</title>
		<link>http://feedproxy.google.com/~r/Sanbor/~3/yAVdvmq4SKc/</link>
		<comments>http://sanbor.name/2009/08/05/ajax-logins-why/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 02:11:54 +0000</pubDate>
		<dc:creator>Sanbor</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[good practices]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[server side]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://sanbor.name/?p=236</guid>
		<description><![CDATA[I&#8217;m starting this new blog with this little suggestion: avoid ajax logins.
Ajax it&#8217;s really cool and handy, I know, but for a login page only can be useful in very particular cases. In the rest, only helps to save time to the hackers when do brute force on your site.
How works an ajax login?

The users fills [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m starting this new blog with this little suggestion: a<span><strong>void ajax logins.</strong></span></p>
<p>Ajax it&#8217;s really cool and handy, I know, but for a login page only can be useful in very particular cases. In the rest, only helps to save time to the hackers when do brute force on your site.</p>
<h2>How works an ajax login?</h2>
<ol>
<li>The users fills the login form and press the submit button.</li>
<li>The browser sends an <a href="http://en.wikipedia.org/wiki/Ajax_(programming)">asynchronous  request</a>, via POST or GET.</li>
<li>The server responses if the login it&#8217;s Ok or wrong, usually with an string or Json.</li>
<li>If the login it&#8217;s Ok, the server sets a cookie with the user info (usually the user id) and the Javascript redirects to the user home.</li>
<li>If the login fails, shows an error messages and the process starts again.</li>
</ol>
<h2>Why avoid it?</h2>
<ol>
<li><del datetime="2009-08-10T04:23:42+00:00">First of all, doesn&#8217;t work on IE8, because its don&#8217;t allow to write a cookie in async request.</del>Actually works, that issue was in the beta version.</li>
<li>In the most cases, if the login is ok you will redirect to other page, so the only adventage of an ajax login is save some seconds saying &#8220;login error&#8221; more fast than reloads the website.</li>
<li>Is not accesible (the user must have activated javascript and they browsers need to support ajax).</li>
<li>You need to develop and test more for no advantages</li>
<li>Isn&#8217;t <a href="http://en.wikipedia.org/wiki/KISS_principle">KISS</a> ! More unnecessary complex, more problems!</li>
</ol>
<img src="http://feeds.feedburner.com/~r/Sanbor/~4/yAVdvmq4SKc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://sanbor.name/2009/08/05/ajax-logins-why/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://sanbor.name/2009/08/05/ajax-logins-why/</feedburner:origLink></item>
	</channel>
</rss>
