YAY cheers dude finaly worked it out only thing is I wanted the div background to have rounded courners but somehow they are being cut off dose anyone know how to change this?
heres the CSS code
CODE
body {
background-repeat: repeat-x;
background-attachment: fixed;
background-image: url(../images/background.jpg);
background-position: center;
}
div {
background-repeat:no-repeat;
background-attachment:fixed;
background-image:url(../images/overlay.gif);
background-position:center;
}
font {
font:Verdana, Arial, Helvetica, sans-serif;
font-size:12px;
font-style:normal;
font-size-adjust:inherit;
}
and heres the other stuff
CODE
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>test</title>
<link rel="stylesheet" type="text/css" href="style/test.css" />
</head>
<center>
<body>
<div style="width:410px; height:750px;" align="center">
<table cellspacing="2" width="410px" height="100" cellpadding="0" border="0">
<tr>
<td>
</td>
</tr>
</table>
</div>
</body>
</center>
</html>
No need sorted it out had it the div background down as fixed when it needed to be scroll. GET IN
[mod edit] code tags use the [ and ], not < and >.
This post has been edited by hotsnoj: 12 Feb, 2007 - 05:44 AM