|Website not loading properly!|
website not loading in firefox
I'm new to the whole web development thing, and am experiencing some problems with the site i'm working on.
Firstly, the 2 pages load ok in IE but not mozilla or netscape. I have validated both the xhtml and css.
Secondly, you may notice from the source code that there is no DOC!type info? This is coz the site just fails to load properly if i put it in!
Someone help...? Thanks.
<Sorry, no personal URLs. See TOS [webmasterworld.com]>
[edited by: tedster at 1:12 am (utc) on Oct. 1, 2004]
Welcome to WebmasterWorld [webmasterworld.com], weemel.
Firstly, you might want to review the Terms of service [webmasterworld.com] for the forum, which in particular does not permit personal URLs. You should edit your post if possible.
Having said that, I had a look at your site and in particular the stylesheet. There are several errors which cannot be identified by the validator, because they are related to the paths for your background images.
You have two problems: firstly, you are using a backslash "\" instead of a normal slash "/" in your paths. IE might accept this, but Mozilla certainly won't.
Secondly, you are referencing some images where the path is obviously local to your computer - starting with D:\ - these need to be corrected to give the correct paths to the images on the server.
Once you've got all those sorted out, then you have a good chance of your site working.
Try going to [validator.w3.org...] and validating your webpage or website.
I've found whenever I've had Firefox problems, the issue has arisen out of poor coding which the free W3C validator picks up.
Also, in following the validator's recommendations, you stand to learn how to make cleaner HTML in future.
This may not be actually true, but I get the impression that Firefox is much stricter about how it interprets HTML coding and won't let you get away with shady code as much as Internet Exporer.
(I'm not trying to imply that your coding is bad by the way, but the validator is worth a shot!)
Thanks for your help.
I've corrected the offending paths and validated the codes again (apart from css: there's an error which i don't quite understand: "parse error -none"?), but the site is still not working. Worse, it's not working in IE now that i've put in the!DOC type! Please help...