Question : Using CSS Float

What is the difference between the following codes. my understanding is float is cleared only when clear is applied. Why in case1 the divs overlap?
Case 1:
1:
2:
3:
4:
  <div style="height: 100px;width: 100px">
      <div style="height: 100px;width: 50px;float: left"/>
       <div style="height: 100px;width: 50px;"/>
  </div>

Case 2:
1:
2:
3:
4:
  <div style="height: 100px;width: 100px">
      <div style="height: 100px;width: 50px;float: left"/>
       <div style="height: 100px;width: 50px;float: left"/>
  </div>

Answer : Using CSS Float

The time listed under the last Sychronised time is UTC (Universal Time Co-Ordinated), so it will always show a time different to your local time, unless you happen to live in London and ignore British Summer Time!

Random Solutions  
 
programming4us programming4us