div hauteur: 100%; ne fonctionne pas avec l'affichage: table-cellule;

Mon code fonctionnait quand

<!DOCTYPE html>
<html>
<body style="position:fixed; top:0px; left:0px;bottom:0px; right:0px;  margin:0px;">
<div style="height:100%; width:100%; border:solid;"></div>
</body>
</html>

Mais ne fonctionne pas quand je l'ai ajouté display:table-cell; div pour l'utilisation de vertical-align

<!DOCTYPE html>
<html>
<body style="position:fixed; top:0px; left:0px;bottom:0px; right:0px;  margin:0px;">
<div style="height:100%; width:100%; border:solid; display:table-cell;vertical-align:middle;"></div>
</body>
</html>

Je veux la div pour couvrir l'ensemble de l'espace blanc dans le corps

source d'informationauteur