Is it bad or totally wrong to get a horizontally centered page by tuning CSS properties of html tag?
css code snippet:
<style type="text/css">
html
{
width: 1200px;
margin: 0px auto;
background-color: Gray;
}
body
{
background-color: red;
}
</style>
html code snippet:
<body>any contents go here...</body>