A me col tuo codice funziona:
codice:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento senza titolo</title>
<style type="text/css">
<!--
html, body {
margin:0;
padding:0;
height:100%;
}
#column {
height:100%;
background-color:#CCCCCC;
}
#widget1 {
height:auto;
min-height:50%;
background-color: #CC99FF;
}
#widget2 {
height:auto;
min-height:50%;
background-color: #99CCFF;
}
-->
</style>
</head>
<body>
<div id="column">
<div id="widget1">Inserire qui il contenuto per widget1</div>
<div id="widget2">Inserire qui il contenuto per widget2</div>
</div>
</body>
</html>
a questo punto, quella stessa funzione che usi per impostare il display di un div su none può essere usata per impostare l'altezza dell'altro div sul 100%