I'm using shopping cart software that allows adjustments to the php and can't figure this out.....
the size of my input fields is too big. Is it a setting of the font size that adjust this? or does the function of the input field draw do this.
here is the code for the input box:
<tr>
<td class="body"><?php echo ENTRY_FIRST_NAME; ?></td>
<td class="body"><?php
echo (($is_read_only) ? $account['entry_firstname'] : shop_draw_input_field('firstname[0]', (($_POST['firstname'][0]) ? $_POST['firstname'][0] : $account['entry_firstname']), 'maxlength="64"')); if ($entry_firstname_error) echo ' ' . ENTRY_FIRST_NAME_ERROR; ?></td>
</tr>
here is the the zend code:
function shop_draw_selection_field($name, $type, $value = false, $checked = false) {
$selection = '<input type="' . $type . '" name="' . $name . '"';
if (shop_is_null($value) && shop_not_null($GLOBALS[$name])) {
$selection .= ' value="' . htmlentities(stripslashes($GLOBALS[$name])) . '"';
} elseif (shop_not_null($value)) {
$selection .= ' value="' . trim(htmlentities($value)) . '"';
}
if (shop_not_null($checked) && (shop_not_null($checked) || $GLOBALS[$name] == 'on' || $value && $GLOBALS[$name] == $value)) {
$selection .= ' CHECKED';
}
$selection .= '>';
return $selection;
any help would be great! Thanks.....