I got the following webpage-builtup:
<div id="menu">
</div>
<div id="content">
<!-- you just need to see the last part of the page? us this link -->
<a href="#down">down</a>
<!-- A LOT OF CONTENT ... no fun to scroll down -->
<!-- EVEN MORE CONTENT ... still no fun to scroll down -->
<a name="down" id="down" />
</div>
This works fine except Opera. Why is that? Does someone know a solution or am I doing something wrong?
There’s nothing wrong with the code. Except maybe for the fact that you’re trying to self-close a tag that isn’t a self-closer. In this case, the anchor tag. Close it properly at least.
But, tested in Opera 9.64 and it’s working fine.
The expected outcome of that code chunk alone is to go right down to the named link, which it does.
If you have a clashing
IDthat you’re not showing, that’s probably a reason.