Ver Mensaje Individual
  #5 (permalink)  
Antiguo 21/03/2006, 11:37
Avatar de kahlito
kahlito
Colaborador
 
Fecha de Ingreso: marzo-2003
Ubicación: En el Estrecho y el mar
Mensajes: 2.936
Antigüedad: 21 años, 1 mes
Puntos: 65
Hola uamistad, en realidad depende de como tengas tu div.

Te pongo un ejemplo:

Código HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin t&iacute;tulo</title>
<style type="text/css">
#contiene_texto{
	background-color: #FFCC66;
	padding-top: 5%;
	padding-bottom: 5%;
	}
	</style>
</head>

<body>
<div id="contiene_texto">
<p>Texto en el centro</p>
</div>
</body>
</html> 
Prueba con el tuyo, saludosss