Is CSS what I am looking for?

Discussion in 'CSS' started by TruckTechniques, Apr 22, 2006.

  1. #1
    My page www.trucktechniques.com started as a free template I downloaded.
    My issue is that every time I want to add a 'button' to the top menu bar, or change one of the links on the left panel, I need to update every page on my website. This is very tedious not to mention far from efficient.

    Will CSS help me by only having me update things once and have it propogated throughout the website? Kind of like a current generation of what frames used to allow.

    Thanks.
     
    TruckTechniques, Apr 22, 2006 IP
  2. iatbm

    iatbm Prominent Member

    Messages:
    5,151
    Likes Received:
    352
    Best Answers:
    0
    Trophy Points:
    360
    #2
    You could make php and have menu in menu.php and then calling with include ....

    css is not your solution
     
    iatbm, Apr 22, 2006 IP
  3. iatbm

    iatbm Prominent Member

    Messages:
    5,151
    Likes Received:
    352
    Best Answers:
    0
    Trophy Points:
    360
    #3
    you then only make changes to menu.php .... thats it ! ;)

    sorry for two posts
     
    iatbm, Apr 22, 2006 IP
  4. johneva

    johneva Well-Known Member

    Messages:
    1,480
    Likes Received:
    46
    Best Answers:
    1
    Trophy Points:
    170
    #4
    Yes.

    But this can only be used for altering styles thoughout your site.

    If you want more than that you will want to use the template files Dreamweaver offers, between them and CSS anything can be changed on every page of your site in one go.

    Hope that helps

    Thanx John
     
    johneva, Apr 22, 2006 IP
  5. johneva

    johneva Well-Known Member

    Messages:
    1,480
    Likes Received:
    46
    Best Answers:
    1
    Trophy Points:
    170
    #5
    Arrrr you beat me.

    And yes the include idea is a great one.
     
    johneva, Apr 22, 2006 IP
  6. TruckTechniques

    TruckTechniques Peon

    Messages:
    382
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Quick replies, thanks guys!

    Can you point me to a good introduction to menu.php / include coding? My hosting service offers php, I am about to start using it for banner rotation as well.
     
    TruckTechniques, Apr 22, 2006 IP
  7. iatbm

    iatbm Prominent Member

    Messages:
    5,151
    Likes Received:
    352
    Best Answers:
    0
    Trophy Points:
    360
    #7
    For his problem The Best ;)
     
    iatbm, Apr 22, 2006 IP
  8. iatbm

    iatbm Prominent Member

    Messages:
    5,151
    Likes Received:
    352
    Best Answers:
    0
    Trophy Points:
    360
  9. TruckTechniques

    TruckTechniques Peon

    Messages:
    382
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Thanks :cool:
     
    TruckTechniques, Apr 22, 2006 IP