fixed position on IE6

Fixed position on xhtml elements make the elements fixed at its coordinates and it is not moved when you scroll the pages. One of popular example can be facebook panel.

#elementId {
    position:fixed;
    bottom:0;
}

An example above will make the element stayed at the bottom of page.

But there is an issue on IE6 and this can be fixed via javascript. Simply get the javascript code from here and include to your page:

<script type="text/javascript" src="fixed.js"></script>

Reference:

http://www.doxdesk.com/software/js/fixed.html

Facebook comments:

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">