crabsodyinblue
Programmer
- Aug 22, 2001
- 14
Is it possible to have a page where I have a background image which has a fixed position on screen. (using CSS)
that can be used an image Map - or can have areas of the image defined as clickable areas.
i.e.
In the example below is it possible to use the image imagefilename.jpg in a way similar to an image map.
baring in mind that the page can scroll up and down but the background image will remain in a fixed position.
STYLE TYPE="text/css">
#pagebackground { background-attachment: fixed;
background-image: url(imagefilename.jpg);
background-attachment: fixed;
background-position: 0px 0px;
background-repeat: no-repeat;
overflow:auto;
}
</style>
<body bgcolor="#660066" id="pagebackground" border=0 marginheight="0" leftmargin="0" topmargin="0">
Thanks in advance
that can be used an image Map - or can have areas of the image defined as clickable areas.
i.e.
In the example below is it possible to use the image imagefilename.jpg in a way similar to an image map.
baring in mind that the page can scroll up and down but the background image will remain in a fixed position.
STYLE TYPE="text/css">
#pagebackground { background-attachment: fixed;
background-image: url(imagefilename.jpg);
background-attachment: fixed;
background-position: 0px 0px;
background-repeat: no-repeat;
overflow:auto;
}
</style>
<body bgcolor="#660066" id="pagebackground" border=0 marginheight="0" leftmargin="0" topmargin="0">
Thanks in advance