You will need to have a shell inside another shell to make it work. External can have the following CSS:
#wrapper {
min-width: 320px;
max-width: 480px;
}
And inside inside will be the following:
#inside-wrapper {
min-width: 300px;
max-width: 460px;
margin: 0 auto;
}
You can still use margin: 0 auto;
source
share