Ver Mensaje Individual
  #5 (permalink)  
Antiguo 01/02/2009, 13:53
codig0
 
Fecha de Ingreso: septiembre-2008
Ubicación: Lanzarote, Canarias
Mensajes: 486
Antigüedad: 15 años, 7 meses
Puntos: 41
Respuesta: div con height 100%;

Hola,

aun no lo he terminado, pero bueno, pongo lo que tengo...

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>
<title>titulo</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="estilos/reset.css" type="text/css" />
<link rel="stylesheet" href="estilos/style.css" type="text/css" />
</head>
<body>

<div id="contenedor">

<div id="header">

<img src="imagenes/logo.jpg" alt="titulo..." />

</div>

<div id="bloquesizq">izquierda</div>

<div id="bloquesder">
<p>
hola mundo
hola mundo
hola mundo
</p>
</div>

</div>

<div id="pie">&nbsp;</div>

</body>
</html>

reset.css

Código:
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p,
blockquote, pre, a, abbr, acronym, address, big,
cite, code, del, dfn, em, font, img,
ins, kbd, q, s, samp, small, strike,
strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
center, u, b, i {
     margin: 0;
     padding: 0;
     border: 0;
     outline: 0;
     font-weight: normal;
     font-style: normal;
     font-size: 100%;
     font-family: inherit;
     vertical-align: baseline
}

body {
     line-height: 1
}

:focus {
     outline: 0
}

ol, ul {
     list-style: none
}

table {
     border-collapse: collapse;
     border-spacing: 0
}

blockquote:before, blockquote:after, q:before, q:after {
     content: ""
}

blockquote, q {
     quotes: "" ""
}

input, textarea {
     margin: 0;
     padding: 0
}

hr {
     margin: 0;
     padding: 0;
     border: 0;
     color: #000;
     background-color: #000;
     height: 1px
}

style.css

Código:
body,html {
background:url('../imagenes/fondo.jpg') repeat-x #FFFFFF;
height:100%;
}

#contenedor {
max-width: 1366px;
min-height:100%;
height: auto!important;
height:100%;
cursor:default;
margin:auto;
}

#header {
width:100%;
float:left;
clear:both;
}

#header img {
float:left;
}

#bloquesder {
width:186px;
float:right;
background:#EEEEEE;
border-left:solid 1px #CBCBCB;
height:100%;
}

#bloquesizq {
float:left;
}

#pie {
width:100%;
margin:0px;
padding:0px;
text-align: center;
color: #FFFFFF;
height: 104px;
clear:both;
font-size:12px;
font-family:arial;
}


eso es todo lo que tengo hecho por el momento, saludos.