...

View Full Version : Smarty form aliegnment



russia5
05-08-2008, 07: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:

http://www.russianhosts.com/contact.us.php


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>{$confirmation}</div>
<div>{if !$confirmation}{html_form loop=$tpl_formdata tableparams=$tpl_formdata_table formparams=$tpl_formdata_form}{/if}</div



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum