lesley Posted February 3, 2009 Report Share Posted February 3, 2009 Hello, i am new to CSS and had a simple question. I just finished some tutorials from killersites.com and noticed that the navigation items were repeated in every page. Is there some way to include the items in a template or a css page so if you need to update your navigational menu items, then you only do it in one place? Thanks. Quote Link to comment Share on other sites More sharing options...
falkencreative Posted February 3, 2009 Report Share Posted February 3, 2009 Look here: http://www.killersites.com/forums/topic/357/repeating-sections-of-code-on-many-pages/ Quote Link to comment Share on other sites More sharing options...
lesley Posted February 4, 2009 Author Report Share Posted February 4, 2009 is there another way to accomplish this without php? i have not gotten into that. Im hoping to just use css and html. Thanks. Quote Link to comment Share on other sites More sharing options...
Wickham Posted February 4, 2009 Report Share Posted February 4, 2009 is there another way to accomplish this without php? i have not gotten into that. Im hoping to just use css and html. Thanks. There's SHTML but that type of "include" is almost identical to teh PHP method but PHP gives so much scope for other things to add in later like forms to a database. PHP "includes" are the easiest part of PHP to learn. Otherwise you could use a frameset with the repeating bit in a separate frame, but no one will advise you to do that now that PHP can do it better. Quote Link to comment Share on other sites More sharing options...
lesley Posted February 6, 2009 Author Report Share Posted February 6, 2009 Thank you! PHP includes were easy to learn. Now i ahve run into another issue, i need create a verticle pop out navigation menu. Any recomendations? Most of the ways i have tried do not work in IE. Quote Link to comment Share on other sites More sharing options...
jlhaslip Posted February 6, 2009 Report Share Posted February 6, 2009 cssplay.co.uk/menus/ has several IE compatible menus Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.