Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Div Content for entire site

Status
Not open for further replies.

Dashsa

Programmer
Aug 7, 2006
110
US
Hello,
I have a site that has about 8 pages, I have a "Anoucements" Div that displays content that needs to be updated a lot. Is it possible to store the div in one place and just update it from there instead of having to update each page?
I dont think I can store the contents of the Div in the style sheet can I?
Thanks
 
You can such Server Side Includes, some Server Side Language to have a page with the section that needs to be updated, that you can call on all 8 pages. So all you would need to do is modify the single file, and the includes do the rest.

With HTML alone it cannot be done.

----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top