I have one graphic .gif image which i want to remain fix in one place even if the page is scrolled. is it done with javascript? i have seen css tutorials.. but i still dont know how it is implemented seprately in html tags i can create css style.. but seen that most of sites have seprate css tag which is used every where in their site. how do we do it?
You can do it with styles. Add the css code to the header of the page and then add the class to the body or table (or whatever) tag. should look something like this... .bg_image { background-image: url(images/bg_image.gif); background-attachment: fixed; } <body class="bg_image">
okay thanks mate. thanks for the answer but i dont need it as background as this image is clickable. as if chat window. thanks
Have you tried position:absolute? You'd obviously need to add some other styles to it too, but it might be a start.