Forum Moderators: not2easy

Message Too Old, No Replies

CSS Menu and a Question About External HTML

         

edchapman

12:35 pm on Mar 26, 2009 (gmt 0)

10+ Year Member



Hi everyone!

I'm a newbie, here's my dilemma...I have a website that uses a 2-column layout with header and footer (CSS), with a CSS drop menu in the header DIV. THis all works great....the menu is defined in nav.css, but all the the menu items are defined in each individual html file....so I have to update every html file everytime I add a new link to the menu....

Can I put the html code for the menu (ie. the list and links) in a separate file, and somehow link it to each html file, so I only have to make changes once?

Or...am I doing/thinking about this wrong?

Thanks! :)

Ed

Todmeister

12:43 pm on Mar 26, 2009 (gmt 0)

10+ Year Member



Dear Christ, I just posted the exact same question. XD Only you managed to put it a lot more succinctly, and clearly.

[Only posting here so that I get notified when you receive a reply :D]

mattur

12:56 pm on Mar 26, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



See How to Generate Footer Text Message for all pages? [webmasterworld.com] for a good discussion.

edchapman

1:54 pm on Mar 26, 2009 (gmt 0)

10+ Year Member



mattur....that's exactly what I'm looking for! Guess I've got to do some more learning! :)

Thanks,

Ed