Jump to content

DIV position: fixed


EagerWolf

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
https://forums.phpfreaks.com/topic/66783-div-position-fixed/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.