Jump to content


Photo

Layout


  • Faça o login para participar
7 replies to this topic

#1 dockism

dockism

    Intelligent Man :-)

  • Usuários
  • 171 posts
  • Sexo:Não informado
  • Localidade:Santa Maria - RS

Posted 12/11/2004, 16:06

acessem http://www.belgaquimica.com.br/site/

quer tiver usando 800x600 pode ver que aparece um BARRA DE ROLAGEM EM BAIXO ja diminui tudo agora as tabelas estão 779e mesmo assim fica a BARRA já estou ficando nervoso com isso hehehe mas acho que esta dando problema ali nos banners mas eu ja tentei e não consegui....alguem pode me ajudar... :(

segue o codigo da index.php

<HTML>
<HEAD>
<TITLE>Belga Quimica</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<link href="estilo_css/styles.css" rel="stylesheet" type="text/css">
<link href="estilo_css/style.css" rel="stylesheet" type="text/css">
</HEAD>
<script language="JavaScript">

function abrir(URL) {

   var width = 779;
   var height = 400;

   var left = 99;
   var top = 99;

   window.open(URL,'sistema', 'width='+width+', height='+height+', top='+top+', left='+left+', scrollbars=yes, status=no, toolbar=no, location=no, directories=no, menubar=no, resizable=yes, fullscreen=no');

}

</script>
<BODY background="imagens/fundo.gif" LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 tracingsrc="imagens/fundo.gif" tracingopacity="100">
<center>

<!-- ImageReady Slices (index.psd) -->
  <TABLE WIDTH=779 BORDER=0 CELLPADDING=0 CELLSPACING=0 bgcolor="#FFFFFF" class="frame">
    <!--DWLayoutTable-->
    <TR> 
      <TD height="107" COLSPAN=3 valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
          <!--DWLayoutTable-->
          <tr>
            <td height="90" valign="top" bgcolor="#FFFFFF"><div align="center"><img src="imagens/top.jpg" width="779" height="90"></div></td>
          </tr>
          <tr>
            <td height="10" valign="top" bgcolor="#FFFFFF"><div align="right"><strong><a href="index.php">HOME</a> | <a href="index.php?pag=empresa/empresa">EMPRESA</a>            | <a href="javascript:abrir('produtos/produtos.php')">PRODUTOS</a> |
                  <a href="index.php?pag=diversos/diversos">DIVERSOS</a> |<a href="index.php?pag=cadastro/cadastro"> CADASTRE-SE</a> | <a href="index.php?pag=contato/contato">CONTATO</a></strong></div></td>
          </tr>
          <tr> 
            <td width="782" height="5" valign="top" bgcolor="#FFFFFF">
              <div align="center"><img src="imagens/plinha.jpg" width="779" height="5">
                </p>
                </div></td></tr>
        </table></TD>
    </TR>
    <TR><TD width="443" height="448" valign="top"><table width="100%" height="450" border="0" cellpadding="0" cellspacing="0">
          <!--DWLayoutTable-->
          <tr> 
            <td width="9" height="400">&nbsp;</td>
            <td width="434" valign="top" bgcolor="#FFFFFF"><font color="#999999">
<?
if (!isset($_GET['pag']) || !file_exists("$_GET[pag].php")) {
include("centro.php");
} else {
include("$_GET[pag].php");
}
?>
            </font></td>
          </tr>
        </table></TD>
      <TD width="191" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
          <!--DWLayoutTable-->
          <tr> 
            <td height="48" colspan="4" valign="top"><img src="imagens/news2_r1_c1.jpg" width="184" height="48"></td>
            <td width="6" rowspan="5" valign="top"><div align="right"><img src="imagens/linha.gif" width="5" height="448"></div></td>
          </tr>
          <tr> 
            <td width="19" rowspan="3" valign="top"><img src="imagens/news2_r2_c1.jpg" width="19" height="399"></td>
            <td width="142" height="296" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FDFBFC">
                <!--DWLayoutTable-->
                <tr> 
                  <td height="111" colspan="2" valign="top" class="block-title">Segue 
                    o conteudo do site aqui noticias e novidades que interese<br>
                    Segue o conteudo do site aqui noticias e novidades que interese<br>
                    Segue o conteudo do site aqui noticias e novidades que interese</td>
                </tr>
                <tr> 
                  <td width="63" height="89" valign="top" class="block-title"><div align="left">Segue 
                      o conteudo do site aqui noticias e novidades que interese</div></td>
                  <td width="79" valign="top"><img src="imagens/vidros1.jpg" width="79" height="96"></td>
                </tr>
                <tr> 
                  <td height="89" colspan="2" valign="top" class="block-title">Segue 
                    o conteudo do site aqui noticias e novidades que intereseSegue 
                    o conteudo do site aqui noticias e novidades que interese</td>
                </tr>
              </table></td>
            <td width="23" rowspan="3" valign="top"><img src="imagens/news2_r2_c3.jpg" width="23" height="399"></td>
            <td width="1">&nbsp;</td>
          </tr>
          <tr> 
            <td height="76" valign="top"><div align="right"><img src="imagens/vidros3.jpg" width="135" height="76"></div></td>
            <td>&nbsp;</td>
          </tr>
          <tr> 
            <td height="27" valign="top"><img src="imagens/news2_r3_c2.jpg" width="142" height="27"></td>
            <td>&nbsp;</td>
          </tr>
          <tr> 
            <td height="1"></td>
            <td></td>
            <td></td>
            <td></td>
          </tr>
        </table></TD>
      <TD width="148" rowspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <!--DWLayoutTable-->
          <tr> 
            <td width="148" height="20">&nbsp;</td>
          </tr>
          <tr> 
            <td height="29" valign="top"><img src="imagens/newslat01.gif" width="147" height="21"></td>
          </tr>
          <tr>
            <td height="69" valign="top"><? include ('../newsletter/FormCadastro.php'); ?>
            </td>
          </tr>
          <tr> 
            <td height="12" valign="top"><img src="imagens/newslat02.gif" width="147" height="12"></td>
          </tr>
          <tr> 
            <td height="60" valign="top"><div align="center"><font color="#999999" size="1" face="Verdana, Arial, Helvetica, sans-serif">Preencha 
                os campos acima e receba informativos sobre promo&ccedil;&otilde;es 
                dos produtos do site.</font></div></td>
          </tr>
          <tr> 
            <td height="12" valign="top"><img src="imagens/newslat02.gif" width="147" height="12"></td>
          </tr>
          <tr> 
            <td height="6"></td>
          </tr>
          <tr> 
            <td height="50" valign="top" bgcolor="#DFEFFA"> <div align="center"><font color="#006699">BANER1</font></div></td>
          </tr>
          <tr> 
            <td height="12" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
          </tr>
          <tr> 
            <td height="49" valign="top" bgcolor="#DFEFFA"> <div align="center"><font color="#006699">BANER2</font></div></td>
          </tr>
          <tr> 
            <td height="12" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
          </tr>
          <tr> 
            <td height="50" valign="top" bgcolor="#DFEFFA"> <div align="center"><font color="#006699">BANER3</font></div></td>
          </tr>
        </table></TD>
    </TR>
    <TR> 
      <TD height="2"></TD>
      <TD></TD>
    </TR>
    <TR> 
      <TD height="50" COLSPAN=3 valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <!--DWLayoutTable-->
          <tr> 
            <td width="779" height="50" valign="top"><div align="center"><img src="imagens/barralong.jpg" width="779" height="50"></div></td>
          </tr>
          <!--DWLayoutTable-->
        </table></TD>
    </TR>
    <TR> 
      <TD height="1"> <IMG SRC="images/spacer.gif" WIDTH=443 HEIGHT=1 ALT=""></TD>
      <TD></TD>
      <TD></TD>
    </TR>
  </TABLE>
  <!-- End ImageReady Slices -->
</center>
</BODY>

</HTML>

:wacko: :blink:

Edição feita por: dockism, 12/11/2004, 16:07.

Futuro Projeto .:[DAN]net:.

#2 MarviN*

MarviN*

    nw . newton web

  • Usuários
  • 780 posts
  • Sexo:Não informado
  • Localidade:Brasília - DF

Posted 12/11/2004, 17:28

Dependendo do windows e tals, a barra de rolagem aparece mesmo com essa largura... eu gosto de usar 770 pra garantir q a barra de rolagem não vai aparecer.. tente colocar 776, ou algo um pouco menor!! e depois vc pode tentar aumentar um pouco conforme sobre espaço! :)
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
[ Blog Desenvolvimento Web: http://www.newtonwagner.net/blog ]
[ Diário da Selva: http://www.diariodaselva.com/ ]

[ "Não existe um caminho para a paz; a paz é o caminho." Mahatma Gandhi ]

#3 dockism

dockism

    Intelligent Man :-)

  • Usuários
  • 171 posts
  • Sexo:Não informado
  • Localidade:Santa Maria - RS

Posted 12/11/2004, 19:48

ok vou tentar...no diminuir tudo que esta 779 para 770...
Futuro Projeto .:[DAN]net:.

#4 dockism

dockism

    Intelligent Man :-)

  • Usuários
  • 171 posts
  • Sexo:Não informado
  • Localidade:Santa Maria - RS

Posted 13/11/2004, 08:25

ai galera fiz tudo coloquei tudo 770 mas continua com a barra de rolagem em baixo

olhem ai http://www.belgaquim.../site/index.php
lembrando isso para quem usa 800x600

o codigo da index.php
<HTML>
<HEAD>
<TITLE>Belga Quimica</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<link href="estilo_css/styles.css" rel="stylesheet" type="text/css">
<link href="estilo_css/style.css" rel="stylesheet" type="text/css">
</HEAD>
<script language="JavaScript">

function abrir(URL) {

   var width = 779;
   var height = 400;

   var left = 99;
   var top = 99;

   window.open(URL,'sistema', 'width='+width+', height='+height+', top='+top+', left='+left+', scrollbars=yes, status=no, toolbar=no, location=no, directories=no, menubar=no, resizable=yes, fullscreen=no');

}

</script>
<BODY background="imagens/fundo.gif" LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 tracingsrc="imagens/fundo.gif" tracingopacity="100">
<center>

<!-- ImageReady Slices (index.psd) -->
  <TABLE WIDTH=781 BORDER=0 CELLPADDING=0 CELLSPACING=0 bgcolor="#FFFFFF" class="frame">
    <!--DWLayoutTable-->
    <TR> 
      <TD height="107" COLSPAN=3 valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
          <!--DWLayoutTable-->
          <tr>
            <td height="90" colspan="2" valign="top" bgcolor="#FFFFFF"><div align="center"><img src="imagens/top.jpg" width="770" height="90"></div></td>
          </tr>
          <tr>
            <td width="773" height="10" valign="top" bgcolor="#FFFFFF"><div align="right"><strong><a href="index.php">HOME</a> | <a href="index.php?pag=empresa/empresa">EMPRESA</a>            | <a href="javascript:abrir('produtos/produtos.php')">PRODUTOS</a> |
                  <a href="index.php?pag=diversos/diversos">DIVERSOS</a> |<a href="index.php?pag=cadastro/cadastro"> CADASTRE-SE</a> | <a href="index.php?pag=contato/contato">CONTATO</a></strong></div></td>
            <td width="8" valign="top" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell-->&nbsp;</td>
          </tr>
          <tr> 
            <td height="5" colspan="2" valign="top" bgcolor="#FFFFFF">
              <div align="center"><img src="imagens/plinha.jpg" width="770" height="5">
                </p>
                </div></td></tr>
        </table></TD>
    </TR>
    <TR><TD width="443" height="448" valign="top"><table width="100%" height="450" border="0" cellpadding="0" cellspacing="0">
          <!--DWLayoutTable-->
          <tr> 
            <td width="9" height="400">&nbsp;</td>
            <td width="434" valign="top" bgcolor="#FFFFFF"><font color="#999999">
<?
if (!isset($_GET['pag']) || !file_exists("$_GET[pag].php")) {
include("centro.php");
} else {
include("$_GET[pag].php");
}
?>
            </font></td>
          </tr>
        </table></TD>
      <TD width="191" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
          <!--DWLayoutTable-->
          <tr> 
            <td height="48" colspan="4" valign="top"><img src="imagens/news2_r1_c1.jpg" width="184" height="48"></td>
            <td width="6" rowspan="5" valign="top"><div align="right"><img src="imagens/linha.gif" width="5" height="448"></div></td>
          </tr>
          <tr> 
            <td width="19" rowspan="3" valign="top"><img src="imagens/news2_r2_c1.jpg" width="19" height="399"></td>
            <td width="142" height="296" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FDFBFC">
                <!--DWLayoutTable-->
                <tr> 
                  <td height="111" colspan="2" valign="top" class="block-title">Segue 
                    o conteudo do site aqui noticias e novidades que interese<br>
                    Segue o conteudo do site aqui noticias e novidades que interese<br>
                    Segue o conteudo do site aqui noticias e novidades que interese</td>
                </tr>
                <tr> 
                  <td width="63" height="89" valign="top" class="block-title"><div align="left">Segue 
                      o conteudo do site aqui noticias e novidades que interese</div></td>
                  <td width="79" valign="top"><img src="imagens/vidros1.jpg" width="79" height="96"></td>
                </tr>
                <tr> 
                  <td height="89" colspan="2" valign="top" class="block-title">Segue 
                    o conteudo do site aqui noticias e novidades que intereseSegue 
                    o conteudo do site aqui noticias e novidades que interese</td>
                </tr>
              </table></td>
            <td width="23" rowspan="3" valign="top"><img src="imagens/news2_r2_c3.jpg" width="23" height="399"></td>
            <td width="1">&nbsp;</td>
          </tr>
          <tr> 
            <td height="76" valign="top"><div align="right"><img src="imagens/vidros3.jpg" width="135" height="76"></div></td>
            <td>&nbsp;</td>
          </tr>
          <tr> 
            <td height="27" valign="top"><img src="imagens/news2_r3_c2.jpg" width="142" height="27"></td>
            <td>&nbsp;</td>
          </tr>
          <tr> 
            <td height="1"></td>
            <td></td>
            <td></td>
            <td></td>
          </tr>
        </table></TD>
      <TD width="147" rowspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <!--DWLayoutTable-->
          <tr> 
            <td width="147" height="20">&nbsp;</td>
          </tr>
          <tr> 
            <td height="29" valign="top"><img src="imagens/newslat01.gif" width="147" height="21"></td>
          </tr>
          <tr>
            <td height="69" valign="top"><? include ('../newsletter/FormCadastro.php'); ?>
            </td>
          </tr>
          <tr> 
            <td height="12" valign="top"><img src="imagens/newslat02.gif" width="147" height="12"></td>
          </tr>
          <tr> 
            <td height="60" valign="top"><div align="center"><font color="#999999" size="1" face="Verdana, Arial, Helvetica, sans-serif">Preencha 
                os campos acima e receba informativos sobre promo&ccedil;&otilde;es 
                dos produtos do site.</font></div></td>
          </tr>
          <tr> 
            <td height="12" valign="top"><img src="imagens/newslat02.gif" width="147" height="12"></td>
          </tr>
          <tr> 
            <td height="6"></td>
          </tr>
          <tr> 
            <td height="50" valign="top" bgcolor="#DFEFFA"> <div align="center"><font color="#006699">BANER1</font></div></td>
          </tr>
          <tr> 
            <td height="12" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
          </tr>
          <tr> 
            <td height="49" valign="top" bgcolor="#DFEFFA"> <div align="center"><font color="#006699">BANER2</font></div></td>
          </tr>
          <tr> 
            <td height="12" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
          </tr>
          <tr> 
            <td height="50" valign="top" bgcolor="#DFEFFA"> <div align="center"><font color="#006699">BANER3</font></div></td>
          </tr>
        </table></TD>
    </TR>
    <TR> 
      <TD height="2"></TD>
      <TD></TD>
    </TR>
    <TR> 
      <TD height="50" COLSPAN=3 valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <!--DWLayoutTable-->
          <tr> 
            <td width="770" height="50" valign="top"><div align="center"><img src="imagens/barralong.jpg" width="770" height="50"></div></td>
          </tr>
          <!--DWLayoutTable-->
        </table></TD>
    </TR>
    <TR> 
      <TD height="1"> <IMG SRC="images/spacer.gif" WIDTH=443 HEIGHT=1 ALT=""></TD>
      <TD></TD>
      <TD></TD>
    </TR>
  </TABLE>
  <!-- End ImageReady Slices -->
</center>
</BODY>

</HTML>

Futuro Projeto .:[DAN]net:.

#5 tiraduvidas

tiraduvidas

    12 Horas

  • Usuários
  • 149 posts
  • Sexo:Não informado

Posted 13/11/2004, 13:05

você tem que definir suas tabelas e colunas com %, tipo: 100% para tabela geral, etc...
isso vai reduzir esse tipo de problema, e quando for usar figuras ver se o tamanho não é maior que o espaço do local oferecido para mesma, rode o código:

<HTML>
<HEAD>
<TITLE>Belga Quimica</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<link href="estilo_css/styles.css" rel="stylesheet" type="text/css">
<link href="estilo_css/style.css" rel="stylesheet" type="text/css">
</HEAD>
<script language="JavaScript">

function abrir(URL) {

  var width = 779;
  var height = 400;

  var left = 99;
  var top = 99;

  window.open(URL,'sistema', 'width='+width+', height='+height+', top='+top+', left='+left+', scrollbars=yes, status=no, toolbar=no, location=no, directories=no, menubar=no, resizable=yes, fullscreen=no');

}

</script>
<BODY background="imagens/fundo.gif" LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 tracingsrc="imagens/fundo.gif" tracingopacity="100">
<center>

<!-- ImageReady Slices (index.psd) -->
 <TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0 bgcolor="#FFFFFF" class="frame">
   <!--DWLayoutTable-->
   <TR> 
     <TD height="107" COLSPAN=3 valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
         <!--DWLayoutTable-->
         <tr>
           <td height="90" colspan="2" valign="top" bgcolor="#FFFFFF"><div align="center"><img src="imagens/top.jpg" width="770" height="90"></div></td>
         </tr>
         <tr>
           <td width="100%" height="10" valign="top" bgcolor="#FFFFFF"><div align="right"><strong><a href="index.php">HOME</a> | <a href="index.php?pag=empresa/empresa">EMPRESA</a>            | <a href="javascript:abrir('produtos/produtos.php')">PRODUTOS</a> |
                 <a href="index.php?pag=diversos/diversos">DIVERSOS</a> |<a href="index.php?pag=cadastro/cadastro"> CADASTRE-SE</a> | <a href="index.php?pag=contato/contato">CONTATO</a></strong></div></td>
           <td width="8" valign="top" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell-->&nbsp;</td>
         </tr>
         <tr> 
           <td height="5" colspan="2" valign="top" bgcolor="#FFFFFF">
             <div align="center"><img src="imagens/plinha.jpg" width="770" height="5">
               </p>
               </div></td></tr>
       </table></TD>
   </TR>
   <TR><TD width="443" height="448" valign="top"><table width="100%" height="450" border="0" cellpadding="0" cellspacing="0">
         <!--DWLayoutTable-->
         <tr> 
           <td width="9" height="400">&nbsp;</td>
           <td width="434" valign="top" bgcolor="#FFFFFF"><font color="#999999">
<?
if (!isset($_GET['pag']) || !file_exists("$_GET[pag].php")) {
include("centro.php");
} else {
include("$_GET[pag].php");
}
?>
           </font></td>
         </tr>
       </table></TD>
     <TD width="191" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
         <!--DWLayoutTable-->
         <tr> 
           <td height="48" colspan="4" valign="top"><img src="imagens/news2_r1_c1.jpg" width="184" height="48"></td>
           <td width="6" rowspan="5" valign="top"><div align="right"><img src="imagens/linha.gif" width="5" height="448"></div></td>
         </tr>
         <tr> 
           <td width="19" rowspan="3" valign="top"><img src="imagens/news2_r2_c1.jpg" width="19" height="399"></td>
           <td width="142" height="296" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FDFBFC">
               <!--DWLayoutTable-->
               <tr> 
                 <td height="111" colspan="2" valign="top" class="block-title">Segue 
                   o conteudo do site aqui noticias e novidades que interese<br>
                   Segue o conteudo do site aqui noticias e novidades que interese<br>
                   Segue o conteudo do site aqui noticias e novidades que interese</td>
               </tr>
               <tr> 
                 <td width="63" height="89" valign="top" class="block-title"><div align="left">Segue 
                     o conteudo do site aqui noticias e novidades que interese</div></td>
                 <td width="79" valign="top"><img src="imagens/vidros1.jpg" width="79" height="96"></td>
               </tr>
               <tr> 
                 <td height="89" colspan="2" valign="top" class="block-title">Segue 
                   o conteudo do site aqui noticias e novidades que intereseSegue 
                   o conteudo do site aqui noticias e novidades que interese</td>
               </tr>
             </table></td>
           <td width="23" rowspan="3" valign="top"><img src="imagens/news2_r2_c3.jpg" width="23" height="399"></td>
           <td width="1">&nbsp;</td>
         </tr>
         <tr> 
           <td height="76" valign="top"><div align="right"><img src="imagens/vidros3.jpg" width="135" height="76"></div></td>
           <td>&nbsp;</td>
         </tr>
         <tr> 
           <td height="27" valign="top"><img src="imagens/news2_r3_c2.jpg" width="142" height="27"></td>
           <td>&nbsp;</td>
         </tr>
         <tr> 
           <td height="1"></td>
           <td></td>
           <td></td>
           <td></td>
         </tr>
       </table></TD>
     <TD width="147" rowspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
         <!--DWLayoutTable-->
         <tr> 
           <td width="147" height="20">&nbsp;</td>
         </tr>
         <tr> 
           <td height="29" valign="top"><img src="imagens/newslat01.gif" width="147" height="21"></td>
         </tr>
         <tr>
           <td height="69" valign="top"><? include ('../newsletter/FormCadastro.php'); ?>
           </td>
         </tr>
         <tr> 
           <td height="12" valign="top"><img src="imagens/newslat02.gif" width="147" height="12"></td>
         </tr>
         <tr> 
           <td height="60" valign="top"><div align="center"><font color="#999999" size="1" face="Verdana, Arial, Helvetica, sans-serif">Preencha 
               os campos acima e receba informativos sobre promo&ccedil;&otilde;es 
               dos produtos do site.</font></div></td>
         </tr>
         <tr> 
           <td height="12" valign="top"><img src="imagens/newslat02.gif" width="147" height="12"></td>
         </tr>
         <tr> 
           <td height="6"></td>
         </tr>
         <tr> 
           <td height="50" valign="top" bgcolor="#DFEFFA"> <div align="center"><font color="#006699">BANER1</font></div></td>
         </tr>
         <tr> 
           <td height="12" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
         </tr>
         <tr> 
           <td height="49" valign="top" bgcolor="#DFEFFA"> <div align="center"><font color="#006699">BANER2</font></div></td>
         </tr>
         <tr> 
           <td height="12" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
         </tr>
         <tr> 
           <td height="50" valign="top" bgcolor="#DFEFFA"> <div align="center"><font color="#006699">BANER3</font></div></td>
         </tr>
       </table></TD>
   </TR>
   <TR> 
     <TD height="2"></TD>
     <TD></TD>
   </TR>
   <TR> 
     <TD height="50" COLSPAN=3 valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
         <!--DWLayoutTable-->
         <tr> 
           <td width="100%" height="50" valign="top"><div align="center"><img src="imagens/barralong.jpg" height="50"></div></td>
         </tr>
         <!--DWLayoutTable-->
       </table></TD>
   </TR>
   <TR> 
     <TD height="1"> <IMG SRC="images/spacer.gif" HEIGHT=1 ALT=""></TD>
     <TD></TD>
     <TD></TD>
   </TR>
 </TABLE>
 <!-- End ImageReady Slices -->
</center>
</BODY>

</HTML>


#6 dockism

dockism

    Intelligent Man :-)

  • Usuários
  • 171 posts
  • Sexo:Não informado
  • Localidade:Santa Maria - RS

Posted 16/11/2004, 07:54

oba....cara funcionou em resolução 800x600 perfeitamente, mas para que usa acima disso o site fico uma xxxxxx da uma olha vc....
em 800x600 e acima disso..

http://www.belgaquimica.com.br/site/


acho q px fica melhor não precisa redimensionar eu acho o site para a certa resolução ou é melhor??? por que agora eu não sei mais como fazer.... :(

Edição feita por: dockism, 16/11/2004, 07:55.

Futuro Projeto .:[DAN]net:.

#7 dockism

dockism

    Intelligent Man :-)

  • Usuários
  • 171 posts
  • Sexo:Não informado
  • Localidade:Santa Maria - RS

Posted 16/11/2004, 08:08

ai acho q consegui fiz uns testes....ta vamos la então....

1. eu usei o codigo de o tiraduvidas me passo....mas acho que fico bom não...
funciona perfeitamente em 800x600 mas acima disso fica feio....
http://www.belgaquim.../site/index.php

2. então eu resolvi mexer para ver no que dava e olhem como fico em 800x600 e acima disso...
http://www.belgaquim...site/index2.php

3. e esse aqui era o que eu tava tentando corrigir (layout antigo com erro da barra de rolagem) que ver em 800x600 vai ver q fica um barra de rolagem baixo....
http://www.belgaquim...ndex_backup.php


segue o codigo da index2.php
<HTML>
<HEAD>
<TITLE>Belga Quimica</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<link href="estilo_css/styles.css" rel="stylesheet" type="text/css">
<link href="estilo_css/style.css" rel="stylesheet" type="text/css">
</HEAD>
<script language="JavaScript">

function abrir(URL) {

 var width = 779;
 var height = 400;

 var left = 99;
 var top = 99;

 window.open(URL,'sistema', 'width='+width+', height='+height+', top='+top+', left='+left+', scrollbars=yes, status=no, toolbar=no, location=no, directories=no, menubar=no, resizable=yes, fullscreen=no');

}

</script>
<BODY background="imagens/fundo.gif" LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 tracingsrc="imagens/fundo.gif" tracingopacity="100">
<center>

<!-- ImageReady Slices (index.psd) -->
<TABLE WIDTH=779 BORDER=0 CELLPADDING=0 CELLSPACING=0 bgcolor="#FFFFFF" class="frame">
  <!--DWLayoutTable-->
  <TR> 
    <TD height="107" COLSPAN=3 valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
        <!--DWLayoutTable-->
        <tr>
          <td height="90" colspan="2" valign="top" bgcolor="#FFFFFF"><div align="center"><img src="imagens/top.jpg" width="770" height="90"></div></td>
        </tr>
        <tr>
          <td width="779" height="10" valign="top" bgcolor="#FFFFFF"><div align="right"><strong><a href="index.php">HOME</a> | <a href="index.php?pag=empresa/empresa">EMPRESA</a>            | <a href="javascript:abrir('produtos/produtos.php')">PRODUTOS</a> |
                <a href="index.php?pag=diversos/diversos">DIVERSOS</a> |<a href="index.php?pag=cadastro/cadastro"> CADASTRE-SE</a> | <a href="index.php?pag=contato/contato">CONTATO</a></strong></div></td>
          <td width="8" valign="top" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell-->&nbsp;</td>
        </tr>
        <tr> 
          <td height="5" colspan="2" valign="top" bgcolor="#FFFFFF">
            <div align="center"><img src="imagens/plinha.jpg" width="770" height="5">
              </p>
              </div></td></tr>
      </table></TD>
  </TR>
  <TR><TD width="443" height="448" valign="top"><table width="100%" height="450" border="0" cellpadding="0" cellspacing="0">
        <!--DWLayoutTable-->
        <tr> 
          <td width="9" height="400">&nbsp;</td>
          <td width="434" valign="top" bgcolor="#FFFFFF"><font color="#999999">
<?
if (!isset($_GET['pag']) || !file_exists("$_GET[pag].php")) {
include("centro.php");
} else {
include("$_GET[pag].php");
}
?>
          </font></td>
        </tr>
      </table></TD>
    <TD width="191" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
        <!--DWLayoutTable-->
        <tr> 
          <td height="48" colspan="4" valign="top"><img src="imagens/news2_r1_c1.jpg" width="184" height="48"></td>
          <td width="6" rowspan="5" valign="top"><div align="right"><img src="imagens/linha.gif" width="5" height="448"></div></td>
        </tr>
        <tr> 
          <td width="19" rowspan="3" valign="top"><img src="imagens/news2_r2_c1.jpg" width="19" height="399"></td>
          <td width="142" height="296" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FDFBFC">
              <!--DWLayoutTable-->
              <tr> 
                <td height="111" colspan="2" valign="top" class="block-title">Segue 
                  o conteudo do site aqui noticias e novidades que interese<br>
                  Segue o conteudo do site aqui noticias e novidades que interese<br>
                  Segue o conteudo do site aqui noticias e novidades que interese</td>
              </tr>
              <tr> 
                <td width="63" height="89" valign="top" class="block-title"><div align="left">Segue 
                    o conteudo do site aqui noticias e novidades que interese</div></td>
                <td width="79" valign="top"><img src="imagens/vidros1.jpg" width="79" height="96"></td>
              </tr>
              <tr> 

                <td height="89" colspan="2" valign="top" class="block-title">Segue 
                  o conteudo do site aqui noticias e novidades que intereseSegue 
                  o conteudo do site aqui noticias e novidades que interese</td>
              </tr>
            </table></td>
          <td width="23" rowspan="3" valign="top"><img src="imagens/news2_r2_c3.jpg" width="23" height="399"></td>
          <td width="1">&nbsp;</td>
        </tr>
        <tr> 
          <td height="76" valign="top"><div align="right"><img src="imagens/vidros3.jpg" width="135" height="76"></div></td>
          <td>&nbsp;</td>
        </tr>
        <tr> 
          <td height="27" valign="top"><img src="imagens/news2_r3_c2.jpg" width="142" height="27"></td>
          <td>&nbsp;</td>
        </tr>
        <tr> 
          <td height="1"></td>
          <td></td>
          <td></td>
          <td></td>
        </tr>
      </table></TD>
    <TD width="147" rowspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
        <!--DWLayoutTable-->
        <tr> 
          <td width="147" height="20">&nbsp;</td>
        </tr>
        <tr> 
          <td height="29" valign="top"><img src="imagens/newslat01.gif" width="147" height="21"></td>
        </tr>
        <tr>
          <td height="69" valign="top"><? include ('../newsletter/FormCadastro.php'); ?>
          </td>
        </tr>
        <tr> 
          <td height="12" valign="top"><img src="imagens/newslat02.gif" width="147" height="12"></td>
        </tr>
        <tr> 
          <td height="60" valign="top"><div align="center"><font color="#999999" size="1" face="Verdana, Arial, Helvetica, sans-serif">Preencha 
              os campos acima e receba informativos sobre promo&ccedil;&otilde;es 
              dos produtos do site.</font></div></td>
        </tr>
        <tr> 
          <td height="12" valign="top"><img src="imagens/newslat02.gif" width="147" height="12"></td>
        </tr>
        <tr> 
          <td height="6"></td>
        </tr>
        <tr> 
          <td height="50" valign="top" bgcolor="#DFEFFA"> <div align="center"><font color="#006699">BANER1</font></div></td>
        </tr>
        <tr> 
          <td height="12" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
        </tr>
        <tr> 
          <td height="49" valign="top" bgcolor="#DFEFFA"> <div align="center"><font color="#006699">BANER2</font></div></td>
        </tr>
        <tr> 
          <td height="12" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
        </tr>
        <tr> 
          <td height="50" valign="top" bgcolor="#DFEFFA"> <div align="center"><font color="#006699">BANER3</font></div></td>
        </tr>
      </table></TD>
  </TR>
  <TR> 
    <TD height="2"></TD>
    <TD></TD>
  </TR>
  <TR> 
    <TD height="50" COLSPAN=3 valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
        <!--DWLayoutTable-->
        <tr> 
          <td width="100%" height="50" valign="top"><div align="center"><img src="imagens/barralong.jpg" height="50"></div></td>
        </tr>
        <!--DWLayoutTable-->
      </table></TD>
  </TR>
  <TR> 
    <TD height="1"> <IMG SRC="images/spacer.gif" HEIGHT=1 ALT=""></TD>
    <TD></TD>
    <TD></TD>
  </TR>
</TABLE>
<!-- End ImageReady Slices -->
</center>
</BODY>

</HTML>

acho que agora ja da para finalizar o layout né?? :P
Futuro Projeto .:[DAN]net:.

#8 Lucaswdm

Lucaswdm

    Lucas WDM

  • Usuários
  • 284 posts
  • Sexo:Masculino
  • Localidade:Belo Horizonte
  • Interesses:PHP

Posted 20/11/2004, 04:59

Bom galera
andei percebendo que...
há uma diferença no tamanho máximo das tabelas para os diferentes temas de WIndows
por exemplo
no WIndows 98 com o tema simples
e com o tamanho da barra de rolagem NORMAL
o correto eh usar 777 pixels
mas... jah no WINXP com o tema azul(padrao)
para vc naum ver a barra de rolagem da parte de baixo, o maximo que pode usar eh 768 pixels, garantindo assim uma correta vizualização da página

Espero ter ajudado

Atenciosamente,
Lucas WDM
Lucas Mariano - Data2 Soluções para Internet
Idealizador :: Concurso #GatasdoTW
Belo Horizonte, MG




1 user(s) are reading this topic

0 membro(s), 1 visitante(s) e 0 membros anônimo(s)

IPB Skin By Virteq