What could cause the same browser on different PCs to render the same HTML differently?

后端 未结 6 1665
说谎
说谎 2021-02-09 04:18

I\'m stumped. A client and I are both running Firefox 3.0.12 on XP machines. We view the same page in the same browser on different machines and have different results. Note: Al

6条回答
  •  滥情空心
    2021-02-09 04:36

    Since we can't take a look at the site in our own browsers, here is the process that I would use to try to nail down the issue:

    • Start removing code blocks piece by piece until the two browsers look the same.

    • Whichever block of code you last removed that made everything line up perfectly (even if you are missing a chunk from the body), that's near where the culprit is.

    • Since you've found the culprit, place all of the code back. Start messing around with the fonts first off. Change fonts, sizes, remove text, etc. until you can find a condition under which the browsers are the same. If it's not a font issue, start messing around with other parts of it until you've found the condition that matches it up.

    • Once you've done that, you will know your issue and you can work around it.

提交回复
热议问题