Ir para conteúdo

POWERED BY:

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

Claire

Problemas com o posicionamento do site

Recommended Posts

Seguinte, faz tempo que eu edito sites no Dreamweaver e é a primeira vez que me acontece isso (ou pelo menos somente agora eu reparei). Criei um site cuja posição na tela é centralizada, e a página inicial fica sem a barra de rolagem. Mas percebi que ao criar um link em QUALQUER lugar da página, quando clico nesse link a página fica com a barra de rolagem e ela vai um pouco pro lado esquerdo (detalhe que eu fiz um link pra mesma página só pra testar). Tipo, na index.html eu fiz um link pra index.html e é aí que acontece isso, a página vai um pouco pro lado e aparece a barra de rolagem, mas ao atualizar volta ao normal.

 

Alguém saberia me dizer o que devo fazer pro meu site não ficar se "mexendo" na tela?

 

Agradeço desde já! :-)

Compartilhar este post


Link para o post
Compartilhar em outros sites

Ok! Agora não aparece mais a barra de rolagem, mas quando eu clico num link o site move ligeiramente para o lado esquerdo, gostaria que ele ficasse FIXO.

 

Segue o código. Obrigada!

 

 

--------------------------------------------------------------------

 

 

<style type="text/css">

<!--

body {

margin-top: 0px;

margin-bottom: 0px;

}

-->

</style>

<div align="center"><html>

<head>

<title>site2</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

</head>

<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

<table id="Table_01" width="779" height="599" border="0" cellpadding="0" cellspacing="0">

<tr>

<td colspan="2" rowspan="2">

<img src="images/index_01.gif" width="349" height="61" alt=""></td>

<td>

<img src="images/index_02.gif" width="136" height="46" alt=""></td>

<td colspan="2" rowspan="2">

<img src="images/index_03.gif" width="293" height="61" alt=""></td>

<td>

<img src="images/spacer.gif" width="1" height="46" alt=""></td>

</tr>

<tr>

<td rowspan="2">

<a href="index.html" target="_parent"><img src="images/index_04.gif" alt="" width="136" height="18" border="0"></a></td>

<td>

<img src="images/spacer.gif" width="1" height="15" alt=""></td>

</tr>

<tr>

<td colspan="2" rowspan="7">

<img src="images/index_05.gif" width="349" height="69" alt=""></td>

<td colspan="2" rowspan="11">

<img src="images/index_06.gif" width="293" height="224" alt=""></td>

<td>

<img src="images/spacer.gif" width="1" height="3" alt=""></td>

</tr>

<tr>

<td>

<img src="images/index_07.gif" width="136" height="3" alt=""></td>

<td>

<img src="images/spacer.gif" width="1" height="3" alt=""></td>

</tr>

<tr>

<td>

<img src="images/index_08.gif" width="136" height="24" alt=""></td>

<td>

<img src="images/spacer.gif" width="1" height="24" alt=""></td>

</tr>

<tr>

<td>

<img src="images/index_09.gif" width="136" height="4" alt=""></td>

<td>

<img src="images/spacer.gif" width="1" height="4" alt=""></td>

</tr>

<tr>

<td>

<img src="images/index_10.gif" width="136" height="24" alt=""></td>

<td>

<img src="images/spacer.gif" width="1" height="24" alt=""></td>

</tr>

<tr>

<td>

<img src="images/index_11.gif" width="136" height="3" alt=""></td>

<td>

<img src="images/spacer.gif" width="1" height="3" alt=""></td>

</tr>

<tr>

<td rowspan="2">

<img src="images/index_12.gif" width="136" height="24" alt=""></td>

<td>

<img src="images/spacer.gif" width="1" height="8" alt=""></td>

</tr>

<tr>

<td colspan="2" rowspan="4">

<img src="images/index_13.gif" width="349" height="155" alt=""></td>

<td>

<img src="images/spacer.gif" width="1" height="16" alt=""></td>

</tr>

<tr>

<td>

<img src="images/index_14.gif" width="136" height="3" alt=""></td>

<td>

<img src="images/spacer.gif" width="1" height="3" alt=""></td>

</tr>

<tr>

<td>

<img src="images/index_15.gif" width="136" height="24" alt=""></td>

<td>

<img src="images/spacer.gif" width="1" height="24" alt=""></td>

</tr>

<tr>

<td>

<img src="images/index_16.gif" width="136" height="112" alt=""></td>

<td>

<img src="images/spacer.gif" width="1" height="112" alt=""></td>

</tr>

<tr>

<td colspan="2">

<img src="images/index_17.gif" width="349" height="63" alt=""></td>

<td rowspan="4">

<img src="images/index_18.gif" width="136" height="314" alt=""></td>

<td colspan="2">

<img src="images/index_19.gif" width="293" height="63" alt=""></td>

<td>

<img src="images/spacer.gif" width="1" height="63" alt=""></td>

</tr>

<tr>

<td colspan="2"> </td>

<td colspan="2"> </td>

<td>

<img src="images/spacer.gif" width="1" height="35" alt=""></td>

</tr>

<tr>

<td>

<img src="images/index_22.gif" width="163" height="9" alt=""></td>

<td rowspan="2"> </td>

<td>

<img src="images/index_24.gif" width="163" height="9" alt=""></td>

<td rowspan="2"> </td>

<td>

<img src="images/spacer.gif" width="1" height="9" alt=""></td>

</tr>

<tr>

<td> </td>

<td> </td>

<td>

<img src="images/spacer.gif" width="1" height="207" alt=""></td>

</tr>

</table>

</body>

</div>

</html>

Compartilhar este post


Link para o post
Compartilhar em outros sites

tenta isso<style type="text/css"><!--body {margin-top: 0px;margin-bottom: 0px;}--></style><div align="center"><html><head><title>site2</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><div align="center"> <table id="Table_01" width="779" height="599" border="0" cellpadding="0" cellspacing="0"> <tr> <td colspan="2" rowspan="2"> <img src="images/index_01.gif" width="349" height="61" alt=""></td> <td> <img src="images/index_02.gif" width="136" height="46" alt=""></td> <td colspan="2" rowspan="2"> <img src="images/index_03.gif" width="293" height="61" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="46" alt=""></td> </tr> <tr> <td rowspan="2"> <a href="index.html" target="_parent"><img src="images/index_04.gif" alt="" width="136" height="18" border="0"></a></td> <td> <img src="images/spacer.gif" width="1" height="15" alt=""></td> </tr> <tr> <td colspan="2" rowspan="7"> <img src="images/index_05.gif" width="349" height="69" alt=""></td> <td colspan="2" rowspan="11"> <img src="images/index_06.gif" width="293" height="224" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="3" alt=""></td> </tr> <tr> <td> <img src="images/index_07.gif" width="136" height="3" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="3" alt=""></td> </tr> <tr> <td> <img src="images/index_08.gif" width="136" height="24" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="24" alt=""></td> </tr> <tr> <td> <img src="images/index_09.gif" width="136" height="4" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="4" alt=""></td> </tr> <tr> <td> <img src="images/index_10.gif" width="136" height="24" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="24" alt=""></td> </tr> <tr> <td> <img src="images/index_11.gif" width="136" height="3" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="3" alt=""></td> </tr> <tr> <td rowspan="2"> <img src="images/index_12.gif" width="136" height="24" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="8" alt=""></td> </tr> <tr> <td colspan="2" rowspan="4"> <img src="images/index_13.gif" width="349" height="155" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="16" alt=""></td> </tr> <tr> <td> <img src="images/index_14.gif" width="136" height="3" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="3" alt=""></td> </tr> <tr> <td> <img src="images/index_15.gif" width="136" height="24" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="24" alt=""></td> </tr> <tr> <td> <img src="images/index_16.gif" width="136" height="112" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="112" alt=""></td> </tr> <tr> <td colspan="2"> <img src="images/index_17.gif" width="349" height="63" alt=""></td> <td rowspan="4"> <img src="images/index_18.gif" width="136" height="314" alt=""></td> <td colspan="2"> <img src="images/index_19.gif" width="293" height="63" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="63" alt=""></td> </tr> <tr> <td colspan="2"> </td> <td colspan="2"> </td> <td> <img src="images/spacer.gif" width="1" height="35" alt=""></td> </tr> <tr> <td> <img src="images/index_22.gif" width="163" height="9" alt=""></td> <td rowspan="2"> </td> <td> <img src="images/index_24.gif" width="163" height="9" alt=""></td> <td rowspan="2"> </td> <td> <img src="images/spacer.gif" width="1" height="9" alt=""></td> </tr> <tr> <td> </td> <td> </td> <td> <img src="images/spacer.gif" width="1" height="207" alt=""></td> </tr> </table></div></body></div></html>você tera que acertas as outras paginas tbm coloca tipo essa que esta acima...caso esteja do jeito que você quer...se nao tiver da um POST ai....

Compartilhar este post


Link para o post
Compartilhar em outros sites

e ai como fikou agora???seu problema era os DIVs que tinha antes do BODY

Compartilhar este post


Link para o post
Compartilhar em outros sites

SHOW DE BOLA, RAPAZ!!

 

Prestarei mais atenção da próxima vez! Obrigada mesmo! :-)

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.