Wednesday, June 2, 2010

How to keep the background image static and let the whole fore-page scroll???

This is done using CSS and is very simple indeed!

here is the code

<center>
<body style=
"background-image: url('http://img.inkfrog.com/pix/KeepingBusy/BGinterlocksmall.gif'); background-repeat; background-position: 0px 50%; background-attachment: fixed">
<table border="0" width="650">
<tr>
<td width="100%" HEIGTH="600">
<table border="0" width="100%" cellspacing="0" cellpadding="0"
bgcolor="WHITE">
<tr>
<td width="100%">
<CENTER>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
X<br>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</center>

No comments:

Post a Comment