img {
  padding:5px 0;
}
div.figure {
  width:310px;
  text-align:center;
  border:1px solid #ccc;
  background-color:#f2f2f2;
  margin:5px;
  float:left;
}
p.caption {
  padding:0;
  margin:0 0 5px 0;
  font:italic 12px Georgia, "Times New Roman", Times, serif;
  color:#333333;
}
