I'm doing my first responsive design using "div's" instead of table but can't figure out how to center the web page on the screen. Can anyone help?
Here is the site in progress:
http://marketyouredge.com/Berta2014/index.php
Thanks,
center web page - Post ID 232212
In your: stylesheets/default.css try changing this:
body {
width: 100%;
max-width: 960px;
margin-left:10px;
position: relative;
border: none;
}
to this:
body {
width: 100%;
max-width: 960px;
margin: 0 auto;
}
body {
width: 100%;
max-width: 960px;
margin-left:10px;
position: relative;
border: none;
}
to this:
body {
width: 100%;
max-width: 960px;
margin: 0 auto;
}
Per
www.mingas.com
www.mingas.com
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.