by Monadic-Cat · 3y ago · 0 comments
document.getElementById('wrapper').style.margin = '0 auto';
Though if you're in the habit of customizing sites you read, I'd personally recommend using a browser extension like Stylus (https://add0n.com/stylus.html) to do CSS, so you could write it like this: #wrapper {
margin: 0 auto;
}No comments yet.