E |A| E
09-08-2002, 12:43 AM
Hello, as you can see from the code below I have two images , each is displayed a side of the page. How can I make those images fixed while the rest of the content scrolls ?
I know of the
BODY {background-image:url(images/leftpanel.jpg); background-repeat:repeat-y}
But this will let me clip only one picture and I need to clip one on each side. And its not really what I need since it repeats the same image that I want fixed.
Sorry to bug you with this minor issue but I just spent 18 hours in front of the puter and I need some help. :confused:
Thank you in advance. Regards.
<html>
<head>
<title></title>
<style type="text/css">
<link rel="stylesheet" href="style.css">
<!--
a { text-decoration: none}
a:hover { color: #FF1111; text-decoration: none}
-->
</style>
</head>
<body link="#CC0000" vlink="#CC0000" alink="#FF0000" onLoad="if (self != top) top.location = self.location" topmargin="0" leftmargin="0">
[COLOR=orangered]
// image 1
<span style="position: rel; left: 0; top: 0; z-index: -3"><img border="0" src="image1.jpg" align="left" width="135" height="600"></span>
// image 2
<span style="z-index: -3; position: rel; right: 0; top: 0"><img border="0" src="image2.jpg" align="right" width="135" height="600"></span>
</body>
</html>
I know of the
BODY {background-image:url(images/leftpanel.jpg); background-repeat:repeat-y}
But this will let me clip only one picture and I need to clip one on each side. And its not really what I need since it repeats the same image that I want fixed.
Sorry to bug you with this minor issue but I just spent 18 hours in front of the puter and I need some help. :confused:
Thank you in advance. Regards.
<html>
<head>
<title></title>
<style type="text/css">
<link rel="stylesheet" href="style.css">
<!--
a { text-decoration: none}
a:hover { color: #FF1111; text-decoration: none}
-->
</style>
</head>
<body link="#CC0000" vlink="#CC0000" alink="#FF0000" onLoad="if (self != top) top.location = self.location" topmargin="0" leftmargin="0">
[COLOR=orangered]
// image 1
<span style="position: rel; left: 0; top: 0; z-index: -3"><img border="0" src="image1.jpg" align="left" width="135" height="600"></span>
// image 2
<span style="z-index: -3; position: rel; right: 0; top: 0"><img border="0" src="image2.jpg" align="right" width="135" height="600"></span>
</body>
</html>