News for hackers. Stuff that matters.
Re:Fix CSS by writing it in JavaScript by colinramsay on Tuesday November 25, 2014 @10:32AM (#8658086)
You can set top in CSS.
Re:Fix CSS by writing it in JavaScript by lhorie on Tuesday November 25, 2014 @10:41AM (#8658117)
He means "top" as in "top-relative-to-scroll-position-when-the-modal-is-taller-than-the-screen-in-IE8"
Re:Fix CSS by writing it in JavaScript by colinramsay on Tuesday November 25, 2014 @10:45AM (#8658133)
Ah, well you'd still need something more powerful for that kind of thing to work. A constraints engine for example:

http://gridstylesheets.org/

If you're going to go to the trouble of writing a CSS processor, you could at least add in some really interesting ideas.