Hi,
I'm building a website and using CSS. Just finished the layout but if I type something inside the content tag of the index page, that content shows on every other page in the website. ie. I click in the "about me" button and that same line I typed in the index.html page shows up, so does in every other page.

What can I do so each page has its own separate content within the id content?

*I am sure the buttons link to a different html file by the way, so that's not the problem so far.

Thank you all!!!

Recommended Answers

All 2 Replies

It will help to help you if you give us your css/html code to inspect

Don't type inside the content tags unless those tags are within the body tags of a page template so that each page can be saved/published and a new page can be created using the template containing the css.You cannot use the index page as a template,only part of the code such as css,head and footer.

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.