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

My css is not showing on live server (firefox default browser) on vscode

When i hit go live on vscode(firefox default browser) it only shows my html but if i open the file with chrome it does shows my css...why is that happening and how can i fix it?

When i hit go live on vscode(firefox default browser) it only shows my html but if i open the file with chrome it does shows my css...why is that happening and how can i fix it?

Chosen solution

Make sure that you aren't loading local files, but that all links to load additional files are relative links that start with the directory where the HTML file is located (i.e. do not go back via ../).


You can check the Web Console (Tools -> Web Developer) for messages about blocked content and about the presence of mixed or unsafe content.

You can check the Network Monitor to see if content is blocked or otherwise fails to load.

If necessary use "Ctrl+F5" or "Ctrl+Shift+R" to reload the page and bypass the cache to generate a fresh log.

Read this answer in context 👍 2

All Replies (2)

Chosen Solution

Make sure that you aren't loading local files, but that all links to load additional files are relative links that start with the directory where the HTML file is located (i.e. do not go back via ../).


You can check the Web Console (Tools -> Web Developer) for messages about blocked content and about the presence of mixed or unsafe content.

You can check the Network Monitor to see if content is blocked or otherwise fails to load.

If necessary use "Ctrl+F5" or "Ctrl+Shift+R" to reload the page and bypass the cache to generate a fresh log.

Thank you.. ur right my problem was solved