Solved

mobile webpage displays is bad

Posted on 2013-06-08
10
309 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …

749 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