I am creating a framed page using css elements. The only problem is I am having problem linking to specific elements. I have the main body titled content and would like to link to it to from another element so the information is displayed in the body. Is there something I can add to the target tag in the link or something I can add to my style sheet.

Thanks,
Nick

Recommended Answers

All 3 Replies

Are you talking an anchor (a) link, or a value in the element?

an anchor. If you click on a link on my navigation bar it would open another in the element I created. Similar to if I created it with frames. Navigation bar on the left and the content on the right. I can use frames, except css will give me a little more versatility for the layout.

You need to use a form, with an input tag of type "button", along with JavaScript, to do this.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.