1. This website uses cookies. By continuing to use this website you are giving consent to cookies being used.
    For information on cookies and how you can disable them visit our Cookie Usage page.
    Dismiss Notice

CSS CSS Navigation...help :)

Discussion in 'Web Development' started by smfdadmin, Sep 22, 2008.

  1. smfdadmin

    smfdadmin New Member

    Hi everyone! You are all very smart with css, and very helpful so I am so hopefull that someone can help me.

    My site is : www.smfdadmin.co.cc.

    On the right bottom I have a list of links (st. marys fire dept links, camden county, ga links) pretty much everything below the event section is in one css navigation area.

    I want this on every page...but when I want to add a link to it...i don't want to have to add it to every single HTML file.

    Is there a way to make a copy of the links and put it in CSS. SO that when I update the CSS file/info it updates all the pages. Just like if I wanted to change the font of all the titles...etc

    Please tell me if i'm making sense.

    I tried doing it simple like copy and pasting the info in my CSS file and giving it a title and doing the <div id=""> but that didn't work.


    Any help? ;)
     
  2. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    There are 2 ways both of which you would have to learn and we are not talking coding 101.
    Way 1. Depending on the editor you are using you could write a script that the editor can use to do the work. Kinda of like a macro.
    Way 2. Everypage turns into php code. You create a master file which is included in every page for the links. In this way you only update the master page as each page calls that "include file" ie., the links update.
     
  3. smfdadmin

    smfdadmin New Member

    I wrote you a message but forgot to include more info. The editor I use is notepad. :/ Makes things more interesting I know.
     
  4. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

  5. smfdadmin

    smfdadmin New Member

    Thank you for showing me that program. So far it is working great, along with the php pages.

    :) I couldn't be more pleased...its all starting to come together great! Thanks again for everything!
     
  6. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    glad it worked.
    now you can show us how you did the members page with the flash player.
    since you swiched to php we can nolonger see your code.
     
  7. CovertPea

    CovertPea Moderator Staff Member Verified Member

    Wow, that is cool, even though it is flash. ;)
     
  8. smfdadmin

    smfdadmin New Member

    You mean the scrolling pictures at top of the page...well at top of the "content"?

    Photobucket