css - How can I have an anchor link scroll past the anchor? -


how can make series of anchors on pages appear partway down page instead of @ top? href="#-100px" exist?

<a href="#"ted> 

it's bit hacky, using css, defining negative margin on targets, e.g.

.target {     position: absolute;     margin-top: -100px; } 

working demo: http://jsfiddle.net/grantgibson/la7v9/1/


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -