473,473 Members | 1,642 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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

8 New Member
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 www.ebinx.com/carrand/home.html
Nov 30 '06 #1
3 1845
drhowarddrfine
7,435 Recognized Expert Expert
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"
"http://www.w3.org/TR/html4/strict.dtd">

Then validate your html and css for any errors.
Nov 30 '06 #2
Binx
8 New Member
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
drhowarddrfine
7,435 Recognized Expert Expert
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

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

Similar topics

3
by: ashkaan57 | last post by:
Hi, I have a page that looks crooked in Firefox but displays normally in IE. http://www.legalpersian.com The page was designed using Visual Web Developer 2005 (part of MS Vsual Studio 2005...
10
by: Pete | last post by:
I have the following code: <built-in method close of file object at 0xb7cc76e0> The file "temp.html" is created, but it doesn't look like the page at www.python.org. I'm guessing there are...
2
by: ramasubramanian.rahul | last post by:
hi i was doing some tinkering and wrote the following code on a HPUX #include<stdio.h> 2 int main(){ 3 char *buf = malloc( 100 ); 4 int a = * ( int * ) ( buf + 13 ); 5 } this thing prompyly...
9
by: =?Utf-8?B?Sm9obiBCYWlsZXk=?= | last post by:
I have a ASP .Net page that allows moving around items on the page through javascript. This page works fine in IE. In FireFox however, I have found that if the page is using XHTML 1.0...
7
by: amishguy | last post by:
Hello, I am having an issue with a site I'm creating right now. I have had this issue before and I would like to figure out what the solution is instead of using workarounds as I have in the...
1
by: vozzek | last post by:
Hi everyone, It's funny how much you learn while creating a website from scratch. What's not funny is stumbling across the first few bits of code you did and realizing it's absolute CRAP. I need...
3
by: Spizzat2 | last post by:
I've got some javascript that will show or hide an element on the page when a user activates it. The problem I'm having is that the content changes the length of the page, so if the user scrolls to...
3
by: goldenv | last post by:
Hi all, I have worked an open source javascript + html page that has the potential to replace your existing browser home page. If you are interested in trying it out, or learning more about it, it...
8
by: Harvey Schmidlapp | last post by:
I have a fairly complex form (generated by means of an ASP 3 page). The form is used to define a query against a database. After running a query, the user hits their browser's back button and goes...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.