Tech Support Forum banner
Status
Not open for further replies.
1 - 2 of 2 Posts

·
Registered
Joined
·
193 Posts
Discussion Starter · #1 ·
Hello everyone,

I'm having some trouble making my webpage center align. I'm using the

margin: auto;

style in my CSS but it still won't align my page. It's really frustrating because this method works on my other website.

Please see attached my index and style txt files.

Thanks.
 

Attachments

·
TSF Team, Emeritus
Joined
·
2,367 Posts
In the CSS: margin: auto; needs to be under #content, not body.

Place a text-align: center under body, and text-align: left under #content. This will ensure that the text displays correctly in IE < 6
 
1 - 2 of 2 Posts
Status
Not open for further replies.
Top