php - I downloaded the company's code, but the web page style is missing, please help
typecho2017-06-23 09:11:27
0
5
781
I use the ci framework and wamp environment. When I download the code and run it locally, it works fine, but the style cannot come out. Why, please help me.
Maybe the css file is imported with an absolute path, and your local computer cannot access that computer. You need to press F12 to view the css file path
See if the style is imported
Open the developer tools, press F12 in the window, switch to network, and see if the css file is loaded
Maybe the css file is imported with an absolute path, and your local computer cannot access that computer.
You need to press F12 to view the css file path
Check the code and see the style introduction
The imported
css
file reports404
, which basically confirms that yourimport path
is wrong