I am having some trouble with named anchor (I've tried IDs as well) as refernce points to sub sections of a very lengthy page. When clicking the URL with the reference intro.html#whatevs it works... however...
I have a banner div, that is 150 px in height. When I use position:fixed in order for the banner to not move, which is what I want, then the named anchors seem to be off by 150 px. This makes them not how up in the proper position, and in fact hidden by the fixed position top banner.
How to I fix the named anchor, or ID references so that the links move the page to the proper position to the content. I have tried adding a margin to the anchor tag, but that had no effect. Suggestions?
I have a banner div, that is 150 px in height. When I use position:fixed in order for the banner to not move, which is what I want, then the named anchors seem to be off by 150 px. This makes them not how up in the proper position, and in fact hidden by the fixed position top banner.
How to I fix the named anchor, or ID references so that the links move the page to the proper position to the content. I have tried adding a margin to the anchor tag, but that had no effect. Suggestions?
Last edited: