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.) Link to comment https://forums.phpfreaks.com/topic/110567-solved-headline-div/ Share on other sites More sharing options...
rhodesa Posted June 17, 2008 Share Posted June 17, 2008 CSS .header { position:fixed } Link to comment https://forums.phpfreaks.com/topic/110567-solved-headline-div/#findComment-567220 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! Link to comment https://forums.phpfreaks.com/topic/110567-solved-headline-div/#findComment-567230 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.