Log in

View Full Version : Scrollbar not stop in ie6. Please help



winpeace
10-09-2008, 09:18 PM
in firefox .position fixed and normal
but ie6 position fixed but scrollbar not stop when floating
link(rightbanner) (http://www.sigortasektoru.com/axaoyak-sigorta/axa-ro-ro-daki-tir-larin-tazminatlarini-odedi.html)
please down scroll bar in website.it is not stop

firefox css code

div#banner {
position: fixed;
top: 0px;
right: 473px;
width: 0px;
z-index: 3;
}
ie6 css code

div#banner {
position: absolute;
left: expression(document.compatMode=="CSS1Compat"? document.documentElement.scrollLeft+790+"px" : body.scrollLeft+"px");
top: expression(document.compatMode=="CSS1Compat"? document.documentElement.scrollTop+0+"px" : body.scrollTop+"px");
right: -130px;
width: 120px;
}

sorry my pure english.

winpeace
10-10-2008, 08:57 AM
anyone help

jscheuer1
10-10-2008, 10:27 AM
Works here, a little jerky but works. I believe that if you give the body a fake background image with a fixed attachment, that will take care of the jerkiness:


body {
background: url(foo) fixed;
}

winpeace
10-10-2008, 10:35 AM
john my problem when pull down scroll bar .İt is not stop .it is stretch endless

and add your code but anything not change

body {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
line-height: 150%;
color: #646464;
background: url(foo) fixed;

}

body.yoopage {
padding-bottom: 100px;
background: #AAAFB4 url(foo) fixed;

}