I am new to CSS abd trying to build a website. So far, I have almost created all pages needed with the navigation menu on the main page. I have linked the navigation menu to the pages. However, I can't make the navigation links open the linked pages inside the main page. When I click on the menu links, the pages are opened in a different window and I do not want that. I am looking for a code similar to html "target= mid-frame". How can I do this in CSS?
I hope you aren't using frames to build your page those are very unfriendly to deal with and not good for search engines. Css is only an engine to code the style and look of a site. It is the property of the hyperlink that determines whether a new window is opened or the parent is replaced. The syntax on that is: It might be easier for someone to take a looked. You are new and can not post live links. So post your site in this format sitename*com and I am sure some one will take a look.
Ok. I got what you meant. Now, my challenge is to make sure that when the parent is replaced, the logo and navigation menu don't change. How can I do that? Do I have to put the logo and navigation menu on every page? Or, there is another easy way to do this? Thank you.
That is the hard way to do it. Fine for sites with just a few pages. And the only using static html. If you have php on your hosting account you can make a header, footer and nav menu and then include those on each of your pages. If you ever need or want to change, you just change one file and it changes on all the pages. This page will give you a fuller explanation than I care to type here.