We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Why does FF render html / javascript code one way on my computer, but differently after the code is ftp'ed to my website?

more options

I prepared an index.html file, an associated javascript file, and an associated index.css file. When these were tested on my computer using FF, the code rendered pages as expected. However, after these files were uploaded to my website, they rendered pages differently when accessed with FF, e.g., realignment of text, etc. Why would FF render code one way on my local computer and another way on a new website?

This happened

Every time Firefox opened

I prepared an index.html file, an associated javascript file, and an associated index.css file. When these were tested on my computer using FF, the code rendered pages as expected. However, after these files were uploaded to my website, they rendered pages differently when accessed with FF, e.g., realignment of text, etc. Why would FF render code one way on my local computer and another way on a new website? == This happened == Every time Firefox opened

All Replies (1)

more options

Is the file path to those "associated" files correct for the server you uploaded to?