Use this:
Code:
<html>
<head>
<title>mmm</title>
</head>
<style type="text/css">
body
{
background: url('imgs/background.jpg') repeat-x top center; /*for more info: http://www.w3schools.com/css/css_background.asp */
margin:0;
text-align:center; /*this should put the <img> in the center of your page */
}
img {
border:0; /*put the border=0 in the css to seperate your style from your content! */
}
</style>
<body>
<a href="cpanel.htm">
<img src="imgs/main.jpg">
</a>
</body>
</html>