By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,251 Members | 2,727 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,251 IT Pros & Developers. It's quick & easy.

css is not working in localhost

P: 1
i kept html file and css file inside xampp htdocs while opening a website through localhost(eg localhost/file.html) css is not working but if i opened through browser it work although i put a link of css file inside htdocs.

please help me.
1 Week Ago #1
Share this Question
Share on Google+
2 Replies


dev7060
P: 90
Show the part of the code that shows the linking of external style sheet.
1 Week Ago #2

P: 2
The first thing I would look at is whether or not it's a path issue with your styleheets. Use web inspector or dev tools in your browser and look for a 404 error in your CSS files. If there are any, dev tools will show the path it's looking for and you can adjust the path to your style sheets accordingly.

Good luck!
1 Week Ago #3

Post your reply

Sign in to post your reply or Sign up for a free account.