I've been attempting to center the body of my content by applying margins on both sides. However, no changes seem to occur when I add margins to the body tag.
I managed to find a workaround by creating a div element to contain the body content and adjusting the margins for the div instead. But I'm quite particular and would prefer to directly manipulate the body itself. How can I achieve this?
Here's the style sheet code. It's pretty straightforward...
body {
margin-left: 100px;
margin-right: 100px;
}