Jump to content

Bottom Of Page


razaviv

Recommended Posts

hello i have this code:

<style type="text/css">#fixme { /* Netscape 4, IE 4.x-5.0/Win and other lesser browsers will use this */ position: absolute; right: 20px; bottom: 10px;}body > div#fixme { /* used by Opera 5+, Netscape6+/Mozilla, Konqueror, Safari, OmniWeb 4.5+, iCab, ICEbrowser */ position: fixed;}</style><!--[if gte IE 5.5]><![if lt IE 7]><style type="text/css">div#fixme { /* IE5.5+/Win - this is more specific than the IE 5.0 version */ right: auto; bottom: auto; left: expression( ( -20 - fixme.offsetWidth + ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth ) + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' ); top: expression( ( -10 - fixme.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );}</style><![endif]><![endif]-->
and in chrome it sticks the div in the bottom of page, even when scrolling, and in explorer not.someone knows why?
Link to comment
Share on other sites

I would start by getting rid of all that so called CSS.I dont think anyone targets IE5.5 anymore, let alone netscape..those browsers are thankfully dead.Look up for CSS solutions for sticky footers in Google, there are a few out there that do a pretty good job.:)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...