<?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/"
	>

<channel>
	<title>Songinwind Blog</title>
	<atom:link href="http://www.songinwind.com/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://www.songinwind.com/blog</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Tue, 07 Dec 2010 23:30:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Text vs. Image</title>
		<link>http://www.songinwind.com/blog/front-end-coding/text-vs-image</link>
		<comments>http://www.songinwind.com/blog/front-end-coding/text-vs-image#comments</comments>
		<pubDate>Mon, 06 Dec 2010 06:58:39 +0000</pubDate>
		<dc:creator>Jen</dc:creator>
		
		<category><![CDATA[coding front-end]]></category>

		<category><![CDATA[CSS]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[SEO]]></category>

		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.songinwind.com/blog/?p=555</guid>
		<description><![CDATA[Different fonts have different personalities. Properly using fonts to your web page will give your web page a vivid look, and will help your audience understand the message that you are trying to send even before they start to read the content. However, most of the great-looking fonts are non-standard fonts that are not installed [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-556" style="padding: 5px 10px 0 0; float: left;" title="fonts" src="http://www.songinwind.com/blog/wp-content/uploads/2010/12/fonts.png" alt="fonts" width="269" height="119" />Different fonts have different personalities. Properly using fonts to your web page will give your web page a vivid look, and will help your audience understand the message that you are trying to send even before they start to read the content. However, most of the great-looking fonts are non-standard fonts that are not installed to the computers of all your audiences. Special font displaying has been a big headache for all web folks in the past decade.</p>
<p>As I am just finishing up a project which involves with special fonts, I would like to share my hands-on experience in this area. Methods are listed below with pros and cons that were found from my latest experience. Anyway, after some research, you will find there are multiple ways to implement special fonts on the web pages. To summarize all these different methods, these are the two main ones - using text and using images.</p>
<p><strong>1. Text method</strong></p>
<p>This is a very appealing one. Thanks to the innovative JavaScript / CSS3, now we can show all special fonts by just typing in the text to the HTML code. Under this text display method, there are also multiple implementation ways, all of which need external files (javaScript files) though. Two of them I have been using are <a href="http://code.google.com/apis/webfonts/" target="_blank">Google API</a> and <a href="http://webfonts.fonts.com/" target="_blank">webfonts&#8217; fonts-for-web tool</a>. Both of them work great!</p>
<p><strong>pros:</strong> This is so obvious -</p>
<p>1. easy to maintain. To update the text you don&#8217;t need to use any other applications/tools, all you need to do is just to pull out your HTML and change the text in there.<br />
2. Since it&#8217;s text, the page load is minimized. Comparing to image, text on HTML page loads much faster due to its smaller size.<br />
3. SEO friendly. As we know, search engine cares about the real content of the page more than what the meta tags say.Search engine crawls to the web page to get the info by reading text on the page. For image, in order to let the search engine know what it is about, we need to use ALT tag. But even if ALT tags are used, images don&#8217;t talk to search engine as efficiently as text.</p>
<p><strong>cons:</strong><br />
1. Always need external files. Loading the external files from external domains, which will add more HTTP requests and  for sure affect the performance of the page, slow down the page load time.<br />
2. For Google API, if you can find your fonts from that list, you are lucky. But overall, it&#8217;s a very small list, most of the great looking fonts are not in there. Collection is very limited for now. Hope they can add more fonts in the near future.<br />
3. For webfonts, it&#8217;s actually an online subscription, you need to use their tool to generate the JS code. So they have the full control of the usage of the fonts, and the access you have to the fonts depends on the type of the membership you subscribed to webfonts. For free membership, the access is pretty limited, in terms of the page views per month and the number of fonts per page, etc.<br />
4. Browser compatibility issues. Special fonts don&#8217;t look the same in different browsers. Modern browsers are developed in a way to display CSS2 pretty consistently. However, when it comes to special fonts, all the modern browsers have their own way to show those fonts. Fonts look very inconsistent even with the same browser but different versions. For example, Helvetica font looks good in Safari 5.0.1 but the line height looks so wrong in Safari 5.0.2. Same problem between FF 3.6.8 and 3.6.12, IE7 and 8, etc.<br />
5. ok, now here comes the biggest problem to use text fonts. External files will cause Safari in ipad crash! Yes, external files from both Google API and webfonts will cause iPad Safari crash. So far, I don&#8217;t have any fix for this problem, but seems to me iPad Safari is much more fragile than any other browsers, improperly rendered JS code tend to kill the browser.</p>
<p>Basically item 4 and 5 are the showstopper for using this method.</p>
<p>In a nutshell, even though using text to display special fonts seems very appealing due to the pros listed above, it&#8217;s probably not time yet, for this method to come play the role, as we see a lot of the modern browsers are not ready for it. Cons number 4 and 5 are the major obstacles of this method. Therefore, using image is still the master stream to give the web page not only a nice look of the text, but also a consistent feel and experience across all browsers. So here comes the image method.</p>
<p><strong>2. Image method</strong></p>
<p><strong>pros:</strong><br />
1. no browser compatibility issues at all. Images look the same on all browsers, no matter if they are modern browsers or not.<br />
2. No need external file or JS coding which can burden the browser from loading the files on other domains.<br />
3. No limit to the usage or access. As long as your computer has the font you want, you can use it however you want.<br />
4. Never cause browsers to crash.</p>
<p><strong>cons:</strong><br />
1. Hard to maintain. If you need to change the text, you have to use image editing tools. This takes much more time and cost than just updating the text in HTML.<br />
2. Loads slower than text, due to the size. Also, images are external files as well, so to load one image, it take one HTTP request from the browser, which affect the loading time and performance. But as a designer, we should know images can be optimized, different types of images are for different format. Using image optimizing knowledge can produce high quality images while minimize the image sizes.<br />
3. Not SEO friendly. Image itself doesn&#8217;t send any message to search engine. But if used properly, there are still ways to achieve almost the same result as using text.</p>
<p>While using text got two showstoppers, the major SEO issue of using images can be resolved. Here is the solution:<br />
To address the issue that search engine recognize text content more efficient than looking at the image alt tags, we should still have the text that has been converted to image files entered in the HTML again. But remember, the text in the HTML is not supposed to show up on the page, it&#8217;s just for the SEO purpose only, while the image instead will display.  Examples are as follows:</p>
<p>HTML code:<br />
<em>&lt;div class=&#8221;headlines&#8221;&gt;<br />
&lt;h1&gt;Your Personal Organizer.&lt;/h1&gt;<br />
&lt;h2&gt;The best way to stay in sync with your close friends and co-workers.&lt;/h2&gt;<br />
&lt;/div&gt;</em></p>
<p>The associated CSS code:<br />
<em>.headlines {<br />
background:url(&#8221;images/text_big_banner.png&#8221;) no-repeat scroll left top transparent;<br />
height:133px;<br />
margin:0;<br />
width:513px;<br />
}<br />
.home_banner h1 {<br />
display:none;<br />
}<br />
.home_banner h2 {<br />
display:none;<br />
}</em></p>
<p>Another tip of using images to show the text - transparent PNG 24 format for the images are recommended. This way, the images are independent with the background, and it has the best quality and image size among all the other image formats.</p>
<p>In summary, at the time being, although we have ways to show special fonts by using text and JS file and external libraries, this technology is not maturely integrated with the modern browsers yet. Image, on the other hand, can resolve all issues that text has. For other cons of using images, we still have ways to work round. Therefore, using images to display special fonts are the best solution so far.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.songinwind.com/blog/front-end-coding/text-vs-image/feed</wfw:commentRss>
		</item>
		<item>
		<title>Google analytics bug (or the way it is)</title>
		<link>http://www.songinwind.com/blog/trends/google-analytics-bug-or-the-way-it-is</link>
		<comments>http://www.songinwind.com/blog/trends/google-analytics-bug-or-the-way-it-is#comments</comments>
		<pubDate>Tue, 12 Oct 2010 18:13:05 +0000</pubDate>
		<dc:creator>Jen</dc:creator>
		
		<category><![CDATA[trends]]></category>

		<category><![CDATA[bug]]></category>

		<category><![CDATA[google analytics]]></category>

		<category><![CDATA[tool]]></category>

		<guid isPermaLink="false">http://www.songinwind.com/blog/?p=547</guid>
		<description><![CDATA[Been using Google Analytics tool for a while, to many of the sites that I&#8217;ve developed, I took it for granted that as soon as the tracking code is inserted to the page, the tracking status will change to &#8220;wait for data&#8221;. Actually this was the way it&#8217;s been since day one, when GA was [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-546" style="float: left; padding-right: 10px;" title="Google Analytics" src="http://www.songinwind.com/blog/wp-content/uploads/2010/10/ga.gif" alt="ga" width="141" height="163" />Been using Google Analytics tool for a while, to many of the sites that I&#8217;ve developed, I took it for granted that as soon as the tracking code is inserted to the page, the tracking status will change to &#8220;wait for data&#8221;. Actually this was the way it&#8217;s been since day one, when GA was using those old style code. I do know though, it will take a while for the tool to collect data, the tracking code was assumed to be detected immediately. However, it&#8217;s not the case any more&#8230;</p>
<p>Late last night, with this out-of-date assumption, I installed the code to one of my clients&#8217; site, 30 min later, the code is still not detected. Starting to doubt that I made some mistakes in my code insertion method, I tried multiple accounts, machines (PC and mac), domains and asked my friends to try from their end, another friend who is working at google even suggested me to change the tracking code from &#8220;ga.async = true;&#8221; to &#8220;ga.async = false;&#8221;&#8230; none worked.  Did some research online, and found this <a title="google analytics help forum" href="http://www.google.com/support/forum/p/Google%20Analytics/thread?tid=1f181abbca7ae885&amp;hl=en" target="_blank">Google help forum</a> is pretty helpful. Turned out that the truth is it does need to take a few hours for the tool to detect the code.</p>
<p>This morning I checked back this GA account, status shows &#8220;receiving data&#8221;.</p>
<p>Just want to let people know, unlike before, Google Analytics now takes time (can be up to 24 hours) to detect the tracking code.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.songinwind.com/blog/trends/google-analytics-bug-or-the-way-it-is/feed</wfw:commentRss>
		</item>
		<item>
		<title>design for print - brochure</title>
		<link>http://www.songinwind.com/blog/design-art/design-for-print-brochure</link>
		<comments>http://www.songinwind.com/blog/design-art/design-for-print-brochure#comments</comments>
		<pubDate>Tue, 31 Aug 2010 06:28:45 +0000</pubDate>
		<dc:creator>Jen</dc:creator>
		
		<category><![CDATA[design & art]]></category>

		<category><![CDATA[graphics]]></category>

		<guid isPermaLink="false">http://www.songinwind.com/blog/?p=274</guid>
		<description><![CDATA[As a promotion for a resort place, the theme of the Venice Beach brochure is &#8220;fun&#8221; and &#8220;relaxing&#8221;.
The fonts of the brochure are very fun-looking.  The way the name of beach on the first page was twisted and the blue sea water texture of the text are just reminding people of the feeling of [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-medium wp-image-275" style="padding-right: 10px; float: left;" title="brochure" src="http://www.songinwind.com/blog/wp-content/uploads/2009/06/brochure-256x300.jpg" alt="brochure" width="256" height="300" />As a promotion for a resort place, the theme of the Venice Beach brochure is &#8220;fun&#8221; and &#8220;relaxing&#8221;.</p>
<p>The fonts of the brochure are very fun-looking.  The way the name of beach on the first page was twisted and the blue sea water texture of the text are just reminding people of the feeling of going on a vacation. A large amount of photos were used in this print out. But they don&#8217;t look cluttered.  The various shapes and alignments of the photos make them look nice and well matched with the content text. On page 2, 3, 4, and 5, the pictures and texts are running across pages to keep the readers unfolding this brochure to finish reading it. On page 6, 7, and 8, while the text and map are informative, the pictures are trying to match the text to give a visually pleasing effect. Over all, pages in this brochure are integrated with text and images and logically related with each other in the content.</p>
<p style="clear: both; height: 15px; margin: 0pt;">
]]></content:encoded>
			<wfw:commentRss>http://www.songinwind.com/blog/design-art/design-for-print-brochure/feed</wfw:commentRss>
		</item>
		<item>
		<title>Value Training</title>
		<link>http://www.songinwind.com/blog/design-art/value-training</link>
		<comments>http://www.songinwind.com/blog/design-art/value-training#comments</comments>
		<pubDate>Mon, 24 May 2010 01:36:46 +0000</pubDate>
		<dc:creator>Jen</dc:creator>
		
		<category><![CDATA[design & art]]></category>

		<category><![CDATA[color]]></category>

		<guid isPermaLink="false">http://www.songinwind.com/blog/?p=37</guid>
		<description><![CDATA[A hard training on eyes&#8230; materials: color aid paper packet, scissors/exacto knife, cutting mat, white paper, glue
The gray scale is 1.5, 2, 3, 4, 5, 6, 7, 8, 9, 9.5.  Now I picked 6 for each value. The light in the room and the digital camera seem distorted the values somehow.
Much of this exercise is [...]]]></description>
			<content:encoded><![CDATA[<p>A hard training on eyes&#8230; materials: color aid paper packet, scissors/exacto knife, cutting mat, white paper, glue</p>
<p>The gray scale is 1.5, 2, 3, 4, 5, 6, 7, 8, 9, 9.5.  Now I picked 6 for each value. The light in the room and the digital camera seem distorted the values somehow.</p>
<p>Much of this exercise is about having confidence in what you see rather than what you think is happening.</p>
<p><img class="alignnone size-full wp-image-38" title="valuetraining" src="http://www.songinwind.com/blog/wp-content/uploads/2009/05/valuetraining.jpg" alt="valuetraining" width="500" height="203" /></p>
<p>After this training, the <a title="color IQ test" href="http://www.xrite.com/custom_page.aspx?PageID=77" target="_blank">color IQ test</a> here is rather easy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.songinwind.com/blog/design-art/value-training/feed</wfw:commentRss>
		</item>
		<item>
		<title>Organize a design by hierarchy</title>
		<link>http://www.songinwind.com/blog/design-art/organize-a-design-by-hierarchy</link>
		<comments>http://www.songinwind.com/blog/design-art/organize-a-design-by-hierarchy#comments</comments>
		<pubDate>Mon, 05 Apr 2010 18:33:34 +0000</pubDate>
		<dc:creator>Jen</dc:creator>
		
		<category><![CDATA[design & art]]></category>

		<category><![CDATA[design]]></category>

		<category><![CDATA[graphics]]></category>

		<guid isPermaLink="false">http://www.songinwind.com/blog/?p=190</guid>
		<description><![CDATA[Good graphic design is always clear in its visual hierarchy, in which important elements are emphasized and content is organized logically and predictably. A hierarchy in a graphic design can be generated by the page layout, size of the elements, contrast, color, shape, position and so on.
Hierarchy is a very important part to form a [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-medium wp-image-191" style="float: left; padding-right: 10px;" title="hierarchy" src="http://www.songinwind.com/blog/wp-content/uploads/2009/06/hierarchy-300x300.gif" alt="hierarchy" width="240" height="240" />Good graphic design is always clear in its visual hierarchy, in which important elements are emphasized and content is organized logically and predictably. A hierarchy in a graphic design can be generated by the page layout, size of the elements, contrast, color, shape, position and so on.</p>
<p>Hierarchy is a very important part to form a good design work.  Usually we want the element representing the most important information to be the first in hierarchy.  This could be the headline text in bold, with strong contrast color to the background, or an interesting image with big size, saturated color or unusual shape to be appealing to the eyes.  Elements on top level of hierarchy are to give the audience a summary or principle concept of the message that the design is trying to express. Then the secondary level elements are in the supporting role to give more details or explanations for the headline information.  Overall, to achieve a successful design with appropriate hierarchy, we need to be aware of the readers’ expectation and habits.  Elements are supposed to be ordered in a logic hierarchy with pleasing visual balance as well.  Only then, the message in the design work can be conveyed smoothly and clearly to the audience.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.songinwind.com/blog/design-art/organize-a-design-by-hierarchy/feed</wfw:commentRss>
		</item>
		<item>
		<title>typography poster for Hidden Villa Farm</title>
		<link>http://www.songinwind.com/blog/design-art/typography-poster-for-hidden-villa-farm</link>
		<comments>http://www.songinwind.com/blog/design-art/typography-poster-for-hidden-villa-farm#comments</comments>
		<pubDate>Wed, 17 Mar 2010 02:28:13 +0000</pubDate>
		<dc:creator>Jen</dc:creator>
		
		<category><![CDATA[design & art]]></category>

		<category><![CDATA[design]]></category>

		<category><![CDATA[poster]]></category>

		<category><![CDATA[typography]]></category>

		<guid isPermaLink="false">http://www.songinwind.com/blog/?p=236</guid>
		<description><![CDATA[The poster I designed for a famous bay area farm - Hidden Villa Farm.
The fonts I used reinforced the intent of the poster. Type is used to its extremes; I also set up contrast between the sizes and weights of the type on the page. I had various options to visualize the concept with type. [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-237" style="float: left; padding-right: 10px;" title="hiddenvillafarm_poster" src="http://www.songinwind.com/blog/wp-content/uploads/2009/06/hiddenvillafarm_poster.jpg" alt="hiddenvillafarm_poster" width="246" height="369" />The poster I designed for a famous bay area farm - <em>Hidden Villa Farm</em>.</p>
<p>The fonts I used reinforced the intent of the poster. Type is used to its extremes; I also set up contrast between the sizes and weights of the type on the page. I had various options to visualize the concept with type. The type interprets the message visually, it isexaggerated, and contrasted with the intent of the verbal message. The message is repeated, and I mixed typefaces for emphasis.</p>
<p style="margin: 0pt; clear: both; height: 15px;">
]]></content:encoded>
			<wfw:commentRss>http://www.songinwind.com/blog/design-art/typography-poster-for-hidden-villa-farm/feed</wfw:commentRss>
		</item>
		<item>
		<title>man&#8217;s portrait</title>
		<link>http://www.songinwind.com/blog/design-art/mans-portrait</link>
		<comments>http://www.songinwind.com/blog/design-art/mans-portrait#comments</comments>
		<pubDate>Tue, 26 Jan 2010 17:11:42 +0000</pubDate>
		<dc:creator>Jen</dc:creator>
		
		<category><![CDATA[design & art]]></category>

		<category><![CDATA[fun]]></category>

		<guid isPermaLink="false">http://www.songinwind.com/blog/?p=310</guid>
		<description><![CDATA[
sketching, pencil and charcoal
]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-311" title="sketching_man_180" src="http://www.songinwind.com/blog/wp-content/uploads/2009/06/sketching_man_180.jpg" alt="sketching_man_180" width="180" height="239" /></p>
<p>sketching, pencil and charcoal</p>
]]></content:encoded>
			<wfw:commentRss>http://www.songinwind.com/blog/design-art/mans-portrait/feed</wfw:commentRss>
		</item>
		<item>
		<title>How to apply mobile CSS to smart phone devices</title>
		<link>http://www.songinwind.com/blog/trends/how-to-apply-mobile-css-to-smart-phone-devices</link>
		<comments>http://www.songinwind.com/blog/trends/how-to-apply-mobile-css-to-smart-phone-devices#comments</comments>
		<pubDate>Thu, 10 Dec 2009 01:59:29 +0000</pubDate>
		<dc:creator>Jen</dc:creator>
		
		<category><![CDATA[coding front-end]]></category>

		<category><![CDATA[trends]]></category>

		<category><![CDATA[CSS]]></category>

		<category><![CDATA[mobile]]></category>

		<category><![CDATA[trick]]></category>

		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.songinwind.com/blog/?p=529</guid>
		<description><![CDATA[When I am talking about mobile css, I am looking for safari in iphone, blackberry default browser and this new born but the mobile browser for majority to be - opera mini. These days, in spite of the fact that the third generation phones - smart phones have made the majority share of cell phone [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-medium wp-image-530" style="float: left; padding-right: 10px;" title="screenshot1" src="http://www.songinwind.com/blog/wp-content/uploads/2009/12/screenshot1-152x300.png" alt="screenshot1" width="152" height="300" />When I am talking about mobile css, I am looking for safari in iphone, blackberry default browser and this new born but the mobile browser for majority to be - opera mini. These days, in spite of the fact that the third generation phones - smart phones have made the majority share of cell phone market in US, unfortunately the mobile web hasn&#8217;t come to a universal standard that we can apply like we do to those modern computer browsers.  As a result, when designing a website for mobile, it usually takes more effort to find a solution to browser compatibility and accessibility. And funnily, most smart phones don&#8217;t consider themselves as handheld device, thus this &#8220;handheld&#8221; media for CSS doesn&#8217;t work for them:</p>
<p><strong>&lt;link media=&#8221;handheld&#8221; href=&#8221;mobile.css&#8221; type=&#8221;text/css&#8221; rel=&#8221;stylesheet&#8221; /&gt;</strong></p>
<p><strong><br />
</strong></p>
<p><span style="font-size: 1.2em; text-decoration: underline;"><strong>First of all, iphone and its default browser Safari. </strong></span></p>
<p>Yes, iphone made everything easy for everyone, not just consumers but also iphone application developer as well as web designers <img src='http://www.songinwind.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> So this approach is rather simple comparing to all other smart phone devices.</p>
<p><strong>&lt;link media=&#8221;only screen and (max-device-width: 480px)&#8221; href=&#8221;mobile.css&#8221; type=&#8221;text/css&#8221; rel=&#8221;stylesheet&#8221; /&gt;<br />
</strong><br />
In order to include all other devices which consider themselves as handheld, we tweak this line to be more general:</p>
<p><strong>&lt;link media=&#8221;handheld, only screen and (max-device-width: 480px)&#8221; href=&#8221;mobile.css&#8221; type=&#8221;text/css&#8221; rel=&#8221;stylesheet&#8221; /&gt;</strong></p>
<p>To be even safer, there are times, the device width is 320 pixel or less. So here we are:</p>
<p><strong>&lt;link media=&#8221;handheld, only screen and (max-device-width: 320px)&#8221; href=&#8221;mobile.css&#8221; type=&#8221;text/css&#8221; rel=&#8221;stylesheet&#8221; /&gt;<br />
&lt;link media=&#8221;only screen and (max-device-width: 480px)&#8221; href=&#8221;mobile.css&#8221; type=&#8221;text/css&#8221; rel=&#8221;stylesheet&#8221; /&gt;<br />
</strong><br />
Everything works perfectly well with these two lines, except when you come to W3C CSS validator. Yes, W3C doesn&#8217;t recognize the mobile style lines, and it doesn&#8217;t let them pass through validation. And there is really nothing you can do about it. for more info, you can see some discussion here: <a href="http://csscreator.com/node/28171">http://csscreator.com/node/28171</a></p>
<p><span style="font-size: 1.2em; text-decoration: underline;"><strong>Blackberry and its default browser.</strong></span></p>
<p>Blackberry doesn&#8217;t pickup any mobile style sheet no matter what media you set to it, not handheld, not width 480px or 320px. There is only one way to give blackberry a mobile looking page - using javascript and direct the page to a blackberry. Below is the script that works. I also tried to apply some mobile style sheet without directing the page to another, but unfortunately didn&#8217;t work. more details hereinafter:<br />
<strong><br />
&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
var deviceBB = &#8220;blackberry&#8221;;</strong></p>
<p><strong>//Initialize our user agent string to lower case.<br />
var uagent = navigator.userAgent.toLowerCase();<br />
var cssFile = &#8220;mobile.css&#8221;;<br />
//**************************<br />
// Detects if the current browser is a BlackBerry of some sort.</strong></p>
<p><strong>if (uagent.search(deviceBB) &gt; -1) {<br />
//document.getElementById(&#8217;blackb&#8217;).href = &#8216;mobile.css&#8217;; // this doesn&#8217;t work<br />
window.location = &#8216;home_bb.html&#8217;;</strong></p>
<p><strong>//document.write(&#8217;&lt;link href=&#8221;&#8216;+cssFile+&#8217;&#8221; type=&#8221;text/css&#8221; rel=&#8221;stylesheet&#8221;&gt;); //this doesn&#8217;t work either</strong></p>
<p><strong>}<br />
&lt;/script&gt;</strong></p>
<p><span style="font-size: 1.2em; text-decoration: underline;"><strong>Opera Mini</strong></span></p>
<p>It&#8217;s a cool mobile browser, which works well with most smart phones - blackberry, iphone, treo palm, etc. To display your mobile CSS on this browser, all you need is still the two lines:<br />
<strong>&lt;link media=&#8221;handheld, only screen and (max-device-width: 320px)&#8221; href=&#8221;mobile.css&#8221; type=&#8221;text/css&#8221; rel=&#8221;stylesheet&#8221; /&gt;<br />
&lt;link media=&#8221;only screen and (max-device-width: 480px)&#8221; href=&#8221;mobile.css&#8221; type=&#8221;text/css&#8221; rel=&#8221;stylesheet&#8221; /&gt;<br />
</strong><br />
There is this Opera Mini simulator <a title="opera mini simulator" href="http://www.opera.com/mini/demo/" target="_blank">http://www.opera.com/mini/demo/</a>, which makes it possible to test your mobile styles without a mobile phone, however, it only gives you FALSE result. So don&#8217;t use it for testing. Install it to your mobile phone and do the real test from there!</p>
<p>Issues you see in real mobile phones but not in simulator:<br />
Opera Mini doesn&#8217;t pick up the font size setting in css. Here is the sentence I got from wikipedia:  Opera Mini supports only one font, which can be set to &#8220;Small&#8221;, &#8220;Medium&#8221;, &#8220;Large&#8221;, or &#8220;Extra large&#8221; size.<br />
<a title="opera mini in Wikipedia" href=" http://en.wikipedia.org/wiki/Opera_Mini"><br />
http://en.wikipedia.org/wiki/Opera_Mini</a></p>
<p>The default setting of font size in mobile phone is &#8220;medium&#8221;. Be aware of this issue when you design the mobile styles, if you are targeting Opera Mini as your mobile browser - use one font size - medium for all text and let it fit in the page.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.songinwind.com/blog/trends/how-to-apply-mobile-css-to-smart-phone-devices/feed</wfw:commentRss>
		</item>
		<item>
		<title>UI14 playback 2 - Why Amazon&#8217;s so successful</title>
		<link>http://www.songinwind.com/blog/design-art/ui14-playback-2-why-amazons-so-successful</link>
		<comments>http://www.songinwind.com/blog/design-art/ui14-playback-2-why-amazons-so-successful#comments</comments>
		<pubDate>Sat, 14 Nov 2009 08:06:53 +0000</pubDate>
		<dc:creator>Jen</dc:creator>
		
		<category><![CDATA[design & art]]></category>

		<category><![CDATA[design]]></category>

		<category><![CDATA[ui14]]></category>

		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.songinwind.com/blog/?p=522</guid>
		<description><![CDATA[Jared Spool is indeed a user experience expert with knowledgeable and in-depth insight of consumer oriented industry and web design. In this impressively interesting featured talked, he revealed those hidden secrets in Amazon that made it so successful. It all started from the amazing reviews of this currently available Tuscan Whole Milk, 1 Gallon, 128 [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-523" style="float: left; padding-right: 10px;" title="amazon" src="http://www.songinwind.com/blog/wp-content/uploads/2009/11/amazon.gif" alt="amazon" width="159" height="35" />Jared Spool is indeed a user experience expert with knowledgeable and in-depth insight of consumer oriented industry and web design. In this impressively interesting featured talked, he revealed those hidden secrets in Amazon that made it so successful. It all started from the amazing reviews of this currently available <a href="http://www.amazon.com/gp/product/B00032G1S0/ref=s9_simz_gw_s0_p325_i1?pf_rd_m=ATVPDKIKX0DER&amp;pf_rd_s=center-2&amp;pf_rd_r=1V5N8G2P57WZKTD4HAXR&amp;pf_rd_t=101&amp;pf_rd_p=470938631&amp;pf_rd_i=507846">Tuscan Whole Milk, 1 Gallon, 128 fl oz</a>. Take a look at the reviews at the bottom of this product, which is even not available now. You will feel it&#8217;s so amazing that so many people are just sticky, addicted and constantly contributing to Amazon. Here is some data to show how attractive this website is: The number of visitors in December 2008 is 71,431,000, rank of all website in traffic is 8; Revenue in 2008 is $19,166,000,000, which is 29% increase over 2007. So why is that? Here are some highlights of the Jared Spool&#8217;s talk:</p>
<ul>
<li>Engage your users by delivering great content
<ul>
<li>User commentary enhances the experience</li>
<li>Putting in a system to “bubble up” the most interesting or useful<br />
content can dramatically improve the experience</li>
<li>Only a small percentage of visitors will participate</li>
</ul>
</li>
<li>Don’t fear trying out new ideas</li>
<li>Eliminate tool time while delivering confidence <em>(Goal time vs. Tool time - Goal time: When the user is improving the outcome of the experience; Tool Time: When the user is moving forward without any improvement in the outcome of the experience)</em></li>
<li>Never forget the business</li>
<li>Caution is warranted
<ul>
<li>Be careful when emulating features</li>
<li>Some experiments don’t pan out</li>
<li>Not all use cases are equal</li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.songinwind.com/blog/design-art/ui14-playback-2-why-amazons-so-successful/feed</wfw:commentRss>
		</item>
		<item>
		<title>Another trick of CSS for printing in FF</title>
		<link>http://www.songinwind.com/blog/front-end-coding/another-trick-of-css-for-printing-in-ff</link>
		<comments>http://www.songinwind.com/blog/front-end-coding/another-trick-of-css-for-printing-in-ff#comments</comments>
		<pubDate>Fri, 13 Nov 2009 01:19:25 +0000</pubDate>
		<dc:creator>Jen</dc:creator>
		
		<category><![CDATA[coding front-end]]></category>

		<category><![CDATA[bug]]></category>

		<category><![CDATA[CSS]]></category>

		<category><![CDATA[firefox3.5]]></category>

		<category><![CDATA[trick]]></category>

		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.songinwind.com/blog/?p=509</guid>
		<description><![CDATA[Working on a printing CSS today, and I found when I tried to print or print preview the page in FF, it only prints/shows the first page, the rest are just blank. This issue only exists in FF browser, all others (IE6-8, Safari) are just fine. So what causes the problem and what&#8217;s the solution?
All [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-510 pngimg" style="float: left;" title="firefoxbug" src="http://www.songinwind.com/blog/wp-content/uploads/2009/11/firefoxbug.png" alt="firefoxbug" width="180" height="150" />Working on a printing CSS today, and I found when I tried to print or print preview the page in FF, it only prints/shows the first page, the rest are just blank. This issue only exists in FF browser, all others (IE6-8, Safari) are just fine. So what causes the problem and what&#8217;s the solution?</p>
<p>All because of this: <strong>overflow: hidden</strong><br />
As soon as I removed it, the print preview is good. However, this overflow:hidden is there for a reason, if you remove it, you have to work on the overflow issues. So printing or overfow? you gotta choose one, or if you are flexibile enough, work around the content to prevent it from being overflown.</p>
<p>Well, Firefox also has bugs&#8230; it&#8217;s the hard cold fact, so deal with it <img src='http://www.songinwind.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Many reports about this issue in FF suport:</p>
<p><a href="http://support.mozilla.com/tiki-view_forum_thread.php?locale=de&amp;comments_parentId=468968&amp;forumId=1">report 1,  report 2, </a><a href="http://support.mozilla.com/tiki-view_forum_thread.php?forumId=1&amp;comments_parentId=2549">report 3</a>, look at the comments down there, they are really helpful.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.songinwind.com/blog/front-end-coding/another-trick-of-css-for-printing-in-ff/feed</wfw:commentRss>
		</item>
	</channel>
</rss>

