How do I test a website design on a mobile device?
Asked Answered
L

4

5

I have designed my site with a 900 x 600 fixed background image. On the computer it looks fine. How will it look on a PDA device? Will I have to design it separately for PDA?

How should check whether my site can be browsed effectively from mobile phone?

What should I do?

Lizethlizette answered 7/11, 2008 at 6:29 Comment(0)
H
11
Halfhour answered 7/11, 2008 at 7:15 Comment(0)
D
2

Instead of browser detection, you can supply alternative stylesheets for handheld devices. With

<link rel="stylesheet" href="small.css" type="text/css" media="handheld">

The advantage is that you only need one version of your site, the difference lies in the stylesheets. You need one additional css, while with browser detection you would need different versions of every page in your site. The downside is that not all browsers support the media attribute for stylesheets. But the most modern browsers do, and the support for it is growing.

If you are interested, I recommend having a look at an A List Apart article.

BTW, if you are not using css yet, switch to it immediately, no matter which solution for your problem you choose. CSS rocks!

Donatus answered 7/11, 2008 at 7:33 Comment(0)
U
0

Well, you could always throw some detection javascript in there to check the type of browser, then redirect to a different site that is formatted for mobile devices. This seems to be the norm for most sites.

Examples:

  • Digg.com
  • Twitter.com
  • Google.com
Unattached answered 7/11, 2008 at 6:32 Comment(0)
L
0

You can also get device emulators for the Blackberry range of machines.

Lecherous answered 16/11, 2008 at 10:32 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.