Ir para conteúdo

Arquivado

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

Spice Boy

Div dentro de outra Div

Recommended Posts

gente, eu to quase conseguindo, mas quando muda as resoluções de tela as divs so ficam no canto...

 

ai o print com a resolução 800x600

 

IE

http://img59.imageshack.us/img59/7561/printie.jpg

 

FIREFOX

http://img153.imageshack.us/img153/9581/printmozila.jpg

 

so q se eu vizualizar com a resolução 1024x768 as divs fican no canto:

 

IE

http://img641.imageshack.us/img641/4001/printie2.jpg

 

FIREFOX

http://img269.imageshack.us/img269/3474/printmozila2.jpg

 

Eu usei tabelas dentro da div, olha ai o code:

 

 

<html>

<head>
<meta http-equiv="Content-Language" content="pt-br">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Nova pagina 3</title>
</head>
<STYLE type="text/css">
#layout {
/** largura **/
width: 800px;
/** altura **/
height: 100%;
position:fixed;
}

#noticias {
/** cor do fundo **/
background-color: #0E070E;
/** largura **/
width: 557px;
/** altura **/
height: 100%;
float: left;
}

#ads {
/** cor do fundo **/
background-color: #0E070E;
/** largura **/
width: 168px;
/** altura **/
height: 608px;
float: right;
margin:5px;
}

#enquete {

/** largura **/
width: 553px;
/** altura **/
height: 100%;
float: left;
margin:3px;
}


</STYLE>
<body topmargin="0" bgcolor="#150B14">
<center>
<p>
<img border="0" src="banner.jpg" width="800" height="440"></p>

</center>

<div id="noticias">
  <p align="left" style="margin-top: 6">
  <img border="0" src="noticias.png" width="566" height="36"></div>
<center>
<div id="ads"></div><div id="enquete">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="553" id="AutoNumber1" height="291">
  <tr>
    <td width="275" height="291" bgcolor="#0E070E" valign="top" rowspan="3">
    <p style="margin-top: 5"> <img border="0" src="enquete.png" width="177" height="33"></td>
    <td width="8" height="303" rowspan="3"> </td>
    <td width="270" height="207" bgcolor="#0E070E" valign="top">
    <p style="margin-top: 5"> <img border="0" src="fadomes.png" width="177" height="33"></td>
  </tr>
  <tr>
    <td width="270" height="3"></td>
  </tr>
  <tr>
    <td width="270" height="98" bgcolor="#0E070E" valign="top">
    <p style="margin-top: 5"> <img border="0" src="top.png" width="177" height="33"></td>
  </tr>
</table>
</div></body>
</center>
</html>

 

agora so falta eu saber como q eu faço para q as divs se adpitem a qualquer resolução de tela ^^

 

e ai gente, ta certinho os codes???

ajuda???

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.