View Full Version : Smarty form aliegnment

05-08-2008, 08:22 AM
Hello, I use smarty templates and I have a form that, for the life of me, can not figure out how to adjust the aliegnment of the set and reset buttons.

The form presently looks like this:


Here is the loader code (php code)

$form = array(
array('type' => 'separator', 'text' => 'Contact us'),
array('type' => 'textarea', 'name' => 'message', 'cols'=>50, 'rows'=>20, 'prelabel' => 'message:'),
array('type' => 'reset', 'value' => 'Reset form'),
array('type' => 'submit', 'value' => 'Send')


Here is the template code

<div>{if !$confirmation}{html_form loop=$tpl_formdata tableparams=$tpl_formdata_table formparams=$tpl_formdata_form}{/if}</div