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

Dúvidas Com Tabelas


Guest valreiss

Pergunta

Guest valreiss

e não estou conseguindo resolver. Eu estou fazendo um site www.microsig.com.br/teste e na visualização 800x600 fica um espaço em branco do lado esquerdo da tela. Quero deixar o site centralizado, já que quero ele no centro quando alguém abrir na resolução maior. Alguém pode me ajudar e acertar este site?

Link para o comentário
Compartilhar em outros sites

8 respostass a esta questão

Posts Recomendados

  • 0
Guest valreiss

O problema do site não é a centralização. Eu consegui centralizar. O problema é um espaço que fica na esquerda do site, e já olhei nos codigos e não encontrei nada que justifique este espaço. Ele é visto mais em 800x600 porque na outra resolução, ele fica certinho...

Link para o comentário
Compartilhar em outros sites

  • 0

www.maujor.com

Procura estudar sobre web-standard e esquece tabelas pra construir a estrutura do seu site...

Em relação a uma ajuda imediata vou ficar devendo...mas procura ler sobre o assunto acima...

Até.

Link para o comentário
Compartilhar em outros sites

  • 0
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<script LANGUAGE="JavaScript">
<!--
function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
//-->
</script>
<style type="text/css">
	  td
	  {
	  font-family:verdana;
	  font-size:8pt;
	  }

	  td.title
	  {
	  background-color:#DDDDDD;
	  font-weight:bold;
	  }

	  td.content
	  {
	  padding:2px;
	  border-bottom:solid #DDDDDD 2px;
	  padding-bottom:12px;
	  }
	</style>
   <style type="text/css">
<!--
.bgtop {
	background-repeat: no-repeat;
	background-position: top;
}
-->
   </style>
<link href="Portal_Rent/Html/txt01.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<link href="Portal_Rent/Html/borda01.css" rel="stylesheet" type="text/css">
<link href="Portal_Rent/Html/forms.css" rel="stylesheet" type="text/css">
<link href="Portal_Rent/Html/txt_default.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style41 {font-weight: bold}
-->
</style>
<script type="text/javascript" language="JavaScript">
<!--
// Global variable for Cross-browser AutoScroller 
flevTimeoutID = null;

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function flevDivPositionValue(sDivID, sPositionProperty) { // v1.0, Marja Ribbers-de Vroed  
    var sPositionValue;
	// ***** W3C Compatible DOM (NN6, Mozilla 16, etc.) ***** 
    if (document.getElementById && !document.all) { //W3C DOM compliant 
       var docObj = document.getElementById(sDivID); 
		if (document.defaultView != null) { // NS6+ alike 
			sPositionValue = document.defaultView.getComputedStyle(docObj, "").getPropertyValue(sPositionProperty); 
			} 
		else { // Opera 5 alike 
			if (sPositionProperty == "height") { sPositionValue = docObj.style.pixelHeight; } 
			else if (sPositionProperty == "width") { sPositionValue = docObj.style.pixelWidth; } 
			else { sPositionValue = eval("docObj.style." + sPositionProperty); } 
			} 
		sPositionValue = (sPositionValue == "") ? "0" : sPositionValue; 
    	} 
    // ***** Netscape Navigator 4+ DOM ***** 
    else if (document.layers) { //NS4+ DOM compliant 
		var docObj = eval("MM_findObj('" + sDivID + "')"); 
		if ((sPositionProperty == "width") || (sPositionProperty == "height")) { sPositionValue = eval("docObj.clip." + sPositionProperty); } 
		else { sPositionValue = eval("docObj." + sPositionProperty); } 
		sPositionValue = (sPositionValue == "") ? "0" : sPositionValue; 
    	} 
    // ***** Internet Explorer 4+ DOM ***** 
    else if (document.all) { //IE4+ DOM compliant 
		if (sPositionProperty == "width") { sPositionValue = eval(sDivID + ".offsetWidth"); } 
		else if (sPositionProperty == "height") { sPositionValue = eval(sDivID + ".offsetHeight"); } 
		else if (sPositionProperty == "top") { sPositionValue = eval(sDivID + ".offsetTop"); } 
		else if (sPositionProperty == "left") { sPositionValue = eval(sDivID + ".offsetLeft"); } 
		sPositionValue = (sPositionValue == "") ? "0" : sPositionValue; 
    	} 
	if (isNaN(sPositionValue)) { if (sPositionValue.indexOf('px') > 0) { sPositionValue = sPositionValue.substring(0,sPositionValue.indexOf('px')); } } 
	return parseInt(sPositionValue); 
}

function flevMoveDiv(sDivID, sLeft, sTop){ // v1.0, Marja Ribbers-de Vroed 
	var	docObj = eval("MM_findObj('" + sDivID + "')"); 
	if (document.layers) { // NS4.x 
		eval("docObj.top = '" + sTop + "'"); 
		eval("docObj.left = '" + sLeft + "'"); 
	} 
	else { // all others 
		eval("docObj.style.top = '" + sTop + "'"); 
		eval("docObj.style.left = '" + sLeft + "'"); 
	} 
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<html>
<head>
<title>::: Microsig Sistemas :::</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--


function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
//-->
</script>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-image: url();
}
.style5 {color: #666666; font-family: Tahoma; font-size: 12px; }
a:link {
	color: #999999;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #999999;
}
a:hover {
	text-decoration: none;
	color: #0066FF;
}
a:active {
	text-decoration: none;
	color: #999999;
}
.style43 {color: #3399FF}
.style44 {color: #333333}
.style44 {color: #0000FF;
	font-family: Tahoma;
	font-size: 12px;
}
.style45 {color: #3399FF; font-weight: bold; }
.style47 {color: #000099}
.style49 {color: #0000FF}
-->
</style>
</head>

<body onLoad="MM_preloadImages('images/png/banner_produtos_pb1.png','images/png/banner_produtos_pb2.png','images/png/banner_produtos_pb3.png','images/png/banner_produtos_pb4.png')">
<blockquote>
  <!--#include file="topo.asp" -->
  <table width="780
  " height="0%" border="0" align="center" cellpadding="0" cellspacing="0" style="border:dotted #cccccc 1px">
    <tr>
      <td colspan="3">&nbsp;</td>
    </tr>
    <tr>
      <td width="189" height="579" valign="top"><!--#include file="esquerda.asp" --></td>
      <td width="430" align="center" valign="top" bgcolor="#F5F5F5"><div align="center"><br>
          </div>
        <table width="57%"  border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td colspan="2"><div align="justify"><span class="style44"><span class="style43"><span class="style47">Seja bem Vindo ao site da </span><span class="style49">Microsig!</span><span class="style47"> Conhe&ccedil;a o que h&aacute; de melhor em sistemas de 
  gerenciamento, sistemas de automa&ccedil;&atilde;o comercial, 
  entre outros... <a href="produtos.htm"><br>
  Clique aqui</a> ou nas imagens abaixo 
  e conhe&ccedil;a mais sobre os nossos produtos. </span></span><span class="style45"><br>
  <br>
          </span></span> </div></td>
          </tr>
        <tr>
          <td width="39%"><a href="dominio_contabil.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image22','','images/png/banner_produtos_pb1.png',1)"><img src="images/png/banner_produtos1.png" name="Image22" width="166" height="166" border="0"></a></td>
          <td width="61%"><a href="ganso.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image23','','images/png/banner_produtos_pb2.png',1)"><img src="images/png/banner_produtos2.png" name="Image23" width="166" height="166" border="0"></a></td>
        </tr>
        <tr>
          <td><a href="dominio_contabil_plus.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image24','','images/png/banner_produtos_pb3.png',1)"><img src="images/png/banner_produtos3.png" name="Image24" width="166" height="166" border="0"></a></td>
          <td><a href="dominio_ponto.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image25','','images/png/banner_produtos_pb4.png',1)"><img src="images/png/banner_produtos4.png" name="Image25" width="166" height="166" border="0"></a></td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td colspan="2"><div align="center"><span class="style5"><strong><strong>Seja um Revendedor dos produtos Microsig</strong></strong></span></div></td>
          </tr>
        <tr>
          <td><span class="style5"><strong><strong><img src="images/maos.jpg" width="150" height="89"></strong></strong></span></td>
          <td align="left" valign="top"><div align="justify"><span class="font_home"><span class="style5">S&atilde;o muitas empresas em todo o Brasil. Conhe&ccedil;a nossa pol&iacute;tica de revenda <a href="revenda.asp">clicando aqui.</a> </span><a href="Portal_Rent/Revenda/Html_New/Revenda_I_frames.htm"></a></span></div></td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
      </table>
      <br></td>
      <td width="159"><!--#include file="direita_noticias.asp" -->
    </tr>
  </table>
  <!--#include file="bottom.asp" -->
</blockquote>
</body>
</html>

Editado por Deividy
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...