...

View Full Version : CSS-menu editing



Šerus
12-16-2007, 07:16 PM
Hello.

I'm creating a web-site, and I've started making a CSS drop-down menu for it. But the last time I did this, and I wanted to change something in the menu, for instance, I wanted to change the category "Log in" to "Register", I had to edit the menu in every single .html-document that I wrote. I know I learned a quick way to do this one time, but I can't remember. Anyone know?

CaptainB
12-16-2007, 07:49 PM
Would it be smart to make a single file with the menu, and then include it with php on every page?`
That way, you would only have to edit the file with the menu once, to reflect the changes on every page where it's included.



<?php
include("file.php");
?>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum