Ver Mensaje Individual
  #1 (permalink)  
Antiguo 26/11/2014, 18:01
JimmyBrain
 
Fecha de Ingreso: noviembre-2014
Mensajes: 46
Antigüedad: 9 años, 5 meses
Puntos: 0
Efecto raro en los DIV

Hola tengo un problema con el siguiente codigo :


El HTML

Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  4. <title>Documento sin t&iacute;tulo</title>
  5. <link href="style.css" rel="stylesheet" type="text/css" />
  6. </head>
  7.  
  8. <center>
  9.       <div class="container">
  10.         <div class="banner">
  11.           <p><img src="logo.png" width="507" height="100" /></p>
  12.         </div>
  13.         <div class="box">
  14.           <div class="menu">
  15. <div class="categorias">
  16. <h3>Categorias</h3>
  17. <div class="categorias_body">
  18.   Link1<br />
  19.   Link2<br />
  20.   Link3<br />
  21.   Link4<br />
  22.   Link5<br />
  23.   Link6<br />
  24.   Link7<br />
  25.   Link8<br />
  26.   Link9<br />
  27.   Link10<br />
  28.   </div>
  29. </div>
  30.           </div>
  31.          
  32.      
  33. <div class="body">
  34.  
  35. <div class="post">
  36. <h3>Noticia1</h3>
  37. <div class="post_body">
  38.   <p>Contenido de Noticia1</p>
  39.   </div>
  40. </div>
  41.  
  42. <div class="post">
  43. <h3>Noticia2</h3>
  44. <div class="post_body">
  45.   <p>Contenido de Noticia2</p>
  46.   </div>
  47. </div>
  48.  
  49. <div class="post">
  50. <h3>Noticia3</h3>
  51. <div class="post_body">
  52.   <p>Contenido de Noticia3</p>
  53.   </div>
  54. </div>
  55.  
  56. <div class="post">
  57. <h3>Noticia4</h3>
  58. <div class="post_body">
  59.   <p>Contenido de Noticia4</p>
  60.   </div>
  61. </div>
  62.  
  63. <div class="post">
  64. <h3>Noticia5</h3>
  65. <div class="post_body">
  66.   <p>Contenido de Noticia5</p>
  67.   </div>
  68. </div>
  69.  
  70. </div>
  71.  
  72.  
  73.           <div class="otromenu">
  74. <div class="categorias">
  75. <h3>Afiliados</h3>
  76. <div class="categorias_body">
  77.   Link1<br />
  78.   Link2<br />
  79.   Link3<br />
  80.   Link4<br />
  81.   Link5<br />
  82.   Link6<br />
  83.   Link7<br />
  84.   Link8<br />
  85.   Link9<br />
  86.   Link10<br />
  87.   </div>
  88. </div>
  89.           </div>
  90.         </div>
  91.         <div class="footer">
  92.           <p><img src="logo.png" width="507" height="100" /></p>
  93.         </div>
  94.   </div>
  95. </center>
  96. </body>
  97. </html>

El CSS

Código:
body {
background:transparent url(fondo.jpg) repeat scroll 0 0;
color:gray;
font-family:helvetica,arial,sans-serif;
font-size:14px;
text-align:center;
}

.container {
	height: 768px;
	width: 1050px;
}
.banner {
	min-height: 100px;
	float: left;
	width: 1024px;
	background-color:#000;
	border: solid #222 2px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	margin: 3px;
	padding-top: 5px;
	padding-right: 10px;
	padding-bottom: 5px;
	padding-left: 10px;
}
.box {
	float: left;
	min-height: 500px;
	width: 1024px;
	background-color:#000;
	border: solid #222 2px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	margin: 3px;
	padding-top: 5px;
	padding-right: 10px;
	padding-bottom: 5px;
	padding-left: 10px;
}
.menu {
	float: left;
	min-height: 500px;
	width: 200px;
	margin-top: 3px;
	margin-right: 3px;
	margin-bottom: 3px;
	margin-left: 3px;

}

.body {
	float: left;
	min-height: 500px;
	width: 600px;
	margin: 3px;
}
.otromenu {
	float: left;
	min-height: 500px;
	width: 200px;
	margin: 3px;
}

.footer {
	float: left;
	min-height: 100px;
	width: 1024px;
	background-color:#000;
	border: solid #222 2px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	margin: 3px;
	padding-top: 5px;
	padding-right: 10px;
	padding-bottom: 5px;
	padding-left: 10px;

}

.categorias {
color:gray;
margin-bottom:10px;
width:200px;
word-wrap: break-word;

}

.categorias h3 {
color:orange;
background:#0F0F0F;
border-width: 1px;
border-style:solid;
border-color:333333; 
padding:5px 10px;

}

.categorias_body {
margin:-20px 0 0 0;
color:white;
background:black;
line-height:19px;
padding:5px 10px;
border-width: 1px;
border-style:solid;
border-color:333333;

}

.post {
color:gray;
margin-bottom:10px;
width:600px;
word-wrap: break-word;

}

.post h3 {
color:orange;
background:#0F0F0F;
border-width: 1px;
border-style:solid;
border-color:333333; 
padding:5px 10px;

}

.post_body {
margin:-20px 0 0 0;
color:white;
background:black;
line-height:19px;
padding:5px 10px;
border-width: 1px;
border-style:solid;
border-color:333333;

}
Cuando la cargo la primera vez en firefox se ve asi :



Pero cuando lo cargo como 3 veces seguidas se ve bien :



El tema es que en crome y IE se ve mal como siempre pero en firefox despues de 3 veces se mal , mi idea es que se vea como en la primer imagen.

¿ Como soluciono esto ?