This might be something really easy, but im just not having any success at all. Basically right now, i have been asked by a friend to create a basic information website which will have just text and some images. I have made a css drop down menu which I want to include automatically on every single webpage rather than copy and pasting the code one ach individual page. How can I do this? Does it have to be a php file or can it be html? And also will this only work once its uploaded on a hosting site? or can it work just as a local file on a pc which I double click.
Right now when I create a test page and then do the include tag the page is still blank and does not bring up the menu.html file.
Question
Soldiers33
This might be something really easy, but im just not having any success at all. Basically right now, i have been asked by a friend to create a basic information website which will have just text and some images. I have made a css drop down menu which I want to include automatically on every single webpage rather than copy and pasting the code one ach individual page. How can I do this? Does it have to be a php file or can it be html? And also will this only work once its uploaded on a hosting site? or can it work just as a local file on a pc which I double click.
Right now when I create a test page and then do the include tag the page is still blank and does not bring up the menu.html file.
I hope this isnt confusing.
Link to comment
Share on other sites
5 answers to this question
Recommended Posts