#leftBlock { margin-left: auto; margin-right: 5px; } #rightBlock { margin-right: auto; margin-left: 5px; }