Best way to keep a navigational bar on all webpages easily
I am currently producing a website that needs to have the navigational bar permanently on every page. I have thought about using tables but they are rather hard to make sure that they fit the entire page etc, when using dreamweaver.
I have tried to use a frameset and has worked fine, but when people refresh it resets to the default page and if i upload some changes to the server and refresh, i cant see the changes so I have to clear my cache in order to see them.
I do not understand the problem. Is it a vertical or horizontal menu bar? What do you mean by "filling the page"? The solution could be as simple as setting the div containing the menu to 100% width (or height - as appropriate) and set the background color of the div rather than the anchors. Alternatively, use position absolute and set top and bottom (or left and right) to 0.
As to easy maintenance, I always use PHP include files for headers, footers, menu bars, indeed anything that should appear on all (or multiple) pages. It's fairly simple to do. There is an added complication in that you cannot test your pages locally in your browser. You have to set up a local or remote server 'cos PHP is a server-side language. But once you've set it up, you'll wonder how you ever got by without it.
Bookmarks