What would be the best way to make a website(php include/js)?

faro190

New Member
I am building a website which will have:
  • Same header/footer for all the pages
  • Different main content
I tried iframes but I got into some issues so I want to create the same functionality by using a main DIV for the content.Problems:1) When using PHP include or Jquery to load my html pages inside the div, my external css files do not get included.2) Main problem is this: When using one of the 2 ways above, the links on the external html pages load on new tabs, but I want them to load on same main DIV of the parent(index.html) page.
 
Back
Top