Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Apr 2007
    Thanked 0 Times in 0 Posts

    CSS-menu editing


    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?

  • #2
    Regular Coder
    Join Date
    Jun 2007
    Thanked 23 Times in 23 Posts
    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 Code:
    Last edited by CaptainB; 12-16-2007 at 08:53 PM.


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts