PDA

View Full Version : converting html to css- tables


neotokyo
04-02-2005, 08:30 PM
I am having luck with linking to a stylesheet to convert colors, font sizes, align, etc.

But is there some way using CSS that I can keep the layout and table menus the same on each page to update from the stylesheet? For example, the site menu is in a <table> tag on each page. Can I put this table on the stylesheet for when I need to add a link to the menu to be seen on every page?

mindlessLemming
04-02-2005, 10:09 PM
In short, no.

What you're referring to is called an 'include'. Your host will need to support SSI's (server side includes) or a server side language such as php, asp or cold fusion.

If you've got php support, the code is:

<?php include 'includes/menu.htm'; ?>

That code assumes the menu page is inside a folder called 'includes'.

The reason you didn't receive a reply is probably because your post demonstrated that you don't have a fundamental understanding of the purpose of the technologies at your disposal.
I would recommend having a read of the language overviews at http://w3schools.com/
:)