public marks

PUBLIC MARKS from Hiéroglyphe with tags css & jump

23 November 2010 12:45

Jump links and viewport positioning

Using within-page links presses the jumped-to content right at the very top of the viewport. This can be a problem when using a fixed header. With a bit of hackery, there are some CSS methods to insert space between the top of the viewport and the target element within a page.