<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.9.2" -->
<rss version="0.92">
<channel>
	<title>stoimen.com/blog</title>
	<link>http://www.stoimen.com/blog</link>
	<description>web developing</description>
	<lastBuildDate>Thu, 11 Mar 2010 14:58:28 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>CSS Priority: The Difference Between a.my-class and .my-class</title>
		<description><![CDATA[Do You Know What&#8217;s an Inefficient CSS Selector?
Perhaps! I was curious how can inefficient selectors impact a page performance. To begin with this topic let me say that inefficient selector is referred usually as nested selector:

div span div &#123;
    border:1px solid red;
&#125;

as you can see here there are three nested tags I [...]


Related posts:<ol><li><a href='http://www.stoimen.com/blog/2010/02/04/css-effective-selector/' rel='bookmark' title='Permanent Link: CSS effective selector'>CSS effective selector</a></li>
<li><a href='http://www.stoimen.com/blog/2010/02/15/css-selectors-new-look-over-them/' rel='bookmark' title='Permanent Link: CSS selectors &#8211; new look over them'>CSS selectors &#8211; new look over them</a></li>
<li><a href='http://www.stoimen.com/blog/2010/01/30/optimizing-css-five-simple-steps/' rel='bookmark' title='Permanent Link: Optimizing CSS. Five simple steps!'>Optimizing CSS. Five simple steps!</a></li>
</ol>]]></description>
		<link>http://www.stoimen.com/blog/2010/03/11/css-priority-the-difference-between-a-my-class-and-my-class/</link>
			</item>
	<item>
		<title>HTML Tag Semantics. STRONG vs. B!</title>
		<description><![CDATA[Do You Use LABEL?
Have you ever mentioned the existence of the LABEL tag? Have you ever used it? I guess the majority of us don&#8217;t. Let&#8217;s take a look of the following chunk of code:

&#60;label&#62;username:&#60;/label&#62; &#60;input type=&#34;text&#34; name=&#34;username&#34; /&#62;

It looks familiar to every web developer, but the most common usage in web forms is:

&#60;div&#62;username:&#60;/div&#62;

or

&#60;span&#62;username:&#60;/span&#62;

How Looks [...]


Related posts:<ol><li><a href='http://www.stoimen.com/blog/2010/01/07/object-forget-about-embed-tag/' rel='bookmark' title='Permanent Link: OBJECT &#038; &#8230; forget about EMBED tag!'>OBJECT &#038; &#8230; forget about EMBED tag!</a></li>
<li><a href='http://www.stoimen.com/blog/2009/02/22/html-object-and-embed-tags/' rel='bookmark' title='Permanent Link: Html object &#038; embed tags'>Html object &#038; embed tags</a></li>
<li><a href='http://www.stoimen.com/blog/2010/01/12/faster-html-why-not/' rel='bookmark' title='Permanent Link: Faster HTML! Why not?'>Faster HTML! Why not?</a></li>
</ol>]]></description>
		<link>http://www.stoimen.com/blog/2010/03/11/html-tag-semantics-strong-vs-b/</link>
			</item>
	<item>
		<title>Change the Viewport, be Ready for the iPhone!</title>
		<description><![CDATA[Sites for mobile
Have you ever noticed that once you start designing a site for mobile, as iPhone and Nexus One from Google are, the site is looking really ugly! These two devices in particular, as may other using Opera Mini for instance, scale the site, because only than you can view the entire layout and [...]


Related posts:<ol><li><a href='http://www.stoimen.com/blog/2010/01/31/speed-up-the-javascript-it-can-change-dramatically-the-user-experience/' rel='bookmark' title='Permanent Link: Speed up the JavaScript. It can change dramatically the user experience.'>Speed up the JavaScript. It can change dramatically the user experience.</a></li>
<li><a href='http://www.stoimen.com/blog/2010/03/09/php-detecting-mobile-device/' rel='bookmark' title='Permanent Link: PHP: detecting mobile device'>PHP: detecting mobile device</a></li>
<li><a href='http://www.stoimen.com/blog/2010/02/12/css-border-radius-vs-images/' rel='bookmark' title='Permanent Link: CSS border-radius vs. images!'>CSS border-radius vs. images!</a></li>
</ol>]]></description>
		<link>http://www.stoimen.com/blog/2010/03/10/change-the-viewport-be-ready-for-the-iphone/</link>
			</item>
	<item>
		<title>PHP if-else-endif Statements</title>
		<description><![CDATA[PHP: if
A typical web developer knows exactly how a PHP if statement looks like:

   if &#40; expression &#41; &#123;
      // if the expression was true proceed here
   &#125; else &#123;
      // there was a false expression
  &#125;

HTML mess with PHP
When [...]


Related posts:<ol><li><a href='http://www.stoimen.com/blog/2010/02/07/javascript-optimization-optimizing-if-statements/' rel='bookmark' title='Permanent Link: JavaScript optimization. Optimizing IF statements.'>JavaScript optimization. Optimizing IF statements.</a></li>
<li><a href='http://www.stoimen.com/blog/2010/03/09/php-detecting-mobile-device/' rel='bookmark' title='Permanent Link: PHP: detecting mobile device'>PHP: detecting mobile device</a></li>
<li><a href='http://www.stoimen.com/blog/2010/01/12/faster-html-why-not/' rel='bookmark' title='Permanent Link: Faster HTML! Why not?'>Faster HTML! Why not?</a></li>
</ol>]]></description>
		<link>http://www.stoimen.com/blog/2010/03/10/php-if-else-endif-statements/</link>
			</item>
	<item>
		<title>PHP: detecting mobile device</title>
		<description><![CDATA[HTTP_USER_AGENT
Beside that most of the responses of $_SERVER['HTTP_USER_AGENT'] may return, it appears that this is the most reliable way to track down a user agent with PHP. It is weird that most of the clients, i.e. Safari and Chrome will return something with Mozilla in it&#8217;s strings, but however it&#8217;s enough to track the &#8220;chrome&#8221; [...]


Related posts:<ol><li><a href='http://www.stoimen.com/blog/2010/03/10/change-the-viewport-be-ready-for-the-iphone/' rel='bookmark' title='Permanent Link: Change the Viewport, be Ready for the iPhone!'>Change the Viewport, be Ready for the iPhone!</a></li>
<li><a href='http://www.stoimen.com/blog/2009/07/04/jquery-os-detection/' rel='bookmark' title='Permanent Link: jQuery OS detection'>jQuery OS detection</a></li>
<li><a href='http://www.stoimen.com/blog/2010/02/24/storing-javascript-objects-in-html5-localstorage/' rel='bookmark' title='Permanent Link: Storing JavaScript objects in html5 localStorage'>Storing JavaScript objects in html5 localStorage</a></li>
</ol>]]></description>
		<link>http://www.stoimen.com/blog/2010/03/09/php-detecting-mobile-device/</link>
			</item>
	<item>
		<title>What make JavaScript closures work?</title>
		<description><![CDATA[Closures again
Most of the JavaScript developer don&#8217;t even know what a JS closure is and that&#8217;s why Crockfrod is so angry. Yes, it&#8217;s true, most of the &#8220;developers&#8221; just copy and paste the code without even know how it works. OK, just in breve the closure is an anonymous function, which thus helps you define [...]


Related posts:<ol><li><a href='http://www.stoimen.com/blog/2009/07/08/javascript-closures-in-brief/' rel='bookmark' title='Permanent Link: JavaScript closures in brief'>JavaScript closures in brief</a></li>
<li><a href='http://www.stoimen.com/blog/2009/11/13/writing-a-jquery-plugin-part-1-good-practices/' rel='bookmark' title='Permanent Link: Writing a jQuery plugin &#8211; (part 1). Good practices!'>Writing a jQuery plugin &#8211; (part 1). Good practices!</a></li>
<li><a href='http://www.stoimen.com/blog/2010/02/03/firebugs-console-profile-vs-console-time/' rel='bookmark' title='Permanent Link: Firebug&#8217;s console.profile vs console.time'>Firebug&#8217;s console.profile vs console.time</a></li>
</ol>]]></description>
		<link>http://www.stoimen.com/blog/2010/03/09/what-make-javascript-closures-work/</link>
			</item>
	<item>
		<title>CSS right to left direction &amp; floating elements</title>
		<description><![CDATA[direction:rtl
When developing a website for Arabic one of the most common questions is how to get it work with a reverse direction. Actually there is the CSS property direction:

.my-class &#123;
    direction:rtl;
&#125;

which makes the page right aligned.
Floating elements &#8230;
However sometimes there are elements on the page which are absolutely positioned and the direction [...]


Related posts:<ol><li><a href='http://www.stoimen.com/blog/2009/11/10/jquery-css-functions-part-1-offset/' rel='bookmark' title='Permanent Link: jQuery CSS functions. Part 1 &#8211; offset()'>jQuery CSS functions. Part 1 &#8211; offset()</a></li>
<li><a href='http://www.stoimen.com/blog/2009/11/04/jquery-css-selectors-change-one-or-more-css-properties/' rel='bookmark' title='Permanent Link: jQuery CSS selectors. Change one or more CSS properties!'>jQuery CSS selectors. Change one or more CSS properties!</a></li>
<li><a href='http://www.stoimen.com/blog/2010/02/05/css-sprites-go-beyond-the-limits-with-base64/' rel='bookmark' title='Permanent Link: CSS sprites. Go beyond the limits with base64!'>CSS sprites. Go beyond the limits with base64!</a></li>
</ol>]]></description>
		<link>http://www.stoimen.com/blog/2010/03/08/css-right-to-left-direction-floating-elements/</link>
			</item>
	<item>
		<title>Video sites must use &#8230; mp4 and only mp4!</title>
		<description><![CDATA[H.264
Yes it may sound strange, but now with the upcoming HTML5 features every browser again is playing its own game. Firefox and Opera support only OGG Theora, Chrome and Safari only MP4 and what about IE .. it doesn&#8217;t support anything. Than why should we convert to mp4 with h.264 codec?
Because everybody is playing flash
And [...]


Related posts:<ol><li><a href='http://www.stoimen.com/blog/2010/03/04/does-firefox-play-mp4-h-264-within-the-html5-video-tag/' rel='bookmark' title='Permanent Link: Does Firefox play mp4 h.264 within the HTML5 video tag?'>Does Firefox play mp4 h.264 within the HTML5 video tag?</a></li>
<li><a href='http://www.stoimen.com/blog/2010/01/23/youtube-and-vimeo-goes-html5-with-video-tag-usage-catch-them-up/' rel='bookmark' title='Permanent Link: YouTube and Vimeo goes HTML5 with video tag usage! Catch them up!'>YouTube and Vimeo goes HTML5 with video tag usage! Catch them up!</a></li>
<li><a href='http://www.stoimen.com/blog/2010/02/26/html5-video-support-detecting-playing-and-progressive-enhancement/' rel='bookmark' title='Permanent Link: HTML5 video support. Detecting, playing and progressive enhancement!'>HTML5 video support. Detecting, playing and progressive enhancement!</a></li>
</ol>]]></description>
		<link>http://www.stoimen.com/blog/2010/03/05/video-sites-must-use-mp4-and-only-mp4/</link>
			</item>
	<item>
		<title>Does Firefox play mp4 h.264 within the HTML5 video tag?</title>
		<description><![CDATA[As Firefox has declared it will play only open formats within the HTML5 video tag support. But however is there any way to play video with the mp4 h.264 codec under FF with no plugin support?
That is the question.


Related posts:Video sites must use &#8230; mp4 and only mp4!
HTML5 video support. Detecting, playing and progressive enhancement!
YouTube [...]


Related posts:<ol><li><a href='http://www.stoimen.com/blog/2010/03/05/video-sites-must-use-mp4-and-only-mp4/' rel='bookmark' title='Permanent Link: Video sites must use &#8230; mp4 and only mp4!'>Video sites must use &#8230; mp4 and only mp4!</a></li>
<li><a href='http://www.stoimen.com/blog/2010/02/26/html5-video-support-detecting-playing-and-progressive-enhancement/' rel='bookmark' title='Permanent Link: HTML5 video support. Detecting, playing and progressive enhancement!'>HTML5 video support. Detecting, playing and progressive enhancement!</a></li>
<li><a href='http://www.stoimen.com/blog/2010/01/23/youtube-and-vimeo-goes-html5-with-video-tag-usage-catch-them-up/' rel='bookmark' title='Permanent Link: YouTube and Vimeo goes HTML5 with video tag usage! Catch them up!'>YouTube and Vimeo goes HTML5 with video tag usage! Catch them up!</a></li>
</ol>]]></description>
		<link>http://www.stoimen.com/blog/2010/03/04/does-firefox-play-mp4-h-264-within-the-html5-video-tag/</link>
			</item>
	<item>
		<title>JavaScript inheritance example</title>
		<description><![CDATA[JavaScript and inheritance
Almost for everybody the JavaScript way of implementing inheritance is odd. For a typical programmer it should look more C or Java like, but is not. However to give you a breve example, I&#8217;d like to make two objects, and to make the second one to inherit from the first. Thus I&#8217;d like [...]


Related posts:<ol><li><a href='http://www.stoimen.com/blog/2009/07/08/javascript-closures-in-brief/' rel='bookmark' title='Permanent Link: JavaScript closures in brief'>JavaScript closures in brief</a></li>
<li><a href='http://www.stoimen.com/blog/2010/02/01/writing-a-jquery-plugin-part-2-sample-plugin/' rel='bookmark' title='Permanent Link: Writing a jQuery plugin &#8211; (part 2). Sample plugin.'>Writing a jQuery plugin &#8211; (part 2). Sample plugin.</a></li>
<li><a href='http://www.stoimen.com/blog/2010/02/02/profiling-javascript-with-firebug-console-profile-console-time/' rel='bookmark' title='Permanent Link: Profiling JavaScript with Firebug. console.profile() &#038; console.time()!'>Profiling JavaScript with Firebug. console.profile() &#038; console.time()!</a></li>
</ol>]]></description>
		<link>http://www.stoimen.com/blog/2010/03/02/javascript-inheritance-example/</link>
			</item>
</channel>
</rss>
