Ver Mensaje Individual
  #1 (permalink)  
Antiguo 19/12/2006, 15:29
Fix3r
 
Fecha de Ingreso: diciembre-2006
Mensajes: 16
Antigüedad: 17 años, 4 meses
Puntos: 0
Problema: Alinear 2 divs en una línea

Hola, pues quisiera saber eso, cómo alinear dos divs en una linea y hacer que un div esté centrado y que el otro esté alineado a la derecha (en mi caso).

Mi duda viene de que mi "intento de pág" me queda así en IE7:
http//img329.imageshack.us/img329/5484/ie7gk6.jpg

y así en FF:
http//img329.imageshack.us/img329/3913/ffvn6.jpg

Y quiero que en FF se vea como en IE7.

Aquí les dejo el código:

HTML
Código:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Cannibal RO</title>
<link href="estilo.css" rel="stylesheet" type="text/css" />
</head>

<body id="body">
	<center><div id="Contenedor">
        <div id="Cabecera"> 	IMAGEN			
	</div>
		<div id="menu">
		 <ul>
 		 <li>Inicio</a></li>
 		 <li>Foros</a></li>
 		 <li>Control Panel</a></li>
 		 <li>Descargas</a></li>
	         <li>Información</a></li>
	         <li>Contacto</a></li>
	         <li>Vota</a></li>
		 </ul>
         
      </div>
		<div id="Contenido"> 
<pre>
		
		
		
En construcción ...
		
		
		
</pre>
		</div>
	</div> <!--TERMINA EL CONTENEDOR-->
	
	<div id="Pie">
		<center>
		<div id="Otros">alt="Get Firefox" "www(punto)esferanegra(punto)com/wp-content/themes/freshy-10/images/get_firefox_80x15.png"</div>
		<div id="Derechos">	Pie </div>
				
		</center>
</div>
		</center>
</body>
</html>
Y el estilo:

Código:
#body	{
 		background-color:#e3eaf4;
		background-image:url();
		background-repeat:repeat;
		margin-top:8px;
 		}
#Contenedor	{
	width: 800px;
	height: auto;
				
			}
#Cabecera	{
	background-image:url();
	width:800px;
	height:204px;
	background-repeat:no-repeat;
		
	
			}
#menu{
	width:800px;
	background-image:url();
	text-align:center;
	border-bottom:1px solid #666666;
	border-top:1px solid #666666;

}
 #menu ul{
 padding:0px;
 margin:0px;
 list-style:none;
 font-weight:bold;
 
 }
 #menu li{
 line-height:20px;
 display:inline;
 
 }
 #menu li a{
 padding:0 10px;
 color:#0033cc;
 text-decoration:none;
 }
 #menu li a:hover{
 padding:0 10px;
 color:#ffffff;
 text-decoration:none;
 background-color:#99ccff;
 
 }
 #Contenido {
 background-color:#e3eaf4;
 height:auto;
 border:1px solid #666666;
 
 }
 #Pie	{
 background-color:#d2d9e3;
 text-align:center;
 border:1px solid #666666;
 width:798px;
 height:auto;
 margin-top:2px;
 padding:3px 0px;
 
 }
 #Derechos	{
	width:400px;
 
 }
 #Otros	{
	width:50px;
	left: 52px;
	text-align:right;
	float: right;
	padding-right:5px;
P.D: Perdonen el código y las imágenes pero eso de no poder postear enlaces está asqueroso