Ver Mensaje Individual
  #1 (permalink)  
Antiguo 16/11/2009, 06:41
ferchumdp
 
Fecha de Ingreso: noviembre-2009
Mensajes: 4
Antigüedad: 14 años, 5 meses
Puntos: 0
Duda de novato

Hola. Me gustaria si alguien me puede ayudar a alinear correctamente un boton.
El problema es una caja de busqueda y deberia ponerse el boton de buscar ('button_quick_find.gif') a la misma altura que la caja de texto. Cuanto mas grande es el boton mas a bajo se me desplaza la caja de texto. Alguien me puede ayudar?? El boton siempre aparece en la posicion correcta, lo que se desplaza hacia abajo es la caja de busqueda.
Gracias
Código:
<!-- search //-->
          <tr>
            <td>
<?php
  $info_box_contents = array();
  $info_box_contents[] = array('text' => BOX_HEADING_SEARCH);

  new infoBoxHeading($info_box_contents, false, false);

  $info_box_contents = array();
  $info_box_contents[] = array('form' => tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get'),
                               'align' => 'left',
                               'text' => tep_draw_input_field('keywords', '',  'value="' . BOX_SEARCH_VALUE . '" onfocus="if (this.value == \'' . BOX_SEARCH_VALUE . '\') {this.value = \'\';}" onblur="if (this.value == \'\') {this.value = \'' . BOX_SEARCH_VALUE . '\';}" size="10" maxlength="30" style="width: ' . (BOX_WIDTH+40) . 'px"') .  tep_hide_session_id() . tep_image_submit('button_quick_find.gif' , BOX_HEADING_SEARCH) . '<br>' . '<a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '"><b>' . BOX_SEARCH_ADVANCED_SEARCH . '</b></a>');

  new infoBox($info_box_contents);
?>
            </td>
          </tr>
<!-- search_eof //-->