4 ms·
Are you on mobile? It centres perfectly fine for me on desktop. The linked CSS file uses this method: body { max-width: 844px; margin-left: auto;
by vanderZwan 9y ago
Are you on mobile? It centres perfectly fine for me on desktop. The linked CSS file uses this method:
body {
max-width: 844px;
margin-left: auto;
margin-right: auto;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
I guess wrapping the whole article with a div with 0.5em margin would fix it on mobile.
- caleblloyd 9y agoAh they are using margin:auto to center. I thought it must be an override since most user agents include a default body margin. Yes I'm on mobile. My OnePlus 5 hides the first one or two pixels under the bezel if looking at it straight on, so the first character on each line gets a little cutoff. Not sure if this is just my model or if other phones do this also.
- vanderZwan 9y agoEither way the conclusion is the same: websites should have a minimum margin! I'm sure the author of the website is receptive to this feedback, so I sent an email. Also, Firefox (and Safari on iOS) should have "view text-optimised version" button in the URL, maybe that would help you here? I don't know if other browsers have it though.