Any Way To Speed An Element's Placement Which Is Adjusted Based On Scrolling?
I have an element which sits in the upper left hand corner. It is part of a print manager and has some UI on it. Here is the code I am using to ensure that it sits in the same plac
Solution 1:
All you need here is CSS.
position:fixed; top:0; left:0;
Solution 2:
I think you should use CSS instead. In your CSS file, use it as follows:
#printManager {
position: fixed;
top: 10px;
left: 10px;
}
This will place your print manager 10px from the top, and 10px from the left of the browser window's top left corncer
Post a Comment for "Any Way To Speed An Element's Placement Which Is Adjusted Based On Scrolling?"