Click here to Skip to main content
15,920,633 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
Please tell me how to create a web page for all mobile devices that will not change its size so it appears the same on any phone.
I am using C# in the background.

I have tried searching the web, but couldnt find the answer i need.

Could you help with a link?
Posted
Updated 1-Jun-11 1:05am
v2
Comments
Sergey Alexandrovich Kryukov 28-May-11 12:52pm    
Don't you think this is illogical? You want to make a page of the same size on the screens of the different sizes? It won't be very well visible on some screens. Or you want something else?
--SA
R. Giskard Reventlov 1-Jun-11 8:03am    
Not really possible: you'd need to know the size of every single screen that it was likely your application was going to be viewed on. The best you can do is figure out the size of the current screen and tailor your content to fit; e.g. you may have to leave some off if the screen is too small.
ArtificerGM 8-Jun-11 17:15pm    
This is where I say... "Have you read my article on making a web-site stay the exact same size on multiple-monitor sizes & resolutions."
And when you say "No" is when I reply... that's because I never wrote one because its not possible because you cannot control what a USER does.
We call this "failing gracefully" in the industry.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900