View Full Version : Html Or Css Problems ?!?

05-14-2009, 04:59 PM
Ok I've been trying to figure this out for a while...

Pages look fine in IE, but format is wrong in FF?

take a look in IE then try FF...

the format with the colored borders and text above and below image isn't correct in Firefox...

any ideas??? Please help!!

download files here to see what's wrong with the coding...

I've validated HTML and CSS coding and know of the errors that I purposely put there.
But CSS codes are fine.
HTML codes has errors, but it's stuff like <!a href which i put there temporarily until it gets filled in.

05-14-2009, 05:06 PM
The problem, as always, is IE. Firefox is performing correctly. You have "stuff" before the doctype on your page. This throws IE into quirks and it won't attempt to perform like other more modern browsers like Firefox. Remove everything in front of the doctype.

Also, your doctype is incorrect. It should be this (if you insist on using xhtml):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

05-14-2009, 05:11 PM
You need to fix a few errors first:506 Validation Errors (http://validator.w3.org/check?uri=http%3A%2F%2Fsehanafortress.com%2Fent%2Fent0-2cmsn.html&charset=(detect+automatically)&doctype=Inline&group=0)

Run your CSS through the validator too. You have many errors in that as well.