SyntaxFix
Write A Post
Hire A Developer
Questions
a similar solution using jquery would be:
$(window).scroll(function () { $('.header').css('position','fixed'); });
This turns the header into a fixed position element immediately on scroll