开发者

Unable to properly view 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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜