Difference between revisions of "Template:Freiburg/CSS"
Line 266: | Line 266: | ||
margin: 2em 0; | margin: 2em 0; | ||
margin-bottom: 0; | margin-bottom: 0; | ||
+ | } | ||
+ | /*links linking to ID's have to link to a span located on top of the targeted id. This span has to be an anchor element, otherwise the menubar will float over the targeted headline*/ | ||
+ | .anchor{ | ||
+ | display: block; | ||
+ | height: 62px; /*same height as header*/ | ||
+ | margin-top: -62px; /*same height as header*/ | ||
+ | visibility: hidden; | ||
} | } | ||
Revision as of 22:15, 16 September 2015