parrotsnest
New Member
Hey guys, first time posting here, and have a question on how to do something.
I'm working on a design template, here:
http://cmykwebdesign.com/temp/02/
I'm interested in putting some sort of added imagery, in one of the boxes to the right or left of the middle column in the green space. I've thought about absolute positioning.. but I don't know how to get it to work w/ window resizing, as far as staying in the same position in relation to the center fixed width division. Also if you see any glaring problems, let me know, much appreciated. Always looking to learn something new.
Here is my CSS:
and here is the HTML:
Here is what I'm going for.. notice the flower image in the green section.
I'm working on a design template, here:
http://cmykwebdesign.com/temp/02/
I'm interested in putting some sort of added imagery, in one of the boxes to the right or left of the middle column in the green space. I've thought about absolute positioning.. but I don't know how to get it to work w/ window resizing, as far as staying in the same position in relation to the center fixed width division. Also if you see any glaring problems, let me know, much appreciated. Always looking to learn something new.
Here is my CSS:
Code:
body {
font-family: Verdana, Geneva, Arial, helvetica, sans-serif;
background-color:#000000;
padding: 0;
margin: 0;
color:#FFFFFF;
background: #8DC8D7 url('img/tophalf.jpg') repeat-x top left;
}
#wrapper {
margin: 0 auto;
width: 700px;
background: url('img/wrapper.png') repeat-y center;
}
#tophalf {
padding: 36px 1px 0 1px;
margin: 0;
}
#header {
height: 301px;
background: #4E8998 url('img/mainlogo.png') repeat-x bottom;
}
#sublogo {
background: transparent url('img/sublogo.jpg') no-repeat bottom;
height: 215px;
margin: 0;
padding: 0;
}
#bottomhalf {
height: 800px;
background: #B7E2EA url('img/bottomhalf.jpg') no-repeat top;
margin: 0 1px;
padding: 0;
}
span.hide {display: none; margin: 0; padding: 0;}
and here is the HTML:
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>CMYK | Web Design : Templates : 02</title>
<link href="default.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="wrapper">
<div id="tophalf">
<div id="header">
</div>
<div id="sublogo">
</div> <!-- SUBLOGO -->
</div> <!-- TOPHALF -->
<div id="bottomhalf">
</div> <!-- BOTTOMHALF -->
</div> <!-- WRAPPER -->
</body>
</html>
Here is what I'm going for.. notice the flower image in the green section.
