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 own these and the normal QuietComfort ones from Bose. The QC are amazing and I want to love these, but for the life of me, I have a terrible time getting them attached to my ears.
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
https://www.neowin.net/forum/topic/1133738-including-certain-file-in-each-webpage/Share on other sites
5 answers to this question
Recommended Posts