Reputation: 3168
I have a vertical sidebar navigation menu aligned to the left that has a width of 211px and height of 300px. I then have a container that is 960px wide. Since 211px of the screen width is being taken by the sidebar the container is overlapping with it when i center it using margin: 0 auto;
How can I center the container from the navigation menu rather than the general screen width with a solution where it will appear centered from the navigation menu across all browsers/platforms?
Upvotes: 0
Views: 48