English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

hi, i have a website which has a pretty nice website layout. my question is, is there a way i can have the layout work for each page i create instead of me having to insert the html and graphics manually in each new page i create?

2007-04-06 02:19:06 · 5 answers · asked by zasshi 2 in Computers & Internet Programming & Design

5 answers

Use a templating language and stylesheets.

Since about the turn of the century, support in browsers for CSS has been pretty good. This lets you keep your HTML slim and your style information in a separate file that can be reused by multiple pages (and only downloaded, and then cached, once by each client).

http://www.htmldog.com/guides/cssbeginner/

A templating language lets you reuse those bits of common content that appear on multiple pages without having to keep them all upto date manually.

http://allmyfaqs.net/faq.pl?Include_one_file_in_another

Avoid Frames. They have serious usability problems and produce pretty poor results in search engines.

http://allmyfaqs.net/faq.pl?Problems_with_using_frames

2007-04-06 02:22:09 · answer #1 · answered by David D 7 · 2 0

I had a similar situation for several pages. I started with a master page, then used a PHP script, passing parameters for each page to be generated. (Understand, it was a *very* small client site, so I could get away with it. I suspect it might get overwhelming for a medium or larger site...)

2007-04-06 05:21:52 · answer #2 · answered by fjpoblam 7 · 0 0

I purely examined it. Your website works astounding on a 800x600 decision, and the horizontal scroll is minimum on a 640x480 decision. purely about everybody makes use of 800x600 or up now, you've now no longer some thing to be demanding about.

2016-10-17 23:31:35 · answer #3 · answered by ? 4 · 0 0

use frames - then just the text can change in the main frame of each page

2007-04-06 02:23:01 · answer #4 · answered by T F 4 · 0 1

you just have to use cascading stylesheets.

2007-04-06 02:32:00 · answer #5 · answered by Anonymous · 1 0

fedest.com, questions and answers