Click to See Complete Forum and Search --> : Firefox and not displaying div correctly


kevdog98
10-10-2006, 10:02 AM
Hi,


I have a problem getting this page 205.158.143.230/aboutupc.asp to display correctly in firefox when the links on the left nave are clicked. It displays perfectly fine in IE, Is there any easy way to fix this?


Thanks.

Kevin

drhowarddrfine
10-10-2006, 10:20 AM
It displays 'perfectly fine' in IE because you wrote it for IE which is old, buggy and non-standard. You don't have a doctype which puts IE into quirks mode and a broken box model. You will never get IE to try to perform like a modern browser, such as Firefox/Opera/Safari/Konqueror/anything but IE, without a proper doctype.

The first thing you must do is add a proper doctype. See my link below. Use html4.01 strict. Then validate your html and css and see what errors you get. Then come back.

kevdog98
10-10-2006, 02:55 PM
Hi,

I used 4.01 loose, for the reason of the iframes, and I fixed the errors after I ran the validation. But it still works fine in IE, but not in firefox. Anymore suggestions? Thanks for the help.

Kevin

kevdog98
10-10-2006, 02:59 PM
Sorry please use this url instead to acess the site. http://205.158.143.230/ministries.asp

KDLA
10-10-2006, 03:00 PM
Am I missing something? The link takes you to a page that does not have a DOCTYPE and several errors: http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2F205.158.143.230%2Faboutupc.asp
KDLA

kevdog98
10-10-2006, 03:19 PM
I'm sorry I posted the wrong link try this one: http://205.158.143.230/ministries.asp

drhowarddrfine
10-10-2006, 07:02 PM
Heading out the door but you still need to fix your CSS errors. (http://jigsaw.w3.org/css-validator/validator?profile=css2&warning=2&uri=http%3A%2F%2F205.158.143.230%2Fministries.asp)

kevdog98
10-11-2006, 04:23 PM
Ok,

I fixed the errors in the CSS, but it still does not work or look correctly in Firefox. Do anyone have any other suggestuions or help?


Thanks for all your help.

Kevin

drhowarddrfine
10-11-2006, 05:18 PM
It works the same in IE and Firefox from what I can tell but it's still not right, yes. I told you to use a strict doctype, not loose, but I don't know that it matters here.

kevdog98
10-11-2006, 05:59 PM
So, In Firefox it looks the same as it does in IE for you? Have you clicked on the links on the left nav? try the links under Adult. In IE they work in Firfox they make the pag look really bad after they are clicked. I will try the strict doctype, but does that doctype support iframes?

KDLA
10-11-2006, 07:35 PM
So, In Firefox it looks the same as it does in IE for you? Have you clicked on the links on the left nav? try the links under Adult. In IE they work in Firfox they make the pag look really bad after they are clicked. I will try the strict doctype, but does that doctype support iframes?

When you say that it "doesn't work," are you referring to the menu remaining in place, while the rest of the page "moves" when you scroll?

Could be some javascript problem: you sure do use alot of it in your document. You might try linking to it (or stripping some of it out). Also, I'd check to see if any of one thing is counteracting another.