fooninja.net goes mobile

I bought an Android phone and decided to make fooninja.net a bit more mobile-friendly by creating a CSS for smaller screens. It basically just removes the ads and sets width to auto. This is what I added to the page header:

<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;" />
...
<link rel="stylesheet" href="/css/handheld.css" type="text/css" media="only screen and (max-device-width: 800px)" />

It seems to work well, but I've only tested it on my Samsung Galaxy S2. Let me know if you find anything odd.

(I also added a print CSS. Forgot about that!)

2011-06-10 ·

blog comments powered by Disqus