Tildemark rants and raves, a place to keep all my discoveries and most important link in Cagayan de Oro or anywhere in the Philippines so that it may be easier to recall them in the future. If you are looking for the answers to the Da vinci code web quest then just click on the links at the sidebar

1/22/2005

CSS Floating Image

Ever wonder how it is done ? Well heres the code. a picture at the top right will always stay there no matter how you scroll the page.



<style type="text/css">
<!--
body
{
  background-attachment: fixed;
  background-image: url;
  background-repeat: no-repeat;
  background-position: right top;
}
-->
</style>

change the url with the correct image filename you want to appear.


1 Comments:

Anonymous Anonymous said...

I've learn several good stuff here. Certainly value bookmarking for revisiting. I wonder how much effort you set to make this sort of wonderful informative website.

Feel free to visit my site ... www.strongman.pl

5/17/2013 04:25:00 PM

 

Post a Comment

<< Home