Imbriqués les éléments DIV

Je suis en train d'essayer de joindre les deux éléments DIV, intérieure-1 & intérieur-2, (pointillés bordure rouge) à l'intérieur d'une enveloppe de DIV (solide bordure verte), mais le wrapper élément DIV ne pas l'étendre à joindre l'intérieur de la Vrd.

Ce que je fais mal?

<!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">

<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title> Nested divs </title>
</head>

<body>
<div id="wrapper" style="margin-left:auto; margin-right:auto; border:solid #669933;"> 
  content inside "wrapper" div
  <div id="inner-1" style="float:left; width:49%; border:dotted #CC3300;">
    content <br />
    inside <br />
    inner-1 div
  </div>

  <div id="inner-2" style="float:left; width:49%; border:dotted #CC3300;"> 
    content inside inner-2 div 
  </div>
</div>
</body>
</html>

Rendu HTML

InformationsquelleAutor xraminx | 2009-07-06