Hello everyone,
I'm working on my portfolio site and I've stumbled on a bit of a problem:
screenie2.jpg
I want the middle body ( the one with the bright colour to go in the center of the body that is behind it
- HTML: Select all
HTML:
<!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><link rel="stylesheet" href="style.css" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Portfolio</title>
</head>
<body>
<div class="logo"><a href="#.html"><img src="Logo.jpg" border="0" /></a></div>
<div class="body"><div class="inner"></div>
</div>
</body>
</html>
CSS:
- Code: Select all
@charset "utf-8";
/* CSS Document */
body {
background-image:url(Background.jpg);
background-repeat:repeat-x; }
.logo {
width:244px;
height:49px;
padding-left:182px;
padding-top:20px; }
.body {
width:763px;
height:437px;
background-image:url(Body.jpg);
background-repeat:repeat-x;
margin-top:24px;
margin-left:160px; }
.inner {
height:398px;
width:721px;
background-image:url(inner.jpg);
background-repeat:repeat-x; }
Thanks in Advance.