Ver Mensaje Individual
  #1 (permalink)  
Antiguo 18/06/2009, 15:00
American2010
 
Fecha de Ingreso: abril-2003
Mensajes: 1.129
Antigüedad: 21 años
Puntos: 34
Alinaer imagen y texto...

Hola gente del foro CSS, recurro a su ayuda para ver si me dan una mano para poder dejar estas cosas alineadas bien, tanto en IE como en FF

Primero las screens de lo que pasa y como lo quiero yo, y luego les paso los códigos...




style-sepa.css

Código PHP:
/* RESET */

htmlbodydivspanappletobjectiframeh1h2h3h4h5h6pblockquotepreaabbracronymaddressbigcitecodedeldfnemfontimginskbdqssampsmallstrikestrongsubsuptt, var, dldtddolullifieldsetformlabellegendtablecaptiontbodytfoottheadtrthtdcenterub{
    
margin0;
    
padding0;
    
border0;
    
outline0;
    
font-weightnormal;
    
font-stylenormal;
    
font-size100%;
    
font-familyinherit;
    
vertical-alignbaseline;
    }

body line-height1; }

:
focus outline0; }

olul { list-stylenone; }

table border-collapsecollapseborder-spacing0; }

inputtextarea margin0padding0; }

/* COMIENZO */

body {
    
background-color#050;
    
font-family"Trebuchet MS"Arial;
    
font-size16px;
    
color#FFF;
    
}

{
    
font-weightbold;
    }

#home p {
    
padding-bottom10px;
    }

small {
    
font-size12px;
    }

#contenido {
    
width950px;
    
padding5px;
    
margin:  0px auto;
    
positionrelative;    
    }

#cabecera {
    
width950px;
    
height105px;
    
padding5px 0;
    
margin:  0px auto;
    
positionrelative;    
    }

#cabecera img {
    
displayblock;
    
marginauto;
    
bordernone;
    }


#separador {
    
width100%;
    
height25px;
    
positionrelative;    
    
background-color#020;
    
border-top#fff solid 4px;
    
border-bottom#fff solid 4px;
    
padding0px 2px;
    }
    
#separador ul li {
    
width157px;
    
floatleft;
    
height25px;
    }

#separador ul li a {
    
color#FFF;
    
text-decorationnone;
    
displayblock;
    }

#separador ul li a:hover {
    
color#FC0;
    
displayblock;
    }

#separador p {
    
margin-top3px;
    }

#separador img {
    
margin-right3px;
    }

#home {
    
width930px;
    
padding10px 10px 30px 10px;
    
margin:  0px auto;
    
positionrelative;    
    
min-height350px;
    } 
separador.php

Código PHP:
<?php
$time
=date('j M Y H:i:s');
?>

<!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" dir="ltr" lang="es-ES">

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>GO</title>
<link rel="stylesheet" href="style-sepa.css" type="text/css" media="screen" />

<script language="JavaScript" type="text/JavaScript">
    var Hoy = new Date("<?php echo $time?>");
function Reloj(){ 
    Hora = Hoy.getHours() 
    Minutos = Hoy.getMinutes() 
    Segundos = Hoy.getSeconds() 
    if (Hora<=9) Hora = "0" + Hora 
    if (Minutos<=9) Minutos = "0" + Minutos 
    if (Segundos<=9) Segundos = "0" + Segundos 
    var Mes = new Array("Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"); 
    var Anio = Hoy.getFullYear(); 
    var Fecha = Hoy.getDate() + " " + Mes[Hoy.getMonth()] + " "; 
    var Inicio, Script, Final, Total 
    var Inicio, Script, Final, Total 
    Inicio = "" 
    Script = Fecha + Hora + ":" + Minutos + ":" + Segundos 
    Final = "" 
    Total = Inicio + Script + Final 
    document.getElementById('Fecha_Reloj').innerHTML = Total 
    Hoy.setSeconds(Hoy.getSeconds() +1)
    setTimeout("Reloj()",1000) 

</script>
</head>

<body onload="Reloj()">
<div id="contenido">
<div id="cabecera">
</div>

<div id="separador">
<ul>
<li><img align="left" src="images/turnos.gif" /><p>Turno</p></li>
<li><p><div id="Fecha_Reloj"></div></p></li>
<li><a href="logout.php"><img align="left" src="images/logout.gif" /><span>Log-out</span></a></li>
</ul>
</div>
El problema que no logro que los textos queden alineados al centro del ul li junto con las imagenes o cuando sólo hay texto...

¿Saben que estoy haciendo mal?

Gracias...
__________________
elGastronomo