CSS Alignment

driveflexfuel

New Member
Messages
159
Reaction score
0
Points
0
I am fairly new at working with CSS and im trying to center align my website.

I have it set to look nice in 1024 X 768 visuals but if someone is looking at it with larger visuals it appears to the left.

If someone could give me a hand the I would highly appreciate it.

Website: www.driveflexfuel.com

CSS Document: www.driveflexfuel.com/stylehome.css

Thanks for any help
 

moltes

New Member
Messages
74
Reaction score
0
Points
0
hi,

try with

margin: 0px auto; in body {} in your css file.

Edit:
another solution to make it nicer:

in the html/php file:

<body>
<div id="content">
...
</div>
</body>

in the css file:

#content {
margin: 0px auto;
width: 905px;
}
 
Last edited:
Top