I've tried to set a width to all my 'input' tags for the 'Change Settings' template in FEU. The only trouble is, say I set the input to 200px, IE obeys (surprisingly) but all other browsers create a huge long input field that stretches way beyond where I need it too.
Because the template is a loop (see below) I can't specify an ID just for the file input.
This is my code and CSS I'm working with:
Code: Select all
{$startform}
{if $controlcount > 0}
<center>
<table width="460" id="settings">
{foreach from=$controls item=control}
<tr>
<td width="100">{$control->hidden}<p>{$control->prompt}{$control->marker}</p></td>
<td width="360">
<div class="input_wrapper">
{if isset($control->image)}<div id="avatar">{$control->image}</div><br/>{/if}
{$control->control}<p class="settings_instruction">{$control->addtext}</p>
{if isset($control->control2)}<div id="clear_avatar">{$control->prompt2} {$control->control2}</div><br/>{/if}
</div>
</td>
</tr>
{/foreach}
</table>
</center>
{/if}
{$hidden}{$hidden2}{$submit}{$cancel}
{$endform}
Code: Select all
#settings .input_wrapper input{
width:200px;}