Ir para conteúdo

POWERED BY:

Arquivado

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

Jefferson NF

allowtransparency

Recommended Posts

boa tarde pessoal

estou com uns probleminhas aki

me passaram esse codigo pra eu me baseiar nele e fazer o site em cima dle,pq gsotaram do layout e tal

soh q nao estou conseguindo colcoar o iframe no center,nem coloca-lo transparente

o codigo esta uma bagunça,se algume conseguir entende-lo e puder me ajudar a organiza-lo e fazer isso d colocar o ifrma no centro e transparente

eu agradecerei mto

tens umas ags tr ae sem nda e qnd eu tiro o rodape fik no lugar errado,se alguem puder me ajudar

agradeço desde ja

 

<body>

<div align="center">

  <table border="0" width="758" height="321" style="border-collapse: collapse" 

bordercolor="#111111" cellpadding="0" cellspacing="0" aling="center">
	<tr>
	  <td width="765" height="47" colspan="5">
	  <center><img border="0" src="images/log.jpg" width="300" height="70"></td></center>
	</tr>
	<tr>
	  <td width="765" height="55" colspan="5">
	  <p align="center"><b><font face="Verdana" size="2" color="yellow"> 
	  <a target="home" href="home.html" style="text-decoration: none">
	  <font color="yellow">Home</font></a> 
	  || <a target="home" href="empresa.html" style="text-decoration: none">
	  <font color="yellow">Empresa</font></a>  || 
	  <a style="text-decoration: none" target="home" href="calendarios.html">
	  <font color="yellow">Produtos</font></a> || 
	  <a target="home" href="mapa.html" style="text-decoration: none">
	  <font color="yellow">Parceiros</font></a> ||
	  <a target="home" style="text-decoration: none" href="contato.php">
	  <font color="yellow">Contato</font></a> </font></b></td>
	</tr>
	<tr>
	  <td width="765" height="0" colspan="5">
	</tr>
	<tr>
	  <td width="495" height="400" rowspan="3" bgcolor="yellow">
	  <center><iframe name="home" border="0" frameborder="0" width="600" height="380" 

align="center" src="home.html" allowtransparency="true">Seu navegador não oferece suporte 

para quadros entre linhas ou está configurado no momento para não 

exibi-los.</iframe></center></td>  
	<tr>
	  
	</tr>
	<tr>
	  
	</tr>
	<tr>
	  <td width="765" height="25" colspan="5">
	  <p align="center">
	  <font face="Verdana" color="#000" size="1">©2008 Mega Bor Comércio de Borrachas LTDA. 

• Todos os direitos 
	  reservados</font></td>
	</tr>
  </table>

</div>
<p align="center"> </p>

</body>

Compartilhar este post


Link para o post
Compartilhar em outros sites

Ai amigo, refiz o codigo, agora ve ai o que falta. abraços

 

 

<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Untitled Document</title>
</head>

<style>
body { margin: 0px;
	   padding: 0px;
	   font-family:Arial, Helvetica, sans-serif;
	   font-family: 13px;
	   color:#000000;
	   }

#container { border: solid 1px #CCCCCC;
			 margin: 0 auto;
			 width: 720px;
			 height: 545px;
						   
			 }

#topo { width: auto;
		height: 100px;
		background: #F2F2F2;
		}

#barra2 {   padding-left: 70px;
			padding-top: 5px;
			height: 100px;
			background: #E6E6E6;
			margin: 0px;
			
			}
			
#barra2 li{ padding-left: 3px;
			list-style: none;
			display:inline;
			background: #CCCCCC;
			
			}
			
#barra2 li:hover{  padding-left: 3px;
					background: #EAEAEA;
					text-decoration:underline;
								}

#barra3{	height: 20px;
			width:auto;
			background: #FFFFFF;
						
			}
			
#conteudo { 
			height: 310px;
			background:#DBDBDB;
			
			}
#rodape { 
			height: 15px;
			background: #999999;
			color:#FFFFFF;
			font-size: 10px;
			text-align: center;
			
			}
</style>





<body>
<div id="container">

	<div id="topo"></div>
	
		
		
  <div id="barra2">
	<ul>
		<li>Empresa | </li>
		<li>Serviços | </li>
		<li>Software | </li>
		<li>Downloads | </li>
		<li>Contato | </li>
		<li>Suporte Online</li>
	 </ul>
	
  </div>
	
	<div id="barra3"></div>
<div id="conteudo"></div>

<div id="rodape">©2008 Mega Bor Comércio de Borrachas LTDA. • Todos os direitos reservados</div>
</div>

</body>
</html>

Compartilhar este post


Link para o post
Compartilhar em outros sites

beleza

vlw msm

vou ver aki o q faço

qlq coisa posto aki

mas aki nao tem como você tentar modificar em cima do meu codigo?tipo soh colocar o iframe no centro e trnasparente?

se der t agradeço mto msm

mas vou olhando e mudando aki o q você fez

valeu msm

abraçao

Compartilhar este post


Link para o post
Compartilhar em outros sites

<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Untitled Document</title>
</head>

<style>
body { margin: 0px;
	   padding: 0px;
	   font-family:Arial, Helvetica, sans-serif;
	   font-family: 13px;
	   color:#000000;
	   }

#container { border: solid 1px #CCCCCC;
			 margin: 0 auto;
			 width: 720px;
			 height: 545px;
						   
			 }

#topo { width: auto;
		height: 100px;
		background: #F2F2F2;
		}

#barra2 {   padding-left: 110px;
			padding-top: 5px;
			height: 100px;
			background: #E6E6E6;
			margin: 0px;
			
			}
			
#barra2 li{ padding-left: 3px;
			list-style: none;
			display:inline;
			background: #CCCCCC;
			
			}
			
#barra2 li:hover{  padding-left: 3px;
					background: #EAEAEA;
					text-decoration:underline;
								}

#barra3{	height: 20px;
			width:auto;
			background: #FFFFFF;
						
			}
			
#conteudo { 
			height: 310px;
			background:#DBDBDB;
			
			}
#rodape { 
			height: 15px;
			background: #999999;
			color:#FFFFFF;
			font-size: 10px;
			text-align: center;
			
			}
			
#iframe1 { margin:0px 120px;}
			
			
</style>





<body>
<div id="container">

	<div id="topo"></div>
	
		
		
  <div id="barra2">
	<ul>
		<li>Empresa | </li>
		<li>Serviços | </li>
		<li>Software | </li>
		<li>Downloads | </li>
		<li>Contato | </li>
		<li>Suporte Online</li>
	 </ul>
	
  </div>
	
	<div id="barra3"></div>
<div id="conteudo">
<div id="iframe1">
<iframe name="home" border="0" frameborder="0" width="500" height="280" 
align="center" src="home.html" allowtransparency="true" >Seu navegador não oferece suporte 
para quadros entre linhas ou está configurado no momento para não 
exibi-los.</iframe>
</div>

</div>

<div id="rodape">©2008 Mega Bor Comércio de Borrachas LTDA. • Todos os direitos reservados</div>
</div>

</body>
</html>

 

Coloquei o Iframe e alinhei, dê uma olhada

Compartilhar este post


Link para o post
Compartilhar em outros sites

bem há muitas coisas falhadas no seu site exemplo:

 

aqui vocÊ não fechou o <TD>

<tr>
	  <td width="765" height="0" colspan="5">
	</tr>

uma coisa está estranha o a largura do iframe esta assim width="600" e no <TD> está assim

width="495",

 

você já ouviu falar de Webstandards ou CSS??

que tal aprender a usa-lo ;)

garanto que seus sites alem de bem mais leve ficarão bem melhor de modificar e mais aplicaveis

 

abraço

Compartilhar este post


Link para o post
Compartilhar em outros sites

por exemplo aki nao estou conseguindo fazer mto bem

mas keria +ou- assim,uma div pra coloar a logo no topo,embaixo o menu,ae embaixo o conteudo com iframe e no final o rodape,ele colocou algumas barras e nao consigo mudar o tamanho

keria bem aprecido com o meu,pode ser com div ou com table

nao consigo mudar cores tbm essas coisas

mas msm assim vlw pela força d vcs

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.