View Full Version : CSS Basic: Making a standard navbar

07-29-2011, 12:44 PM
Hi all,

Very new to CSS here. Basically, I have a header, footer and navbar for my website which will be the same on every page. What I'd like is a way to call it onto every page from one place (pref. the style sheet if possible) instead of having to place it manually on each page which obviously would have major implications on site maintenance and updates.

So what I'm after is an easy way of applying my header (which will contain the navbar), and my footer to every page on the site without them being actually embedded within each one.

Thanks in advance and sorry for my noobness.

07-29-2011, 03:37 PM
google server side includes.

Basically you create a file, whether its in PHP, Coldfusion, asp.Net, or whatever language you choose, then in this file you code your navigation menu...no html or body tags.

Then each page you want that navbar, you insert a simple, single line of code(language specific for each one) and the nav menu will be "included".

Of course, as you may already realize, the advantage to this is that you can change the menu as often as you see fit and have need of, and the changes will be reflected in every instance of the include for every page.

07-29-2011, 03:50 PM
People are constantly looking for homemade goods. Google launched the keyword, to cater to this attitude. The company initiated the use of adwords keyword search things and Search Query Performance Report to find higher performing keywords. oakley store (http://www.oakleysunglass0utlet.com/)
oakley prescription (http://www.oakleysunglass0utlet.com/)oakley dispatch (http://www.justoakleysunglass.com/)
cheap oakley sunglasses (http://www.justoakleysunglass.com/)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum