Ver Mensaje Individual
  #5 (permalink)  
Antiguo 11/04/2009, 03:01
xurxinho
 
Fecha de Ingreso: marzo-2009
Mensajes: 171
Antigüedad: 15 años, 1 mes
Puntos: 4
Respuesta: html y CSS juntos pero separados

Ahora he probado
Código HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es-es">
<head>
<title>Documento sin t&iacute;tulo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
* { margin: 0px;
	padding: 0px; 
	outline: 0;
}
html, body { 
	margin: 0px;
	padding: 0px;
	width: 100%;
	height: 100%;
}
#contenedor { 
	margin: 0px auto;
	background: #000;
	height: 100%;
	width: 890px;
	border-bottom: 1px solid #fff;
}
</style>
</head>
<body>

<table id="contenedor" border="0">
	<thead>
		<tr>
			<th>
			</th>
		</tr>
	</thead>
	<tfoot>
		<tr>
			<td>
			</td>
		</tr>
	</tfoot>
	<tbody>
		<tr>
			<td>
			</td>
		</tr>
	</tbody>	
</table>		

<p>
    <a href="http://jigsaw.w3.org/css-validator/check/referer">
        <img style="border:0;width:88px;height:31px"
            src="http://jigsaw.w3.org/css-validator/images/vcss"
            alt="¡CSS Válido!" />
    </a>
</p>
</body>
</html> 
y como veis referendado por los enlaces si cumplía este código los estándares XHTML y los de CSS y ha superado el test.
Como veis las dudas son muchas, puesto que para estructurar un sistema de navegación banner superior, menú izquierdo,contenido y pie o banner inferior para mi es más fácil estructurarlo en una tabla que poner elemento flotantes, por eso es lo que doy tanto el coñazo y busco contra-argumentos.