UrbanTwitch
05-23-2008, 02:57 AM
I want the menu and body images to go side by side but they skip a space.
http://img386.imageshack.us/img386/7971/whyis8.png
CSS:
body {
background-color: #caced1;
font: 70%/1.5em Verdana, Tahoma, arial, sans-serif;
color: #777;
}
#header {
background: #caced1 url(images/header.PNG);
margin: auto;
width: 801px;
height: 115px;
}
#greenmenu {
background: #caced1 url(images/greenheader2.PNG);
margin: auto;
width: 803px;
height: 30px;
position: relative;
right: -1px;
}
#leftmenu {
background: #caced1 url(images/leftmenu.PNG);
margin: auto;
width: 143px;
height: 308px;
position: relative;
left: -329px;
background-repeat: repeat-x
}
#content {
background: #caced1 url(images/content.PNG);
margin: auto;
position: relative;
right: -80px;
width: 660px;
height: 308px;
background-repeat: repeat-x
}
HTML SOURCE:
<html><title>sodaDome Template</title>
<head>
<link rel="stylesheet" href="style.css" type="text/css" />
</head>
<body>
<div id=header></div><div id=greenmenu></div>
<div id=leftmenu>MENU
</div><div id=content>BODY
</div>
</body>
</html>
http://img386.imageshack.us/img386/7971/whyis8.png
CSS:
body {
background-color: #caced1;
font: 70%/1.5em Verdana, Tahoma, arial, sans-serif;
color: #777;
}
#header {
background: #caced1 url(images/header.PNG);
margin: auto;
width: 801px;
height: 115px;
}
#greenmenu {
background: #caced1 url(images/greenheader2.PNG);
margin: auto;
width: 803px;
height: 30px;
position: relative;
right: -1px;
}
#leftmenu {
background: #caced1 url(images/leftmenu.PNG);
margin: auto;
width: 143px;
height: 308px;
position: relative;
left: -329px;
background-repeat: repeat-x
}
#content {
background: #caced1 url(images/content.PNG);
margin: auto;
position: relative;
right: -80px;
width: 660px;
height: 308px;
background-repeat: repeat-x
}
HTML SOURCE:
<html><title>sodaDome Template</title>
<head>
<link rel="stylesheet" href="style.css" type="text/css" />
</head>
<body>
<div id=header></div><div id=greenmenu></div>
<div id=leftmenu>MENU
</div><div id=content>BODY
</div>
</body>
</html>