schme16 Posted June 17, 2008 Share Posted June 17, 2008 I want to be able to have a div (or any block) sit at the top of the screen... but stay at the top (relative to scroll). So when the pages is scrolled.. the div will stay at the top and not 'move' from its position relative to the browser... much like the bar Firefox has that tells you that a pop-up was blocked (I've seen site that had custom ones.. but never checked the code at the time.) Quote Link to comment Share on other sites More sharing options...
rhodesa Posted June 17, 2008 Share Posted June 17, 2008 CSS .header { position:fixed } Quote Link to comment Share on other sites More sharing options...
schme16 Posted June 17, 2008 Author Share Posted June 17, 2008 God I'm an idiot! Thanks, sorry for wasting time! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.