2013-01-18, 09:40 PM
OK, so here's the deal. Since I'm using a fixed header, when you click, say, "last post", or anything referencing #pid you get this, covering the username and date.
The result should be, ideally, like this:
Now, this is an easy fix if you know the ID/name of the anchor you are trying to link to by using a pseudo-element.
source: http://nicolasgallagher.com/jump-links-a...sitioning/
The problem is that since the anchor for each PID is unique, there's no way to target them all this way. Does anyone have any solution for how I could do this?
The result should be, ideally, like this:
Now, this is an easy fix if you know the ID/name of the anchor you are trying to link to by using a pseudo-element.
#target:before {
content:"";
display:block;
height:50px;
margin:-30px 0 0;
}
source: http://nicolasgallagher.com/jump-links-a...sitioning/
The problem is that since the anchor for each PID is unique, there's no way to target them all this way. Does anyone have any solution for how I could do this?