public function setTop($top) {
    if (!$this->isSupportedUnit($top)) {
      $this->triggerError("Value \"${top}\" does not use a supported unit.");
    }
    else {
      $this->top = $top;
    }
    return $this;
  }