Although my resume website looks great on Desktop, I recently noticed that the HTML paragraph tags do not scale correctly when viewed on various mobile web browsers (refer to the images attached below).
Screenshot 1: Website displayed in Facebook Messenger's integrated web browser.
Screenshot 2: Website seen in Android 7.0's Google Chrome App.
The CSS code I am using for my HTML paragraph tags is as follows;
p {
font-family: 'Lato', sans-serif;
color: #b3b3b3;
font-weight: 400;
line-height: 1.8em;
}
My ultimate goal is to achieve a consistent look across all mobile web browsers similar to screenshot 1. Can someone help me identify the issue and suggest a solution?
EDIT: I unintentionally omitted an important fact; all content on my website is within a table structured like this;
<table width="900" border="0" cellpadding="4" align="center">
<tbody>
<tr>
<td class="background">
<!-- HTML content of the website here -->
</td>
</tr>
</tbody>
</table>
Additonally, I found that I can center my website by utilizing the following CSS and HTML instead of enclosing everything in a table;
#page-wrap {
width: 800px;
margin: 0 auto;
}
<body>
<div id="page-wrap">
<!-- HTML content of the website here-->
</div>
</body>