Click to See Complete Forum and Search --> : Stylesheet??


stormrevolution
12-16-2003, 07:03 PM
Got a rather large website which im fed up with updating page by page...

Just wondering if i could use sytlesheets, so all the content round the edges (basicly the template of the site, navagtion, forms, logos, etc..etc..) is contained in a stylesheet which would then be loaded up when people visit each page. so when they visit aboutus.htm the info for that page would already be there but then it would load the stylesheet.

Also, if i did this could it load a .htm or .html document as the stylesheet or is there another way where it would load a .htm or .html document to be used as a template for the site??

Cheers for your help, sorry if you get confused!

pyro
12-16-2003, 08:01 PM
Not with stylesheets, no. But, you could use PHP includes (http://www.webdevfaqs.com/php.php#include) to do this.

ray326
12-16-2003, 10:15 PM
A whole lot of the LOOK of what you describe (the layout of the pages, look of the content, behavior of the menus and links, etc.) could be defined globally in style sheets. The CONTENT inserted into each page, however, requires some other mechanism like server side includes (SSI), scripting includes (ala PHP or ASP) or some sort of template engine. If none of those "back end" devices are available to you then you MIGHT be able to make use of some client device based around iframes or such.