function setValign($valign)
    {
        $old = $this->valign;
        $this->valign = $valign;
        $this->onAlign($this->halign, $old);
    }
function setValign($valign)
    {
        $old = $this->valign;
        $this->valign = $valign;
        $this->onAlign($this->halign, $old);
    }
function setValign ( $ valign ) { $ old = $ this -> valign ; $ this -> valign = $ valign ; $ this -> onAlign ( $ this -> halign , $ old ) ; }
Sets the vertical alignment of the element.
@param string Vertical alignment can be either "top", "center" or
"bottom"
Sets the vertical alignment of the element .