Welcome to the Windows Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 4 of 4
Like Tree1Likes
  • 1 Post By thed
  1. Bli_n's Avatar
    Member

    Posts
    2 Posts
       #1  
    I was testing my mobile application, with Windows mobile.I got some issues with the footer part.The problem is regarding footer fixing. When I scroll the contents, the footer also getting up.But the footer is fixed in all browsers including IE and in all mobiles except windows version.

    See the code, for IE I gave,

    [CODE]* html #footer {
    position:absolute;
    top:expression((0-(footer.offsetHeight)+(document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight)+(ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop))+'px');
    }[/CODE]
  2. thed's Avatar
    Member

    Posts
    993 Posts
    #2  
    Quote Originally Posted by Bli_n View Post
    I was testing my mobile application, with Windows mobile.I got some issues with the footer part.The problem is regarding footer fixing. When I scroll the contents, the footer also getting up.But the footer is fixed in all browsers including IE and in all mobiles except windows version.

    See the code, for IE I gave,

    [CODE]* html #footer {
    position:absolute;
    top:expression((0-(footer.offsetHeight)+(document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight)+(ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop))+'px');
    }[/CODE]
    I've seen this issue in several websites. I would say it's a browser bug. The browser doesn't seem to handle absolute positioning very well. When it does actually work, it seems to take the absolute positioned element a long time to "catch up" and get back in its proper place after scrolling.
    Thanked by:
    Bli_n 
  3. Bli_n's Avatar
    Member

    Posts
    2 Posts
       #3  
    So any idea,how can we fix that?
    :blush:
  4. thed's Avatar
    Member

    Posts
    993 Posts
    #4  
    Actually I think I may have misread your question and/or gotten confused myself. I was actually thinking of problems when using fixed positioning, not absolute positioning. I'm not sure why your CSS doesn't work. Sorry for the confusion.

    Maybe someone else has an idea.
    Bli_n likes this.

Tags for this Thread

Posting Permissions