Centre using Auto Margins


/ Published in: CSS
Save to your folder(s)

Taken from bluerobot. Create a content div, set the width and the margin set to auto will align the div to the centre horizontally.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.