I am making a page from a template.
This is my first try at it.
The page first displayed correctly in FF, but would not work in IE, then I made some changes (not even sure really what I did)
But now the page only displays in IE & Chrome but NOT FF.
Any suggestions what to check???
Thanks!

Dani AI

Generated

A focused checklist and quick debug workflow to find why a page that once worked in Firefox now only renders in IE and Chrome. As noted, a URL or a minimal code sample speeds diagnosis; and was right to push validation — start there, then try the targeted checks below.

  • Confirm the very first bytes of the HTML. A standards DOCTYPE is best; make sure nothing (not even a BOM or stray whitespace) appears before it:

    <!DOCTYPE html>
  • Look for unclosed comments or blocks. An unclosed HTML comment or an unclosed CSS comment in a linked stylesheet will commonly stop Firefox from parsing the rest of the document:

    <!-- forgot to close this comment
    /* unclosed CSS comment
    .site { margin:0; }
  • Use Firefox Developer Tools (Console + Inspector + Network). Console errors (parsing, XML, or JS) and failed network requests for CSS/JS will be visible there. Firefox is stricter about some parsing and MIME rules.

  • Check markup structure with the DOM inspector. Browsers recover from malformed HTML differently; look for elements that end up nested or discarded in Firefox but not in Chrome.

  • Isolate the change: revert to the last known-good copy or create a reduced test page that reproduces the problem. Apply recent edits one-by-one (binary search) to find the offending change.

If those steps don’t find it, post a reduced, self-contained test case (the minimal HTML + the related CSS) and the exact Firefox version and OS. That will let others reproduce the failure quickly and point to the exact line or rule that breaks Firefox.

Recommended Answers

All 2 Replies

We need to see some code or a link to the site before anyone can make a suggestion on what might be the problem preferably both.

Before you do anything else, check with http://validator.w3.org that your code is correct. If it isn't, fix it, then post a URL here if there are still problems.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.