/* XHTML y CSS con AMAYA
   Bartolomé Sintes Marco
   http://www.mclibre.org
   
   CSS ejercicio: Las cinco webs más visitadas en noviembre de 2007
   14 de noviembre de 2007
*/

html {
  font-family: sans-serif; 
  background-color: #444444;
}

body {
  margin: 0px;
}

h1 { 
  color: white;
  font-size: 100%;
  height: 10%;
  margin: 0px;
  padding: 0.5em;
  text-align: right;
  text-transform: uppercase;
}

div#intro {
  background-color: #AAAAAA;
  position: absolute;
  top: 5%;
  left: 0%;
  width: 100%;
  height: 10%;
  overflow: hidden;
  text-align: center;
}

ul { list-style-type: none; text-align: center }

li { display: inline; background-color: #DDDDDD;
margin-right: 10px; border: #444444 2px solid; }

li.primero { 
  background-color: #AAAAAA;
  border: none;
}

a { color: black; text-decoration: none; padding: 0 4px; }

a:hover { background-color: white; color: #444444; }

div#bloque {
  background-color: #dddddd;
  position: absolute;
  top: 15%;
  left: 0%;
  width: 100%;
  height: 85%;
  overflow: hidden;
}

div#bloque div {
  position: relative;
  width: 100%;
  height: 100%;
}

iframe {
  position: absolute; 
  top: 2%;
  left: 5%;
  width: 90%;
  height: 80%;
}

object {
  position: absolute; 
  top: 2%;
  left: 5%;
  width: 90%;
  height: 80%;
}

div div p:first-child {
  position: absolute; 
  bottom: 5%;
  left: 5%;
  width: 90%;
  padding: 0 10px;
  margin: 0px;
}




  


