Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-17-2012, 10:07 AM   PM User | #1
chartwise
Regular Coder

 
Join Date: Apr 2008
Location: Manchester, England
Posts: 202
Thanks: 33
Thanked 2 Times in 2 Posts
chartwise is an unknown quantity at this point
Link HTML code to other webpages

On my site I all the webpages contain the exact same XHTML code and some css for a menu.

Can someone please tell me is it possible to have an external HTML page with the code and a link?

The way I mean is like linking a webpage to an external css stylesheet.

This means that the page would open quicker and make the webpages a smaller file size and to save having all the same code on each webpage.

All help much appreciated

Last edited by chartwise; 12-17-2012 at 10:10 AM..
chartwise is offline   Reply With Quote
Old 12-17-2012, 10:45 AM   PM User | #2
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,598
Thanks: 5
Thanked 865 Times in 842 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
That’s possible with server side includes (SSI), also available in PHP. That requires you to have a server that supports either of these and you can’t view your pages from the local file system like that anymore.
__________________
Don’t click this link!
VIPStephan is online now   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:58 PM.


Advertisement
Log in to turn off these ads.