http://appro.mit.jyu.fi/2000/syksy/tietoverkot/luennot/luento9/relative.css

body {
  background-color: white;
  margin: 0;
  padding: 0em;
}

span.up {
  position: relative;
  top: -1em;
  font-weight: bolder;
  background-color: yellow;
}

span.down {
  position: relative;
  font-weight: bolder;
  top: 1em;
  background-color: yellow;
}

span.left {
  position: relative;
  font-weight: bolder;
  left: -1em;
  background-color: yellow;
}

span.right {
  position: relative;
  font-weight: bolder;
  left: 1em;
  background-color: yellow;
}