Keeping an item(div) floated on top of a page
Good morning everyone,
I need a way to place an item, say a div or an image over a page. I just saw an example similar to what I am looking for. There is a form at the bottom right corner of the Sitepoint home page. It moves with the window size and does not stay behind.
I tried using a simple CSS only method. By making a div 100 percent wide, absolute positioned and then placed an image in the background. The imaged is positioned to the top right.
This works well but with one problem, when the window is re-sized and you scroll using the horizontal scroll bar the image is left behind in the window.
What are your thoughts?