By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,288 Members | 1,139 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,288 IT Pros & Developers. It's quick & easy.

Page looks good in Firefox, but misaligned in IE, need suggestions.

P: 8
I am creating a website for a company, and it looks fine in Firefox, but when I look at it in IE, it is not centered. I am using dreamweaver MX, and can't see why it is doing that. Any suggestions?

The site is
Nov 30 '06 #1
Share this Question
Share on Google+
3 Replies

Expert 5K+
P: 7,435
You will never get IE to attempt to perform like modern browsers, such as Firefox, without a proper doctype. Use this one:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"

Then validate your html and css for any errors.
Nov 30 '06 #2

P: 8
I put that in, and now even in firefox it looks all messed up, so I took it back out. All my tables were stretched and not center anymore.
Nov 30 '06 #3

Expert 5K+
P: 7,435
Because you changed the rules. You establish the rules by using a doctype. Right now you have the browsers in quirks mode and this is a bad thing.

Put the doctype in, validate your code and fix your errors, get it working in Firefox, then we can adjust for IEs quirks and bugs.

As you have it now, it will be very difficult to get it to work in both browsers since IE is so screwed up.
Dec 1 '06 #4

Post your reply

Sign in to post your reply or Sign up for a free account.