Ir para conteúdo
Fórum Script Brasil
  • 0

Barra de Rolagem


DeeKilleer

Pergunta

Galera

Não consigo tirar a barra de rolagem do iFrame. Eu só preciso tirar na horizontal.

Já usei OverFlow no iFrame, no Body, mas não deu certo.

Código abaixo para análise.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<STYLE TYPE="text/css">
<!--
A.lnkdois:link {color: blue; text-decoration: none;}
A.lnkdois:visited {color: blue; text-decoration: none;}
A.lnkdois:hover {color: red;text-decoration:none;}
A.lnkdois:active {color: blue; text-decoration: none;}
-->
</STYLE>
<style type="text/css">
#navcontainer {  }

font#navlist {
position:absolute;
        margin: 0;
        padding: 0;
        list-style-type: none;
        white-space: nowrap;
}

#navlist a, #navlist a:link {
        margin: 0;
        padding: 5px 8px 4px 8px;
        color: #FFFFFF;
        border-right: 0px dashed #d1e3db;
        text-decoration: none;
}

#navlist a:hover {
        color: #FFFFFF;
        background-color: #000099;
}
#navlist a:visited {
       outline:none;
           text-decoration: none;
}
body{
    margin-left:7px;
    margin-top:-5px;
    margin-bottom:0px;
    margin-right:0px;
}
-->
</style>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>texto</title>
</head>
<body>
  <table align="left" width="991" border="0" cellspacing="0" cellpadding="0">
  <tr>
      <td colspan="9">
    <img src="cabecalho.jpg" width="991" height="138" /></td>
        </tr>
  <tr bgcolor="#000066">
    <td width="39" height="27"></td>
    <td width="146" id="navlist" align="center"><a href="#" target="site" class="lnkdois"><font face="verdana" size='2'><b>Sobre a Salcam</b></font></a></td>
    <td width="103" id="navlist" align="center"><a href="#" target="site" class="lnkdois"><font face="verdana" size='2' color="white"><b>Hist&oacute;rico</b></font></a></td>
    <td width="89" id="navlist" align="center"><a href="#" target="site" class="lnkdois"><font face="verdana" size='2'><b>Contato</b></font></a></td>
    <td width="117" id="navlist" align="center"><a href="#" target="site" class="lnkdois"><font face="verdana" size='2'><b>Localização</b></font></a></td>
    <td width="153" id="navlist" align="center"><a href="#" target="site" class="lnkdois"><font face="verdana" size='2'><b>Trabalhe Conosco</b></font></a></td>
    <td width="136" id="navlist" align="center"><a href="#" target="site" class="lnkdois"><font face="verdana" size='2'><b>Representantes</b></font></a></td>
    <td width="154" id="navlist" align="center"><a href="#" target="site" class="lnkdois"><font face="verdana" size='2'><b>Serviços On-Line</b></font></a></td>
    <td width="54" ></td>
    </tr>
    <tr>
        <td colspan="9">
        <iframe  src="#" name='site' width='991' height='429' scrolling="auto" frameborder="0"></iframe>
        </td>
    </tr>
    <tr>
        <td colspan="9">
        <img src="endereco.jpg" alt="Endereço" width="991" height="22" /></td>
    </tr>
</table>
</body>
</html>

Link para o comentário
Compartilhar em outros sites

5 respostass a esta questão

Posts Recomendados

  • 0

Tenta colocar no body da página do iframe o overflw-x:hidden;. Se não der, você pode usar o CSS3, mas não é compatível com todos os browsers. falou!

Link para o comentário
Compartilhar em outros sites

  • 0

Só com CSS3 caras... olhem aí alguns exemplos (eu uso Google Chrome e visualizei normalmente, no FF também, mas no IE não funfou =[). Pega aí a URL dos exemplos:

http://trac.webkit.org/export/41842/trunk/...mbinations.html

E o tuto aí:

http://webkit.org/blog/363/styling-scrollbars/

falou!

Editado por Eliseu M.
Link para o comentário
Compartilhar em outros sites

Participe da discussão

Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emoticons são permitidos.

×   Seu link foi incorporado automaticamente.   Exibir como um link em vez disso

×   Seu conteúdo anterior foi restaurado.   Limpar Editor

×   Você não pode colar imagens diretamente. Carregar ou inserir imagens do URL.



  • Estatísticas dos Fóruns

    • Tópicos
      152,1k
    • Posts
      651,8k
×
×
  • Criar Novo...