I have the following Html code
Team
#team { margin: auto; width: 400px; }
Basically margin depends on width if and only if we want to show our div in the center of the page.