HI,
Use display:inline-block as you can't center floats.
Something like this.
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Picture Page</title>
<style type="text/css">
@charset "utf-8";
/* CSS Document */
img,a img {
border:none;
}
a {
text-decoration: none;
border: none;
}
.images{
width:100%;
text-align:center;
margin:90;
padding:0;
}
.images li {
display:inline;
}
.images li a{
margin: 5px;
width:220px;
display:inline-block;
font-size:80%;
font-color: magenta;
text-align:center;
vertical-align:top;
}
.images a img{
background:red;/* for testing*/
height:200px;/* for testing */
width:220px;/* for testing */
display:block;/* for testing */
}
#header {
/*background-color: #FF3; */
color:#000;
margin: -5px 0px 0px -10px;
/* height: 150px; */
font-size: 1.1em;
padding: 10px 10px;
border: solid 1px green;
text-align: center;
vertical-align:middle;
background-color:#0C3;
}
#mainContent {
padding-left: 10px;
padding-top: 2px;
/* background-color: #567; */
/* border: solid 1px green; */
margin: 0 175px;
position: relative;
min-height:0;
zoom:1.0;
}
.clear {
clear: both;
}
.Mission p {
margin-bottom: 10px;
}
h2, h3 {
text-align:center;
padding-top: 5px;
}
</style>
</head>
<body id="PagePictures" >
<div id="Wrapper" class="Container">
<div id="leftcol">
<?php include_once('inc/MainNav.php'); ?>
</div>
<!-- end left column -->
<div id="center-col">
<div id="header">
<h1 class="Welcome">Pictures </h1>
<div class="Mission">
<h2>Below are some of the albums we have for you to view</h2>
<p>Click on an image view each album</p>
<p>We hope you enjoy these historical views!!</p>
</div>
</div>
<!-- start of image(s) display -->
<ul class="images">
<li><a href="Pictures/display.php?album=1"><img src="images/2010Flyer.jpg" width="220" > 2010 Show Pictures</a></li>
<li><a href="Pictures/display.php?album=1"><img src="images/2010Flyer.jpg" width="220" > 2010 Show Pictures</a></li>
<li><a href="#"><img src="images/flyer09.jpg" width="220"> 2009 Show Pictures</a></li>
<li><a href="#"><img src="images/flyer08.jpg" width="220"> 2008 Show Pictures</a></li>
<li><a href="#"><img src="images/flyer07.jpg" width="220"> 2007 Show Pictures</a></li>
</ul>
<!-- end of images display , I hope! -->
</div>
</div>
</body>
</html>
Use a list for the images and no need for a class on every list as they can all be targetted via the parent.
Bookmarks