News for hackers. Stuff that matters.
Re:Kill sticky headers (2013) by JoshTriplett on Tuesday June 27, 2017 @03:56PM (#14648798)
That seems like an awkward semantic break to compensation for presentation, as well as error-prone in size-matching.

Better if the browser knew about the header and could position the linked anchor accordingly. In the absence of any facility to do that, just ditch the header.

Re:Kill sticky headers (2013) by untog on Tuesday June 27, 2017 @06:05PM (#14649961)
It actually is possible to do - you can use CSS to move the position of the anchor tag. If I recall there were some extra CSS properties needed to make it work, but it can be done.