simon: div's

Beitrag lesen

Hi,
hab da ein kleines Problem:
ich hab 3 Div's

____________________________________________________________________________
|                                                                          |
|                            div3                                          |
|__________________________________________________________________________|
|               |                                                          |
|               |                                                          |
|               |                                                          |
|               |                                                          |
|     div1      |                                   div2                   |
|               |                                                          |
|               |                                                          |
|               |                                                          |
|               |                                                          |                                                                         |_______________|__________________________________________________________|

Ich hab jetzt die beiden Div's (div1+div2) nebeneinander Positioniert.
Das Problem ist, dass die beiden jetzt unter das Div3 rutschen.

Hier mal das CSS:

  
#div3 {  
  height: 30px;  
  width: 1000px;  
}  
  
#div1 {  
  width: 300px;  
  float: left;  
}  
  
#div2 {  
  float: right;  
  width: 700px;  
}  

und das HTML:

  
<div id="div3">  
<div><!--div3-end-->  
<div id="div2">  
</div><!--div2-end-->  
<div id="div1">  
</div><!--div1-end-->

Hab ich da was falsch gemacht ?

MfG
Simon