Jump to content
Fórum Script Brasil
  • 0

table 100% iframe 100% não fica exato


Enigma_avatar

Question

Opa galera beleza

Então estou desenvolvendo um menu onde a tabela e feita com base em % , porem tento ajustar um iframe em 100% height e não ajusta, o witdth funciona normal.

segue resultado http://yugiohonline.com.br/novoindex.php

como podem o certo era a area lateral ficar ajustada ate o fim da tabela transparente

segue o codigo

<table width="80%" height="95%" border="0" align="center" cellpadding="0" cellspacing="0" background="http://www.corinthians.com.br/portal/images/black59alpha.png" id="principal">
        <tr> 
          <td><table width="98%" height="98%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr> 
                <td width="10%" height="10%" valign="top"> 
                  <div align="center"><img src="http://www.oldschoolgamer.com.br/reviews/yu-gi-oh-forbidden-memories/imagens/logoJogo.png" width="150" height="80"></div></td>
                <td width="90%" rowspan="2" valign="top"> 
                  </td>
              </tr>
              <tr> 
                <td width="10%" height="90%" valign="top"> 
                  <div align="center"> 
                    <input name="button" type="image" onClick="canais.scrollBy(0,-132)" value="Up" src="/imagens/arrows_up.gif" width="150" height="34" border="0">
                    <br>
                    <iframe src="teste_content.htm" name"canais" width="100%" marginwidth="0" height="100%" marginheight="0" scrolling="no" frameborder="0" id="canais"></iframe>
                    <br> 
                    <input name="button2" type="image" onClick="canais.scrollBy(0,132)" src="/imagens/arrows_dn.gif" width="150" height="33">
                  </div></td>
              </tr>
            </table></td>
        </tr>
      </table>

Edited by Enigma_avatar
Link to comment
Share on other sites

3 answers 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.

Guest
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
      152.2k
    • Total Posts
      652k
×
×
  • Create New...