View Full Version : code, something...?


chocolatxbliss
01-21-2006, 11:17 PM
hey um do you guys know how like big web sites manage to keep the same layout throughout the entire website? like, if they had to change it, i'm pretty sure they don't go around and change every single page...is there such a thing? or do they really go around and change every single page, cause i really doubt it........

Phillip
01-21-2006, 11:29 PM
hey um do you guys know how like big web sites manage to keep the same layout throughout the entire website? like, if they had to change it, i'm pretty sure they don't go around and change every single page...is there such a thing? or do they really go around and change every single page, cause i really doubt it........


mmm some use IFRAMES!

harmor
01-21-2006, 11:55 PM
CSS is the answer.

djou
01-21-2006, 11:59 PM
Like harmor said. Avoid all presentational tags and attributes (like <font>) and use an external stylesheet.

J-man91
01-22-2006, 12:47 AM
Also, they might use includes too.

chocolatxbliss
01-28-2006, 02:57 AM
what are includes?

djou
01-28-2006, 03:40 AM
what are includes?

There are two types of includes. SSI (Server Side Include), done with SHTML and PHP Includes. Lissa has tutorials for both (http://www.lissaexplains.com/html6.shtml).

harmor
01-28-2006, 04:38 AM
Includes are used for code that your repeat throughout your site.
Let's say for instance you had a header with all the links.
Instead of having to add the links in every html file you can just have it seperate.
If you want to add something to the header you just edit that one file an it will change throughout the whole site.

Includes are not used for style (unless you use php for use of variables).
An external CSS file will be do the job.