<?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>Mozilla &#8211; stoimen&#039;s web log</title>
	<atom:link href="/tag/mozilla/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>on web development</description>
	<lastBuildDate>Tue, 13 Feb 2018 08:18:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.0.3</generator>
	<item>
		<title>Vendor Prefixes in CSS</title>
		<link>/2010/03/27/vendor-prefixes-in-css/</link>
		<comments>/2010/03/27/vendor-prefixes-in-css/#respond</comments>
		<pubDate>Sat, 27 Mar 2010 16:36:43 +0000</pubDate>
		<dc:creator><![CDATA[Stoimen]]></dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[Cascading Style Sheets]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Free software]]></category>
		<category><![CDATA[FTP clients]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Web design]]></category>
		<category><![CDATA[World Wide Web]]></category>

		<guid isPermaLink="false">/?p=1400</guid>
		<description><![CDATA[Vendor Prefixes vs CSS3 Either are bad, because vendor prefixes work on specific browsers, while CSS3 is not implemented fully by those browsers. When talking about vendor prefixes in CSS, let me tell you in breve, what&#8217;s this. If you&#8217;d like to make rounded corner under Mozilla Firefox, you usually use a background image, but &#8230; <a href="/2010/03/27/vendor-prefixes-in-css/" class="more-link">Continue reading <span class="screen-reader-text">Vendor Prefixes in CSS</span> <span class="meta-nav">&#8594;</span></a><div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="/2010/02/12/css-border-radius-vs-images/" rel="bookmark" title="CSS border-radius vs. images!">CSS border-radius vs. images! </a></li>
<li><a href="/2010/02/17/htc-round-the-corners-on-ie/" rel="bookmark" title="HTC?! Round the corners on IE!">HTC?! Round the corners on IE! </a></li>
<li><a href="/2010/02/04/css-effective-selector/" rel="bookmark" title="CSS effective selector">CSS effective selector </a></li>
<li><a href="/2010/03/11/css-priority-the-difference-between-a-my-class-and-my-class/" rel="bookmark" title="CSS Priority: The Difference Between a.my-class and .my-class">CSS Priority: The Difference Between a.my-class and .my-class </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<h2>Vendor Prefixes vs CSS3</h2>
<p>Either are bad, because vendor prefixes work on specific browsers, while CSS3 is not implemented fully by those browsers. When talking about vendor prefixes in CSS, let me tell you in breve, what&#8217;s this. If you&#8217;d like to make rounded corner under Mozilla Firefox, you usually use a background image, but there&#8217;s another way to do it &#8211; with Mozilla specific CSS:</p>
<pre lang="css">-moz-border-radius: 5px;
</pre>
<p>That&#8217;s bad because it works only on Mozilla based browsers, although there&#8217;s a webkit based similar syntax:</p>
<pre lang="css">-webkit-border-radius: 5px;
</pre>
<p>Even after that our &#8220;favorite&#8221; browser MSIE until version 9 is not displaying any rounded corners.</p>
<p>In other hand CSS3 gives us the possibility to write the simple:</p>
<pre lang="css">border-radius:5px;
</pre>
<p>which is not implemented in many currently used browsers, but it may be used for progressive enhancements.</p>
<h2>In Breve &#8230;</h2>
<p>Everybody&#8217;s talking about vendor prefixes after the famous <a href="http://www.quirksmode.org/blog/archives/2010/03/css_vendor_pref.html" target="_blank">post of PPK</a>, but there are both opinions &#8211; pros and cons. However it&#8217;s good to use it, but very carefully, and think about what CSS3 may give you!</p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="/2010/02/12/css-border-radius-vs-images/" rel="bookmark" title="CSS border-radius vs. images!">CSS border-radius vs. images! </a></li>
<li><a href="/2010/02/17/htc-round-the-corners-on-ie/" rel="bookmark" title="HTC?! Round the corners on IE!">HTC?! Round the corners on IE! </a></li>
<li><a href="/2010/02/04/css-effective-selector/" rel="bookmark" title="CSS effective selector">CSS effective selector </a></li>
<li><a href="/2010/03/11/css-priority-the-difference-between-a-my-class-and-my-class/" rel="bookmark" title="CSS Priority: The Difference Between a.my-class and .my-class">CSS Priority: The Difference Between a.my-class and .my-class </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>/2010/03/27/vendor-prefixes-in-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP: detecting mobile device</title>
		<link>/2010/03/09/php-detecting-mobile-device/</link>
		<comments>/2010/03/09/php-detecting-mobile-device/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 09:37:16 +0000</pubDate>
		<dc:creator><![CDATA[Stoimen]]></dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[FTP clients]]></category>
		<category><![CDATA[Gecko]]></category>
		<category><![CDATA[Google Chrome]]></category>
		<category><![CDATA[Google Inc.]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Mac OS X 10.5]]></category>
		<category><![CDATA[Mach]]></category>
		<category><![CDATA[Macintosh]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Mozilla Firefox]]></category>
		<category><![CDATA[safari]]></category>
		<category><![CDATA[Steve Jobs]]></category>
		<category><![CDATA[Technology/Internet]]></category>
		<category><![CDATA[United States]]></category>
		<category><![CDATA[WebKit]]></category>

		<guid isPermaLink="false">/?p=1214</guid>
		<description><![CDATA[HTTP_USER_AGENT Beside that most of the responses of $_SERVER[&#8216;HTTP_USER_AGENT&#8217;] 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 &#8230; <a href="/2010/03/09/php-detecting-mobile-device/" class="more-link">Continue reading <span class="screen-reader-text">PHP: detecting mobile device</span> <span class="meta-nav">&#8594;</span></a><div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="/2010/03/22/php-mobile-devices-http_user_agent-strings/" rel="bookmark" title="PHP: Mobile Devices HTTP_USER_AGENT Strings">PHP: Mobile Devices HTTP_USER_AGENT Strings </a></li>
<li><a href="/2010/03/18/mobile-internet-users-are-getting-more-important/" rel="bookmark" title="Mobile Internet Users are Getting More Important">Mobile Internet Users are Getting More Important </a></li>
<li><a href="/2010/02/24/storing-javascript-objects-in-html5-localstorage/" rel="bookmark" title="Storing JavaScript objects in html5 localStorage">Storing JavaScript objects in html5 localStorage </a></li>
<li><a href="/2010/03/17/stop-coding-iphone-apps-begin-with-html5-mobile-sites/" rel="bookmark" title="Stop Coding iPhone Apps, Begin with HTML5 Mobile Sites">Stop Coding iPhone Apps, Begin with HTML5 Mobile Sites </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<h2>HTTP_USER_AGENT</h2>
<p>Beside that most of the responses of <strong>$_SERVER[&#8216;HTTP_USER_AGENT&#8217;]</strong> 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; or &#8220;safari&#8221; sub strings.</p>
<p>All the examples bellow are from Mac OS X:</p>
<p>Firefox 3.6:</p>
<pre lang="html">
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6
</pre>
<p><em><strong>Note</strong>: there are both Mozilla and Firefox sub strings!</em></p>
<p>Safari 4:</p>
<pre lang="html">
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; bg-bg) AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10
</pre>
<p>Chrome:</p>
<pre lang="html">
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-US) AppleWebKit/532.9 (KHTML, like Gecko) Chrome/5.0.307.11 Safari/532.9
</pre>
<p><em><strong>Note</strong>: Here they are Mozilla, Chorme and Safari!!!</em></p>
<p>Opera:</p>
<pre lang="html">
Opera/9.80 (Macintosh; Intel Mac OS X; U; en) Presto/2.2.15 Version/10.10
</pre>
<h2>The day of mobile</h2>
<p>Nowadays it&#8217;s normal to make a site with the presumption it will be visible from mobile. The war between Nexus One from Google and iPhone from Apple is just beginning and with all those devices with wide screens everything&#8217;s becoming more complicated.</p>
<h2>User agent strings from Nexus One and iPhone</h2>
<p>Both are weird, but both contain the keyword &#8211; &#8220;mobile&#8221; and that may help you make a check with something like this PHP snippet:</p>
<pre lang="php">
<?php
$mobile = !!(FALSE !== strstr(strtolower($_SERVER['HTTP_USER_AGENT']), 'mobile'));
?>
</pre>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="/2010/03/22/php-mobile-devices-http_user_agent-strings/" rel="bookmark" title="PHP: Mobile Devices HTTP_USER_AGENT Strings">PHP: Mobile Devices HTTP_USER_AGENT Strings </a></li>
<li><a href="/2010/03/18/mobile-internet-users-are-getting-more-important/" rel="bookmark" title="Mobile Internet Users are Getting More Important">Mobile Internet Users are Getting More Important </a></li>
<li><a href="/2010/02/24/storing-javascript-objects-in-html5-localstorage/" rel="bookmark" title="Storing JavaScript objects in html5 localStorage">Storing JavaScript objects in html5 localStorage </a></li>
<li><a href="/2010/03/17/stop-coding-iphone-apps-begin-with-html5-mobile-sites/" rel="bookmark" title="Stop Coding iPhone Apps, Begin with HTML5 Mobile Sites">Stop Coding iPhone Apps, Begin with HTML5 Mobile Sites </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>/2010/03/09/php-detecting-mobile-device/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>CSS border-radius vs. images!</title>
		<link>/2010/02/12/css-border-radius-vs-images/</link>
		<comments>/2010/02/12/css-border-radius-vs-images/#respond</comments>
		<pubDate>Fri, 12 Feb 2010 09:24:22 +0000</pubDate>
		<dc:creator><![CDATA[Stoimen]]></dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[Cascading Style Sheets]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Microsoft Corporation]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Tableless web design]]></category>
		<category><![CDATA[Technology/Internet]]></category>
		<category><![CDATA[Web design]]></category>
		<category><![CDATA[web designers]]></category>
		<category><![CDATA[web developer]]></category>
		<category><![CDATA[WebKit]]></category>
		<category><![CDATA[World Wide Web]]></category>

		<guid isPermaLink="false">/?p=1082</guid>
		<description><![CDATA[Rounded corners This is one of the main problems of web design and development now, even if it sounds strange. The thing is that with round corners the elements become more nice and groovy and most of the web designers make such design templates. The problem than comes over the web developer who&#8217;s supposed to &#8230; <a href="/2010/02/12/css-border-radius-vs-images/" class="more-link">Continue reading <span class="screen-reader-text">CSS border-radius vs. images!</span> <span class="meta-nav">&#8594;</span></a><div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="/2010/03/27/vendor-prefixes-in-css/" rel="bookmark" title="Vendor Prefixes in CSS">Vendor Prefixes in CSS </a></li>
<li><a href="/2010/02/17/htc-round-the-corners-on-ie/" rel="bookmark" title="HTC?! Round the corners on IE!">HTC?! Round the corners on IE! </a></li>
<li><a href="/2010/02/05/css-sprites-go-beyond-the-limits-with-base64/" rel="bookmark" title="CSS sprites. Go beyond the limits with base64!">CSS sprites. Go beyond the limits with base64! </a></li>
<li><a href="/2010/02/15/cross-browser-rounded-corners-works-on-ie-but-but-not-on-opera/" rel="bookmark" title="Cross-browser rounded corners! Works on IE but, but not on Opera!">Cross-browser rounded corners! Works on IE but, but not on Opera! </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<h2>Rounded corners</h2>
<p>This is one of the main problems of web design and development now, even if it sounds strange. The thing is that with round corners the elements become more nice and groovy and most of the web designers make such design templates. The problem than comes over the web developer who&#8217;s supposed to convert this into HTML and CSS. Of course it would be nice if all browsers support rounded corners in CSS, but they don&#8217;t and guess what IE fully doesn&#8217;t support it.</p>
<blockquote>
<pre>-moz and -webkit</pre>
</blockquote>
<p>Most of you have heart about this patches in CSS when you can use this prefixes for Mozilla based and Safari&#8217;s Webkit based browsers. Than you can use border radius with no pain, and you get the same effect as with using images.</p>
<blockquote>
<pre>-moz-border-radius : 4px;
-webkit-border-radius : 4px;
</pre>
</blockquote>
<p>Of course on IE this doesn&#8217;t work and the element remains with square corners. But what the question is, should we make both versions for non IE browsers without images and a version for the &#8220;great&#8221; MSIE and all of its versions?</p>
<h2>My answer is: no!</h2>
<p>Although many sites do that, see vimeo for instance, there&#8217;s no need to support that. As the rumor and the MSIE blog says in IE9 which is &#8230; coming soon there will be &#8211; <strong>border-radius</strong> property.</p>
<h2>That&#8217;s awesome!</h2>
<p>Finally Microsoft has done something good! So stop using background images! This is hard to maintain, difficult to make and it&#8217;s bad for the browser loading time, because of the extra images/sprites.</p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="/2010/03/27/vendor-prefixes-in-css/" rel="bookmark" title="Vendor Prefixes in CSS">Vendor Prefixes in CSS </a></li>
<li><a href="/2010/02/17/htc-round-the-corners-on-ie/" rel="bookmark" title="HTC?! Round the corners on IE!">HTC?! Round the corners on IE! </a></li>
<li><a href="/2010/02/05/css-sprites-go-beyond-the-limits-with-base64/" rel="bookmark" title="CSS sprites. Go beyond the limits with base64!">CSS sprites. Go beyond the limits with base64! </a></li>
<li><a href="/2010/02/15/cross-browser-rounded-corners-works-on-ie-but-but-not-on-opera/" rel="bookmark" title="Cross-browser rounded corners! Works on IE but, but not on Opera!">Cross-browser rounded corners! Works on IE but, but not on Opera! </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>/2010/02/12/css-border-radius-vs-images/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
