PEAR quickform layout

i am creating a login for my system, this consists of username, underneath is the password and underneath that is the login button. I also want a register link BESIDE the login button but I am unable to do so using the quickform method. Is there any way i can place a register link besides the login button instead of it going to a new line. thanks…

<style type="text/css">
 td{font-family:arial,lucida console,sans-serif;
 table{border:0px solid #000;}

require_once "HTML/QuickForm.php";
 $form = new HTML_QuickForm('Create', 'post', Basename(_FILE_));
 $opts = array('size' => 20, 'maxlength' => 255);
 $form ->addElement('static','header', null

 $form -> addElement('text', 'username','Username:', $opts);
 $form -> addElement('password','password','Password:', $opts);
 $form -> addElement('submit','login','Login');
 $form -> addElement('link','reg_link','','includes/regform.php','Register','_target="blank"');
 $login = $form -> toHtml();
Sponsor our Newsletter | Privacy Policy | Terms of Service