November 29, 200718 yr Hi, Is it possible to make div, which is floating bottom of the screen (not a page)? It should stay on bottom also when scrolling page. That div would be place for few new comments in gallery... It would be easy to make with frames but...
November 29, 200718 yr div#comments { position: fixed; left: 0; bottom: 0; width: 100%; background: #fff; border-top: 1px solid silver; margin: 0; padding: 1em; } Note that IE6 and older won't understand position fixed. So you need to find a workaround. I use IE expressions for that. http://www.gunlaug.no/contents/wd_additions_15.html
November 29, 200718 yr Author Thanks I have to sit down and read that "IE expressions" article one more time. I read it once and it didn't make me to see how to use this: * html div#fixme-bottom {position: absolute; top:expression(eval(document.compatMode && document.compatMode=='CSS1Compat') ? documentElement.scrollTop +(documentElement.clientHeight-this.clientHeight) : document.body.scrollTop +(document.body.clientHeight-this.clientHeight));}
Create an account or sign in to comment