Click to See Complete Forum and Search --> : firefox not including css


oneillc9
08-14-2006, 09:47 AM
Hi,
I have created a jhtml page that works fine in IE 6.0.2900 but when I open it in firefox it does not use any of the styles from the stylesheets and looks all out of shape. I know firefox seems stricter that ie in how it demands its code to be written but can anyone let me know the main points that I should be looking for in trying to fix my code. Commenting was one area that firefox seemed not to compromise on.

Thanks

Charles
08-14-2006, 10:00 AM
Start with everything valid: http://validator.w3.org/

drhowarddrfine
08-14-2006, 10:32 AM
I know firefox seems stricter that ie in how it demands its code to be written but can anyone let me know the main points that I should be looking for in trying to fix my code.Firefox is not strict. It just follows the standard like all browsers do except IE. Rule 1: Never, ever code a site using IE. Always use modern browsers such as FF/Opera/Safari, then adjust to IEs quirks and bugs.

oneillc9
08-14-2006, 10:52 AM
the fact that it follows standards makes it stricter, I didn't mean that as a bad thing. It's a good thing, but I am taking over the code for a site which was done in IE and inevitably I have a lot of fixing to do with each of the pages having 1000+ lines of code...

Thanks for the pointers