Page 1 of 1

FEU Change settings Template Format

Posted: Sun Aug 12, 2007 12:11 am
by forextrader36
I'm using Frontendusers 1.2.0 with the standard Change Settings Template

Code: Select all

<!-- change settings template -->
{$title}
{if $message != ''}
  {if $error != ''}
    <p><font color="red">{$message}</font></p>
  {else}
    <p>{$message}</p>
  {/if}
{/if}
{$startform}
 {if $controlcount > 0}
  <center>
  <table width="75%">
     {foreach from=$controls item=control}
  <tr>
     <td>{$control->hidden}<font color="{$control->color}">{$control->prompt}{$control->marker}</font></td>
     <td>
       {if isset($control->image)}{$control->image}<br/>{/if}
       {$control->control}{$control->addtext}
       {if $control->required != true}
         {if isset($control->control2)}{$control->prompt2} {$control->control2}<br/>{/if}
       {/if}
     </td>
 {/foreach}
  </table>
  </center>
 {/if}
 {$hidden}{$hidden2}{$submit}{$cancel}
{$endform}
<!-- change settings template -->
 

Which means when I view the Change Settings Form on my site it looks like this
Image

Is there a piece of code I can use in the Stylesheet simlar to the 

.formbuilderform label {
  display: block
  width: 25%;
}

or any other code i can use to align the change settings form?

Re: FEU Change settings Template Format

Posted: Sun Aug 12, 2007 12:16 am
by Dr.CSS
I would need a link to the page or the rendered page source to help you...

Re: FEU Change settings Template Format

Posted: Sun Aug 12, 2007 12:19 am
by calguy1000
The template that I provide is just a simple example.  If you wanted to style it properly, I'd take out the table, and use div's to seperate everything.  then it'd be easier to style.