Sunday, December 2, 2007

PHP tempalte + CSS = new website in one day

Just created a new website last night. How can i do that in one day? Here is the answer:


  • CSS:Separate the presentation with content by using CSS stylesheet

  • PHP template:Define website structure using PHP template --all the headers, footer, main menu, sidebar...etc are added by php include

  • Contents:the contents dir will only keep clean page content without any presentation, and site structure.

No comments: