10 Replies Latest reply on Jul 16, 2008 8:07 AM by Newsgroup_User

    DW bug? Not clearing floats via overflow:hidden

    sly one Level 1
      OK so I think I found a bug in Dreamweaver CS3's Design View. I have been using an alternative technique to clear floats using overflow:hidden. It's not a new technique but it is very clean. You can read about it here:
      http://www.quirksmode.org/css/clearing.html
      I believe the technique is valid, standards-compliant and rendered by all modern browsers. What happens in DW is that the floats are not cleared, and the containing box collapses. Here's some very basic code to test it: