Skip to Content

Internet Explorer 6 Headaches: Position Fixed Support using JavaScript

I recently stumbled across quite an old Internet Explorer position: fixed; workaround which involves some JavaScript. The code allows you to declare the CSS attribute, position: fixed;, on the element of choice as you would normally. The only downside is the requirement of having JavaScript enabled on the clients browser. I came across quite a few of other fixes but this was the only one that actually rendered any results.

Go check out doxdesk.com for an example page as well as the full JS code to put on your site.

For additional discussion on this topic check out tagsoup.com's hack to emulate the CSS 2 positioning scheme position:fixed for Windows Internet Explorer without active scripting.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <img> <div> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <h2> <h3>
  • Lines and paragraphs break automatically.

More information about formatting options