Home > front end >  So the introduction of CSS path right? Why not show out of style?
So the introduction of CSS path right? Why not show out of style?

Time:01-19

Web page HTML files and assets folder in the same directory, CSS style but have not introduced, where is the problem?

CodePudding user response:

Put the three CSS and HTML alone a folder, remove the path was introduced successful show style, but many of the web is need to introduce the three CSS files, the path is the same, don't show the style

CodePudding user response:

The first character of the path "/" said that the current disk or the root directory of the web sites, if your assets are not in the root directory of natural right

CodePudding user response:

refer to the second floor sky waves reply:
the first character of the path "/" said that the current disk or the root directory of the web sites, if your assets are not in the root directory of the natural right
assets in the root directory, HTML web pages in the root directory, the path is not introduced into

CodePudding user response:

File names, no Spaces, assets files in the root directory, is the introduction of CSS is not successful, only put three CSS files separate HTML directory to remove the path to introduce successful, don't know where the problem is, doubt wrong path, but the path that's right,
  • Related