4 replies [Last post]
hurley_0016
Offline
newbie
Last seen: 16 years 21 weeks ago
Joined: 2005-06-01
Posts: 2
Points: 0

I'm trying to clean up this web site but I encountered a problem with Internet Explorer. This page looks fine in Firefox but whenever i open it in Internet Explorer the imgaes and text move around.
If someone could please help me trouble shoot this it would be greatly appreciated!!
Andrew

This is the page
==> http://cmapm.com/CMAHome2.html

briski
briski's picture
Offline
Elder
London
Last seen: 9 years 19 weeks ago
London
Timezone: GMT+1
Joined: 2004-02-16
Posts: 1066
Points: 0

Can Someone please help me?

You don't have a full doc type. This causes problems with IE and throws it into what is known as quirks mode which means it used an old rendering engine and gets things wrong.

Put a full doctype on, validate code and then see how it looks.

read

http://www.alistapart.com/articles/doctype/

for more details on which doctype to use.

hurley_0016
Offline
newbie
Last seen: 16 years 21 weeks ago
Joined: 2005-06-01
Posts: 2
Points: 0

Still having Problems

I'm sorry if this is a dumb question but what exactly does validating the code consist of? I tried putting in the doc type and saving it but the page was still messed up in internet explorer.

Thanks For The Help,
Andrew

HellsBells
HellsBells's picture
Offline
Leader
Bedford, UK
Last seen: 13 years 25 weeks ago
Bedford, UK
Joined: 2004-04-07
Posts: 851
Points: 0

Re: Still having Problems

hurley_0016 wrote:
I'm sorry if this is a dumb question but what exactly does validating the code consist of? I tried putting in the doc type and saving it but the page was still messed up in internet explorer.

Thanks For The Help,
Andrew

Hi Andrew

Don't worry - everyone has a first trip to the validator http://validator.w3.org/ Just be aware that it may become your second home for a while!

You plug your url into the box and hit go then the validator checks to see if you've used code that's valid according to the doc type you've applied. If it doesn't like any of the code then it'll spit back a list of problems. Work through them one by one - correcting any errors and retry validating frequently as sometimes solving one problem solves the lot in one go.

Once your code is valid then it's easier to sort out any other problems of layout or cross-browser issues.

Good luck!

My strategy is so simple an idiot could have devised it!

"Also, your CSS (no offence) makes me want to gouge my eyes out with a rusty spoon" - TPH

EOBeav
EOBeav's picture
Offline
Regular
Pendleton, Oregon
Last seen: 15 years 3 weeks ago
Pendleton, Oregon
Timezone: GMT-7
Joined: 2004-08-06
Posts: 49
Points: 0

Can Someone please help me?

Along those same lines, a correct doctype heading will often take care of several of the validation issues at w3. It was about a year ago that I tried validating with a site produced exclusively by a WYSIWYG editor, and you can imagine all of the problems I ran into with that. It was about that time that I decided it was time to learn some html/css and try to do it by hand. As a result, I've vastly improved the look of my pages and my own coding skills.

Get Thunderbird!