fixed image in frontpage 2003

S

srork

I am using an image with text on it as a hyperlink. I am using this
miage/text on every page of my website. I would like to make its position
fixed so that when the page scrolls down the image remains in the same place.
Thank you for your help.
SAR
 
D

David Berry

You could use CSS to do this. For example,

<style type="text/css">
..myimage {position:absolute; top:20px; right:20px; z-index:9;}
</style>

Then


<img class ="myimage" border="0" src="mypic.gif" width="50" height="10">

To position it change the numbers in the style tag to how many pixels from
the yop, right etc you want.


You could also do it this way as well as an inline style

<img border="0" src="myPic.gif" style="position: absolute; left: 5; top: 5;
height: 5; z-index: 0">
 
Top