CSS Floating Image

2006 Aug 27

Theres a request with this entry from my last blog, and because i can still remember it, im going to post it here. the image stated in the url will be fixed no matter how the page is scrolled down.

<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.

Leave a comment


About Me


Alfredo Sanchez is an internet professional focusing on the study search engines behavior in particular. Supports Free Open Source Software and currently develops applications with it using XAMPP.

Recent Entries

Close