If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Feb 2006
    Member #

    I've been using XHTML and CSS for sometime now, and I love how CSS can take a standard, well written XHTML document (with paragraphs, headings and links) with no layout and then arrange all the text and add some graphics... And then any well written HTML document can get the same formatting by linking to the same Style Sheet. (I learnt alot from CSS Zen Garden website for formatting!)

    But what about other consistent things such as navigation links which need to be consistent through out all pages? Is there some way to make a web page import this information in the same way several HTML pages can share a CSS?

    I know about frames or using a HTML <object> but this doesn't really work for what I want to do, since then the links are imprisoned within that area and can't interact with the rest of the page...

    Anyway hope this isn't too silly a question...


  3. #2
    Senior Member
    Join Date
    May 2005
    Essex, United Kingdom
    Member #
    A good solution to this problem would be using server side includes. Most programming languages e.g. PHP, ASP, have this capability built in. You can also use SSI, this is a language created entirely for including different pages, most hosts support them and it is very easy to learn.

    SSI Tutorial:
    ASP Includes Example:
    More Information About Includes and Examples:

  4. #3
    Senior Member Shani's Avatar
    Join Date
    Nov 2004
    Member #
    If I understand your question correctly, you just want to make all your links consistent. That simple? This will affect any thing inside an <a href> tag. In your CSS document, use the following to define the different aspects of your link:


    I have an eye for detail like you'd never believe.

  5. #4
    Senior Member karinne's Avatar
    Join Date
    Dec 2003
    Aylmer QC Canada
    Member #
    8 times
    Continuing from dchesterton, here's the PHP include() function
    [a web design portfolio - Currently NOT AVAILABLE for work | web design | Re-coding | PSD-to-HTML]
    I'm also on: virb - facebook - twitter - flickr -

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT -6. The time now is 08:20 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: