Click here to Skip to main content
15,885,914 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I know this is a very vague and generic question, sorry for that.

I'm updating a web page and I'm trying to find out why some fonts are looking good in my phone and why other fonts are looking very small.

In all the desktop browsers I've tested (chrome, firefox, edge, ie, opera) everything looks perfect.

The only specified fonts in the CSS file are those ones: "font: 11Pt Arial, Helvetica, sans-serif;" all the other ones are the default.

Is there any tool that could help me seeing what is going on?

This is happening only in chrome for android...

The Samsung web browser works fine...

Thank you all for any pointer...

What I have tried:

double check the code, search the internet...
Posted
Updated 29-Jan-17 22:14pm
v3
Comments
Which fonts? Have you checked if they are supported in mobile chrome?
Joan M 30-Jan-17 4:14am    
In the CSS file: "font: 11Pt Arial, Helvetica, sans-serif;"
Suvendu Shekhar Giri 30-Jan-17 0:56am    
You haven't mentioned the fonts in question.
Joan M 30-Jan-17 4:14am    
In the CSS file: "font: 11Pt Arial, Helvetica, sans-serif;"

1 solution

You can't expect a desktop-fitting page to show as it is and looks right on smaller screen devices such as mobile phones, this is the area for HTML Responsive Web Design[^]
More reading:
1. The Three R’s of Responsive Web Design[^]
2. Responsive Web Design Basics  |  Web  |  Google Developers[^]
There are device emulators included in the developer tools of most modern browsers to simulate testing on real mobile devices virtually.
To launch the developer tools, press CTRL+SHIFT+I on Google Chrome and Firefox, You can toggle the device toolbar on which you can select different device types, screen configurations and rotations to test your web pages.
 
Share this answer
 
Comments
Joan M 30-Jan-17 4:33am    
Thank you Peter, in fact everything was looking exactly as it should, but some of the fonts.

After reading your first link, I've added "<meta name="viewport" content="width=device-width, initial-scale=1.0">" in my code and now everything looks perfect.

Thank you.

Answer accepted.

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