开发者

Unable to properly view header.php

开发者 https://www.devze.com 2023-03-23 12:30 出处:网络
My directory structure is like t开发者_运维百科his index.php , images , style, menu , header.php ,

My directory structure is like t开发者_运维百科his

  • index.php ,
  • images ,
  • style,
  • menu ,
  • header.php ,
  • pets
    • petsindex.php

When i include header.php for index.php it works but for petsindex.php it is working but stylesheet doesnot work and also images used in header.php don't work


because it's searching stylesheet files in pets/css.css

Try to change

path_to_css.css 

to

/path_to_css.css

along do the same with images. Be sure you have your header.php in root of your web

0

精彩评论

暂无评论...
验证码 换一张
取 消