Jump to content

Template Inheritance


FishFin

Recommended Posts

I want to create a XHTML web page template that I can link somehow to child web pages. If the web page template design changes I want the additional child pages to update automatically. This is my current DOCTYPE: <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN""http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> I have already created the page I want to use as a template in XHTML with CSS stylesheet using Notepad ++. The only changes that I need to do with each child page are copy and paste an iframe into the body/container. The child pages do not require any design changes. Any information on creating templates and child pages would be greatly appreciated. Thanks

Link to comment
Share on other sites

It sounds like using a server-side include (like PHP) or AJAX might be more practical ways of being able to inject content straight into a page with templated markup already made.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...