Forum Moderators: not2easy

Message Too Old, No Replies

HTML/CSS include

Referencing common code from CSS/HTM

         

cantthinkofanickname

4:16 pm on Feb 18, 2006 (gmt 0)

10+ Year Member



I want to get common stuff like nav bar ul, li lists in HTML out of all my site pages and into a single file so there is only one page to edit. Can I do some sort of include in HTML or CSS to achieve this? Without using Javascript. Some thing like a function stored in an external file I supporse. Bit of a novice I'm afraid so sorry if the solution is obvious!

Robin_reala

4:30 pm on Feb 18, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have a look at this recent thread [webmasterworld.com]. To put it simply, you'll need to use some sort of server side include for this, not CSS.