Jump to content

DIV position: fixed


Recommended Posts

I had a problem with layer which is shown only when files are being uploaded on my website.

I set width and height to 100% and it was perfect. layer was shown over whole place. But later I found out when page is to big to be shown on my LCD I can scroll down...

This was the point when I was forced to use Google :)

I found a position: fixed solution. It worked perfectly in FireFox 2 or better. Of course first you need to check your site on other browser and result wasn't what it should have been.


Is there any other way to achieve the same result. I was thinking about layer which is following scrolling... But I really don't have idea how to do that... and I found out that when you scroll div is following you with a bit of delay..


Thanks for your help!

Link to comment
Share on other sites

This thread is more than a year old. Are you sure you have something important to add to it?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.