You can achieve this via CSS by giving the image a CSS attribute: position:fixed;
or in the tag itself:
Code:
<img src="path/to/img.jpg" width="40" height="40" style="position:fixed;">
Unfortunately, while this is part of the WC3 standards, IE5 and IE6 don't support this. So that unless your developing specifically for a browser that does support it, you'll have to find an alternative with the help of javascript.
Googling for 'javascript scroll' should get you some results.
|