Freezing the Masthead May 23, 2006 6:25 PM   Subscribe

As I scroll through a page I would prefer to have the masthead, with its useful navigation links, stay in place at the top of my screen. Is there any way I can make this happen?
posted by jamjam to Feature Requests at 6:25 PM (6 comments total)

You could recode your own css for the div elements that make up the top of the page and force them to float along with you. I think you can force apply your own css in Opera, or maybe do it via a greasemonkey script in firefox. As far as I know, IE hates you and would not help you do this in any way shape or form.
posted by tiamat at 6:45 PM on May 23, 2006

It's a two step process:

1. Convince mathowie to put the whole header in a big div with a unique class or id. (Or maybe greasemonkey can do this?)
2. Set that class to be position:fixed in your custom CSS.

(Technically, you can set position:fixed on all the various elements that make up the header. But then they all go to position (0,0), overlapped in the top left, which is bad. So you have to manually move each one to the right position. Using one big div allows you to fix the whole block, and then let the divs within float relative to each other normally.)
posted by smackfu at 7:52 PM on May 23, 2006 [1 favorite]

I think (?) that Greasemonkey would let you add an enclosing div to the various divs which make up the header, and then you could apply a CSS rule as smackfu suggests. This would, of course, only work in Firefox.
posted by IshmaelGraves at 8:14 PM on May 23, 2006

You could definitely do it with GreaseMonkey. And, make no mistake, IE does hate you, but isn't there actually a GreaseMonkey-like thing for IE? But, yeah, do it with GM and Firefox.
posted by AmbroseChapel at 2:08 AM on May 24, 2006

The "GreaseMonkey-like thing" for IE is called trixie.
posted by Rhomboid at 4:28 AM on May 24, 2006

Thank you all very much for your time, effort and thought. I'll try Opera and GreaseMonkey, and a couple of friends of mine may be quite interested to hear of anything 'GreaseMonkey-like' for IE.

As for getting Mathowie to do something, however, he is like the wind, which "bloweth where it listeth."
posted by jamjam at 9:44 AM on May 24, 2006

« Older AskMe rerailing request   |   Mathowie has found The Force! Newer »

You are not logged in, either login or create an account to post comments