Ver Mensaje Individual
  #5 (permalink)  
Antiguo 20/10/2008, 20:23
Avatar de RufioStill
RufioStill
 
Fecha de Ingreso: agosto-2008
Mensajes: 24
Antigüedad: 15 años, 8 meses
Puntos: 0
Respuesta: Dos fondos en un body, se puede?! ayuda..

Cita:
Iniciado por GastoNike Ver Mensaje
Se puede simular el efecto haciendo:

html {
background: propiedades;
}
body {
background: propiedades;
}

;)

Saludos.
Bueno antes de preguntar aqui busque mucho e intente eso pero no me da resultado :( no se si lo que hago este mal?... como seria el codigo editado?

Aqui el codigo de fuente de http://mybbtest.webspacemania.com/ejemplo.html:
Código:
<!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">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<title>T�tulo de la web</title>
<style type="text/css">
body{
background: #8eb2cc url(http://img339.imageshack.us/img339/8531/logoupfx1.jpg) center top no-repeat;
font: 76% arial;
margin:0 0 5px 0;
padding: 0;
}
p{
color: #fff;
}

#contenedor{
	width: 930px;
	margin: 0 auto;
	margin-top: 160px;
	padding: 5px;
	border: 1px solid #c6d2b8;
	background: #f6f4ec;
}
#medio{
	float: left;
	margin: 5px 5px 5px 0px;
	width: 930px;
	background: #e7e5d2;
}
#pie {
	clear: both;
	border-top: 1px solid #5e534f;
	background-color: #e7e5d2;
}
#pie p{
	margin:0;
	padding:5px 10px
}

</style>
	
</head>
<body>
<div id="body">
<div id="contenedor">
<div id="medio">
<p>Prueba</p>

<p>Prueba</p>
<p>Prueba</p><p>Prueba</p><p>Prueba</p>
<p>Prueba</p>
<p>Prueba</p>
<p>Prueba</p>
<p>Prueba</p>
<p>Prueba</p>
<p>Prueba</p>

<p>Prueba</p>
<p>Prueba</p>
<p>Prueba</p>
<p>Prueba</p>
<p>Prueba</p>
</div>
<div id="pie"><p>PruebaPruebaPrueba</p></div>
</div>
</div>
</body>
</html>
gracias..