I'm just starting to make my existing website's mobile version. I was wondering what kind of doctype should I use to ensure maximum number of phones rendering the site the way it was intended to. Targeted users use smartphones and not the thousand year old nokia phones.

Also, Should I just set the body's width to 100% of the phone's screen or should I do like a 250px wide website?

I tried to view my existing website on Blackberry Pearl with javascript enabled but it doesn't load images. (it doesn't load images because i am using javascript to change the src of img from a blank transparent image to the actual image.) Anyone know why its not working?

Any other tips, warning are welcome! :)

P.S. If anyone is not clear about the blackberry problem, and wants to look @ how i'm changing the src, click my username and find a thread called "criticize this website" and look @ the last post..

Member Avatar for rajarajan2017

My Opinion:

Instead of creating websites in html, you can do that flash lite. because in their documentation itself they given what are the supports and unsupported technologies within the mobile. So you should test with an simulator to know the merits and demerits. We can also develop in J2ME.

For yours is not working because you are fetching the image from the external folder or something which should also within your mobile. May be something not enabled in your browser of your mobile. check for Javscript enable/disable options.

My Opinion:

Instead of creating websites in html, you can do that flash lite. because in their documentation itself they given what are the supports and unsupported technologies within the mobile. So you should test with an simulator to know the merits and demerits. We can also develop in J2ME.

For yours is not working because you are fetching the image from the external folder or something which should also within your mobile. May be something not enabled in your browser of your mobile. check for Javscript enable/disable options.

I would love to make a flash website but not all popular smartphones have flash capabilities. Like the iPhone and the Blackberry(for now, i hear rumours that the new OS has flash)

I am just having trouble getting my existing files to display correctly on the small mobile screen.

You can develop mobile site using WML and PHP.

You can use Emulator such WAP Proof for test your website.

-keval

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.