Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

mobile webpage displays is bad

Posted on 2013-06-08
10
Medium Priority
?
315 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
Industry Leaders: 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

The top UI technologies you need to be aware of

An important part of the job as a front-end developer is to stay up to date and in contact with new tools, trends and workflows. That’s why you cannot miss this upcoming webinar to explore the latest trends in UI technologies!

Question has a verified solution.

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

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

721 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