I am having issues getting the 'Logo Filler' centering. I have the width of 'content' set to 805 (a wrapper for anything displayed). I just can't figure out how to get this to center. I was able to get the top and bottom border for the nav to center, as well as the footer dummy text (img). I can't get the top one to.
Also,
1. I cannot get a border for the 'content' div to wrap around itself, without just declaring a height in pixels. It only shows the border for a certain portion of the page. It doesn't extend all the way to the bottom of the content.
2. The footer img will not display in IE6. I'm doing this all in IE7, and verifying in IE6 on my laptop which is housing a wamp server.
3. *Forget this one. Getting the logo filler centered makes it look alright. * How can I get where it says 'People' as a title for the current page, not nav bar to float off to the left a little bit. Perferrable have the right side of the 'People' img almost at the same colum of pixels as the left side of the white space? I'd like it to move with everything else if a browser is resized.
Thanks
http://homeserve.zapto.org/jtp/jamestphotography/people.html
HTML
CSS
Also,
1. I cannot get a border for the 'content' div to wrap around itself, without just declaring a height in pixels. It only shows the border for a certain portion of the page. It doesn't extend all the way to the bottom of the content.
2. The footer img will not display in IE6. I'm doing this all in IE7, and verifying in IE6 on my laptop which is housing a wamp server.
3. *Forget this one. Getting the logo filler centered makes it look alright. * How can I get where it says 'People' as a title for the current page, not nav bar to float off to the left a little bit. Perferrable have the right side of the 'People' img almost at the same colum of pixels as the left side of the white space? I'd like it to move with everything else if a browser is resized.
Thanks
http://homeserve.zapto.org/jtp/jamestphotography/people.html
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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="style.css" />
<title>Jamest Photography - People</title>
</head>
<body>
<div id="content">
<div id="logo" align="center">
<img src="images/logofill.png" />
</div><!--Logo-->
<div id="nav" align="center">
<img src="images/navborder.png" />
<ul>
<li><a href="#"><img src="images/pplup.png" /></a></li>
<li><a href="#"><img src="images/industup.png" /></a></li>
<li><a href="#"><img src="images/productup.png" /></a></li>
<li><a href="#"><img src="images/contactup.png" /></a></li>
</ul>
<img src="images/navborder.png" />
</div><!--Nav-->
<div id="title">
<img src="images/People.png" />
</div><!--Title-->
<div id="body">
<div id="bodyimg"></div>
<div id="bodythumb"></div>
</div>
<div id="footer">
<img src="images/footer.png" />
</div><!--Footer-->
</div><!--Content-->
</body>
</html>
CSS
@charset "utf-8";
/* CSS Document */
body {
background-color: #000000;
margin: 0;
}
#content {
position: relative;
color: #FFFBF0;
text-align: left;
margin: 0 auto;
width: 800px;
border: 1px solid #33CCCC;
}
#logo {
position: absolute;
margin-left: auto;
margin-right: auto;
width: 800px;
}
#nav {
position: absolute;
list-style-type: none;
top: 150px;
width: 800px;
}
#nav ul {
list-style-type:none;
margin: 0;
padding: 0;
}
#nav li {
display: inline;
}
#nav ul li a {
text-decoration: none;
}
#nav a img {
border:none;
padding-left: 51px;
padding-top: 0px;
}
#title {
position:absolute;
top: 230px;
float: left;
text-align: left;
}
#body {
position: absolute;
background-color:#FFFFFF;
top: 320px;
width: 800px;
height: 250px;
}
#bodyimg {
position: absolute;
}
#bodythumb {
position: absolute;
}
#footer {
position: relative;
top: 625px;
}