Very newb question
-
Hey all, I had a really beginner question for you as I somewhat come ino more and more interesting things with web development. Suppose I have a website where every page has the same look and feel (e.g. A header which has a picture and some text or something). Suppose that I place this template on all pages, but one day I decide to change this template. What is the best way to set up such a system where this would be easy? Also, what if I wished to change the css styles throughout the actual pages of content themselves (i.e. a global css change). Is there a way to do this? Thanks so much! Did I post well? Rate it! Did I post badly? Rate that too!
-
Hey all, I had a really beginner question for you as I somewhat come ino more and more interesting things with web development. Suppose I have a website where every page has the same look and feel (e.g. A header which has a picture and some text or something). Suppose that I place this template on all pages, but one day I decide to change this template. What is the best way to set up such a system where this would be easy? Also, what if I wished to change the css styles throughout the actual pages of content themselves (i.e. a global css change). Is there a way to do this? Thanks so much! Did I post well? Rate it! Did I post badly? Rate that too!
1. Have a header.asp (or whatever scripting language you are using) and a footer.asp that contain the (amazingly enough) page headers and footers. Include them on every page. Siteside changes are a matter of changing one file. 2. Have a stylesheet.css (name it whatever you want) and reference it in every page html header (the [head] [/head] area NOT the page header from 1. above).