Computing.Net > Forums > Programming > HTML (CSS?) include statement

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

HTML (CSS?) include statement

Reply to Message Icon

Original Message
Name: Hap Rhodehamel
Date: December 26, 2002 at 15:32:27 Pacific
Subject: HTML (CSS?) include statement
OS: W98se
CPU/Ram: P3-450MHz/96MB
Comment:

I have text (links to pages, copyright, and
business info) I want to appear on all 10 pages of the website I'm putting together. I've mastered some CSS, but can't figure how to put common text (say the copyright info at the bottom of the page) on all pages of the website without having to edit each page.

?

Thanks in advance to all the great posters on this board!

Hap


Report Offensive Message For Removal


Response Number 1
Name: Shmanda
Date: December 26, 2002 at 22:27:18 Pacific
Reply: (edit)

What you are talking about is known as SSI (server side includes). The syntax is

This way you can just put the include file in the root folder. If you use the other way the file should be in the same folder as the page that calls it.


Report Offensive Follow Up For Removal

Response Number 2
Name: Shmanda
Date: December 26, 2002 at 22:30:47 Pacific
Reply: (edit)

Argh! I forgot that html won't show up here ... let's try this again, take the dot in front of "include" out to get it working...

What you are talking about is known as SSI (server side includes). The syntax is

This way you can just put the include file in the root folder. If you use the other way the file should be in the same folder as the page that calls it.


Report Offensive Follow Up For Removal

Response Number 3
Name: Shmanda
Date: December 26, 2002 at 22:31:59 Pacific
Reply: (edit)

Ok, I'm just going to e-mail you since the syntax won't show up no matter what I do :O


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home








Do you own an iPhone?

Yes
No, but soon
No


View Results

Poll Finishes In 6 Days.
Discuss in The Lounge
Poll History




Data Recovery Software