Ver Mensaje Individual
  #10 (permalink)  
Antiguo 25/10/2008, 12:19
Avatar de Mikmoro
Mikmoro
Colaborador
 
Fecha de Ingreso: octubre-2006
Ubicación: K-pax
Mensajes: 7.228
Antigüedad: 17 años, 6 meses
Puntos: 280
Respuesta: Problemilla con background y texto

No estoy en absoluto seguro de lo que quieres conseguir, pero a ver si sobre esta idea me dices qué es lo que te falla:

Cita:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>advertencias</title>
<style type="text/css">
* {margin: 0; padding: 0;}
body {background: red;}
#contenido {width: 790px;
position: absolute;
top: 120px;
left: 300px;
background: green;
}
#minibox {width: 260px;
height: 480px;
background: white;
border-with: 4px;
border-style: solid;
border-color: maroon;
padding-bottom: 9px;
}
h2 {font-family: Arial;
font-wigth: bold;
background: black;
text-align: center;
color: #fff;
}
p {font-family: Courier;
color: navy;
text-align: justify;
text-indent: 0.75 em;
margin: 10px;
}
</style>
</head>
<body>
<div id="contenido">
<div id="minibox">
<h2>Titulo</h2>
<p>Texto...</p>
</div>
</div>
</body>
</html>
__________________
Visita mi nueva web idplus.org