http://appro.mit.jyu.fi/opetusteknologia/luennot/luento4/kuvagalleria.css

body, html {
  background: #d0d0ff; 
  color: black; 
  font-family: "Trebuchet MS", Verdana, Arial, "Andale Mono", sans-serif ;
  margin: 0;
  padding: 0;
}

a {
  padding: 2px;
  border: 0;
  background: transparent none;
  text-decoration: none;
  color: black;
}

a:visited {
  color: #603000;
  background: transparent;
  padding: 2px;
  border: 0;
  color: purple;
}

a:visited img {
  padding: 2px;
  text-decoration: none;
  border: 0;
}

a:link img {
  padding: 2px;
  border: 0;
  text-decoration: none;
}

a:hover img {
  border: 2px solid black;
  padding: 0;
}

a:visited:hover img {
  border: 2px solid purple;
  padding: 0;
}

div.kuva {
  float: left;
  width: 175px;
  text-align: center;
  height: 13em;
  overflow: hidden;
}

div.kuva p {
  margin: 0;
  font-size: smaller;
  padding: 0;
}