Is it considered wrong or frowned upon to center a webpage horizontally by adjusting CSS properties of the HTML tag?
Sample CSS code:
<style type="text/css">
html
{
width: 1200px;
margin: 0px auto;
background-color: Gray;
}
body
{
background-color: red;
}
</style>
Sample HTML code:
<body>any content can be placed here...</body>