Hello,
I just built an opt-in page here:
http://freedomfreelancewriting.com/
My problem is that the page is left justified and I want it to be centered in the browser. Can someone tell me how to do this?
Thanks
Nathan
Printable View
Hello,
I just built an opt-in page here:
http://freedomfreelancewriting.com/
My problem is that the page is left justified and I want it to be centered in the browser. Can someone tell me how to do this?
Thanks
Nathan
Try changing:
<div id="container">
to:
<div id="container" style="margin:0px auto; text-align:center;">
I don't normally click posted links because of this (post #2).
But I use something like this to centre the content of my web pages.
Code:
<style type="text/css">
#wrapper {
width: 70%;
margin: 0px auto 0px auto}
</style>
<body>
<div id="wrapper">
<!-- put all your page content in here -->
</div>
</body>
Thanks, that seems to have done the trick. I'll know for sure once I upload it. Still, so far, so good.
Nathan
no problem - happy to help :)