Jump to content
Fórum Script Brasil
  • 0

Quebra De Linha No Select.

Guest Manoel Messias


Guest Manoel Messias

Bom dia!

Tenho um select que os itens <option> são longos, com isso não cabem na área da tela.

<TD colspan="2" width="20%" nowrap="nowrap">
        <select name="numpat" id="select" class="edit" style="border-color:red;" onchange="valida_setor(this)" style="width:200px">
        <option value="0">Selecione tipo de bem</option>
       $set = "SELECT * FROM sis_pat_conta_contabil ORDER BY itens";
       for($i=0; $i<$row; $i++) { ?>
       <option value="<? echo mysql_result($set, $i, "id"); ?>">
       <? echo mysql_result($set, $i,"itens"); ?></option>
<?       } ?>


Aceito qualquer palpite.


Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Forum Statistics

    • Total Topics
    • Total Posts
  • Create New...