Click to See Complete Forum and Search --> : Newbie coding problem help needed


James29690
01-13-2008, 10:03 AM
I hope that some kind soul here will be able to help me with what I am sure are beginners errors..

I have been coding a page and checking progress in ie7, and feeling relatively pleased with my progress. I then decided to check it using firefox, and it resembles... a mess!

I am obviously making some basic errors somewhere, but can't see them for looking. The code is attached and if anyone can help it would be greatly appreciated.

The site itself is at www.mosleyfamilies.net and the page is the feature on Alfred Ibberson.

With many thanks in advance
James

ryanbutler
01-13-2008, 12:48 PM
The site looks the same in IE7 and FF on my machine. Is there something specific that's out of alignment?

James29690
01-13-2008, 01:03 PM
Hi Ryan,
The Feature page about Alfred Ibberson should flow text around the pictures as in ie7. Using firefox, it simply breaks the text to accomodate the pictures, and the captions are displaced away from the pictures.

There are without doubt some simple errors in the code, but I am inexperienced and cannot see what I have done wrong.

Any comments on either code or page styling would be more than welcome.

Many thanks
Martin

Major Payne
01-14-2008, 08:15 AM
You have this as a doc type without the URL part throwing browsers into the Quirks Mode:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

Use <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

Ron