HTML/CSS question about scrolling the page.?

  • Thread starter Thread starter Liutas
  • Start date Start date
L

Liutas

Guest
Where can I find the code, or what is the code to make a link on the page scroll 2 screens down. I have a very long page and it's a FAQ page. It's a Q and A sort of page and so I will have the questions as links at the top of the page, and when they click on them, it should scroll user down to the question's Answer. Thank you.
 
It's called a "named anchor". Go here to learn about it. http://www.w3schools.com/HTML/html_links.asp
 
You want to use an anchor. The link at the top should say <a href="#part1"> and right before the answer, put <a name="part1"> You can replace part1 with whatever you want.
 
Back
Top