Hi there, On one of my pages i've got a link to an anchor, when I click the link it cuts straight to the anchor but it messes up the top half of the website, and you can't scroll back up to the top. Its hard to explain without showing you the page itself. If you click on the article title you can see what I mean... http://www.paid2review.co.uk/moneyarticles.html I'm not sure if it must be an error with my CSS? Or something causing the anchored link to behave weird? Thanks for any help offered. Matt
Why you do not try to put the articles in DIVs. Give it a try, it is the natural way to do such thing. I mean <a href="article_title">article title</a> <div id="article_title"> </div>
I'm not too sure what you mean...how would I make it link to the div? I've tried with the exact text you have written and it doesn't link to the "article_title" div. Thanks for the help so far
I've looked at this, and can't see any reason for this behavior. That's not to say there isn't a reason, quod erat demonstratum or ipse dixit; whichever. Serious debugging time. Make yourself a working copy, 'cuz you're going to rip into it. Strip out one section at a time. If removing it fixes the problem, put it back and strip out the next bit. In the end, you'll be left with nothing but the problem and its cause. This approach is more sure than the alternative of rebuilding the page and testing a bit at a time, because it will catch interacting pieces, a binary poison, if you will, neither bit alone causing a problem. If part one is already in place, you'll only blame part 2 when the bug pops up. cheers, gary
Thanks gary. When removing the css file I noticed that the links work fine, so it must be the css file causing the problem. Not too sure what to look for as it was a template, i'm guessing this part could be the problem though... Thanks for any help. Matt
I've made some changes to the code and finally it works Thanks to all the help people. Will leave you some reps later gary, I'm not allowed to leave you some at the moment. Matt