Site elements centered using Firefox, but get all smashed up on the left using IE... what gives?

briandmc
avatar
rank newbie

newbie


Posts: 1
Joined: 2008-08-28

Hi all --

I am trying to make a site for our non-profit soccer team, and so far I've been able to make something that is centered in FIREFOX, but that when viewed with IE, all the elements get squished on the left side of the page.

Link to the page:

www.fcdsbh.com/index.html

Can somebody please suggest a fix for this? We're trying to get the site to go live in just 4 days, as the start of the season is this weekend!

Thanks,
Brian

Tony
Tony's picture
rank Moderator

Moderator


Posts: 2808
Joined: 2003-03-12
Location: Brisbane

Hi briandmc, To center the

Hi briandmc,
To center the page in IE you need to use text-align:center; on the body and override that on the inner elements with whatever you want the text-align value to be.

You should find lots of other posts here explaining how it's done.

Hope that helps.

Your question may have already been answered, search and read before you ask.