A forum for discussing XHTML issues for both XML and HTML developers is a Public Group with 739 members.
- A forum for discussing XHTML issues for both XML and HTML developers
- Public Group,
- 739 members
5228An alternative to frames AND to targets?
- dJul 11, 2009Hello all!
I am starting the design of a web site and I'd like to do it in a good way, using XHTML 1.1.
I know that frames are depreciated, but I wish to have some fix navigation panes on the top and left side of my web site, and a content that changes in the middle of the page.
I just found this interesting method:
This article advices to replace frames by divs and some CSS,
BUT it does not say how to replace the "traget" elements in the <a href> tags.
If you copy paste the code found on this above written link in an HTML editor, and if you preview it in a web browser, you get a page that is divided in 3 "frames", as expected.
The "content" div *should* change after the left pannel is clicked.
But when you click on "google", the Google page is displayed on the full browser's window, and replaces the 2 divs on the top and the left side.
If I want the Google page to be displayed ONLY in the "content" div, how can I do?
I tried to add "target="content" in the "a href" tage of the Google link, but it didn't work.
Thanks in advance,
- Next post in topic >>