The king is back baby!

Resident Evil 7: Biohazard Review — a series risen from the dead

Fitness Apps

Keep your New Year's fitness resolutions with these great Windows 10 apps!

One Windows

Microsoft is building a new Windows 10 Shell for PC, Mobile and Xbox

Get ready for beta!

Halo Wars 2 Blitz: Game modes, beginner's tips, and more

On the Inside

Everything you need to know about the Xbox Insider Program

Beautiful compromises

Surface Studio review: you'll want one, even if you don't need one

3-in-1

Is this the Surface Phone? Microsoft awarded patents for foldable devices

Windows Central Offers

MCSE Certification bundle is just $39

Even more improvements

All the changes found in Windows 10 build 15007!

Games as a Service

What does the cancellation of Scalebound mean for future Xbox exclusives?

Windows Central Offers

Save $90 on these FRESHeBUDS Pro Magnetic Bluetooth Earbuds

Returning for 2017

We're back with an new episode of #AskDanWindows

Lifetime Subscription

VPNSecure is currently 91% off

Our favorite things

The Best of CES 2017 Awards

Infinity Edge in your hand

The XPS 13 2-in-1 is the Dell convertible we've always wanted

Project Valerie

Razer just made a laptop with three — THREE! — 17-inch 4K displays. 😱

Great design from Palo Alto

HP's CES 2017 releases are truly gorgeous PCs

Intel and Google's big day

CES 2017 Day Two: New laptops, new phones, and old ideas made new

Take five is better than ever

The updated Lenovo ThinkPad X1 packs Kaby Lake chips and zero bloatware

Everything we know about the next Xbox: Project Scorpio

< >
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 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.
    Bli_n likes this.
  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