Solved

mobile webpage displays is bad

Posted on 2013-06-08
10
313 Views
Last Modified: 2013-06-15
I load my website on my SE arc mobile and it is AWFUL!!!!

I have used boostrap responsive as well as css/html

The font is too small, the writing is pushed over to the left and if I load the page in lanscape it loads like in tablet size screen.

http://www.mymrt.net/ctrain/home.html

I cater for 480px size and the sony Arc xperia is far bigger than that it is 480px X 854px

If you resize the browser on a PC/laptop it looks OK but on the phone, what do i do ?

If I could force it to load in 480px mode (portait) mode and then when switching to landscape mode it will work to a pointas i need to increase the font size in 480px mode
0
Comment
Question by:jagguy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
10 Comments
 
LVL 10

Expert Comment

by:Ishaan Rawat
ID: 39232478
For font-size try this...
@media screen and max-width(480px){
     body{
          font-size: 15px; // or whatever you like...
      }
}

Open in new window


But the heading is a image...
You have to change the image to make it look good...

Heres the link of the image... http://www.mymrt.net/ctrain/img/head9.png
0
 
LVL 10

Expert Comment

by:Ishaan Rawat
ID: 39232479
or please specify which writing are you talking about...???
0
 

Author Comment

by:jagguy
ID: 39232682
if you look at the size of the font on the phone display it is too small under the heading.

The image isnt the problem and in fact it is the only thing that works.
There is the text/button heights too small 'fat fingers problem' the text in pushed on the left hand side and in landscape is a whopping 854px . It looks fine on a desktop browser resized.

I cant code for  every device with media queries as there is a huge range of mobile sizes. There has to be another solution.
0
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 
LVL 10

Expert Comment

by:Ishaan Rawat
ID: 39232927
First reduce the font size you have increased it so much...
0
 
LVL 10

Expert Comment

by:Ishaan Rawat
ID: 39232958
There is the text/button heights too small 'fat fingers problem' the text in pushed on the left hand side and in landscape is a whopping 854px .


Sorry but I have no idea which text/button are you talking about...

Please specify...
0
 

Accepted Solution

by:
jagguy earned 0 total points
ID: 39232990
Any buttons, it doesnt matter as you cant see any well.

media queries dont work or dont work well with modern smart phones as the screen sizes are huge in dimensions. Iphone5 is 1136 x 640 pixels so the idea of displaying a webpage for a phone with 480 or 320 px is long gone.

My xperia arc display for landscape was just terrible and in portrait it doesnt display like it does on a resize browser on a PC.

It isnt that east to simply increase the font size as you also need to increase the heights, and other factors. I wont be able to simply create a webpage for a screen size and assume it will display on a PC .

The solution  I have found is to create a separate website for phones only with jquery mobile.
Unless there is another easier way I think media queries will have come and gone without them really being embraced.
0
 
LVL 10

Expert Comment

by:Ishaan Rawat
ID: 39232996
As you wish...
0
 

Author Comment

by:jagguy
ID: 39233610
There is another solution or better solution?

This forces a website width. Is this another way i dont know about? Can i force a website width so I always get a 480 width display?

http://www.mobilephoneemulator.com/
0
 
LVL 10

Expert Comment

by:Ishaan Rawat
ID: 39234208
Yes you can do that..

body{
    width: 480px !important;
    margin: 0 auto;
}

Open in new window

or

html{
    width: 480px !important;
    margin: 0 auto;
    padding: 0;
}

Open in new window

0
 

Author Closing Comment

by:jagguy
ID: 39249708
The solution is jquery mobile and media queries. (there is no clear answer)
0

Featured Post

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Suggested Courses

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question