css disapears when trying to create clean url's

后端 未结 1 1126
野性不改
野性不改 2021-01-17 00:56

I\'m trying to implement clean url\'s to my website, but I\'ve runned into a problem. When i\'m trying to load just the default url feks: www.example.com, everything works a

相关标签:
1条回答
  • 2021-01-17 01:32

    You must use absolute links:

    <link href="http://www.example.com/css.css" rel="stylesheet" type="text/css">
    

    or add in the <head>:

     <base href="http://www.example.com/">
    

    or

     <base href="/">
    
    0 讨论(0)
提交回复
热议问题