In my limited experience I find CSS examples always make things look simple, but then in reality I'm forced to do something stupid like this for a 400px canvas:
left: 50%;
margin-left: -205px;
border: 0px;
width: 410px;
Because when sized to 400px it always clips 10 pixels of the canvas.