Results 1 to 4 of 4

Thread: Scrollbar not stop in ie6. Please help

  1. #1
    Join Date
    Nov 2006
    Posts
    65
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy Scrollbar not stop in ie6. Please help

    in firefox .position fixed and normal
    but ie6 position fixed but scrollbar not stop when floating
    link(rightbanner)
    please down scroll bar in website.it is not stop

    firefox css code
    Code:
    div#banner {
    	position: fixed;
    	top: 0px;
    	right: 473px;
    	width: 0px;
    	z-index: 3;     
    }
    ie6 css code
    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.

  2. #2
    Join Date
    Nov 2006
    Posts
    65
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    anyone help

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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:

    Code:
    body {
    background: url(foo) fixed;
    }
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  4. #4
    Join Date
    Nov 2006
    Posts
    65
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    john my problem when pull down scroll bar .İt is not stop .it is stretch endless

    and add your code but anything not change
    Code:
    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;
    
    }
    Last edited by winpeace; 10-10-2008 at 10:40 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •