This is a modern solution that is more flexible: setting the maximum width allows you to reduce the column when displayed in a narrow viewing window. It also uses rem , which is the width of characters and the best block for text. This is 20rem in the example to run in this layout, but something like 60 to 80 is usually recommended for lines of text.
p { max-width: 20rem; margin: auto; }
<html> <body> <p> AT&T and Johnson & Johnson, among the biggest advertisers in the United States, were among several companies to say Wednesday that they would stop their ads from running on YouTube and other Google properties amid concern that Google is not doing enough to prevent brands from appearing next to offensive material, like hate speech. </p> </body> </html>
source share