Center content

mahlerwd

New Member
Messages
13
Reaction score
0
Points
0
I know its probably a simple code change, but i dont know how to center my page. The whole thing is aligned to the left, and I want to know if its possible to center it.

The main page is www.mahler.x10hosting.com
If you guys tell me how to change that i can change it on the rest of the pages...

also. is there anyway i can make the corners rounded instead of pointy?

thanks for your time
 

supajason

Member
Messages
288
Reaction score
2
Points
18
your div "container" is not wrapped around anything!

Delete "red"
<body>
<div id="container"></div>
<div id="top"></div>

Insert "red"
</div>
</div>
</body>
</html>
 

theafterthought

New Member
Messages
94
Reaction score
0
Points
0
<div style="text-align:center;margin:auto">
Your page content
</div>

text-align:center will sort it for IE, but you'll need the margin:auto for firefox users.

You'll need to use css to create your rounded borders - this site has a pretty clear explanation: http://www.html.it/articoli/nifty/index.html

Hope that helps!
 
Last edited:
Top