4 points · by hackernews · 14y ago · 2 comments
#mydiv { position: fixed; left: 50%; margin-left: (pixel offset relative from center of page) }
What CSS Needs: Granular Positioning (part 1) (Example)
A protip by liquidise about css and position.
Coderwall