Panels uses a special clearing <br /> to do it's clearing. Rather than using this special BR, it would be preferable to use the standard Drupal 'clear-block' class. This class makes blocks clear properly in all browsers and is included in Drupal 5 and higher.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | panels_clearing.png | 15.1 KB | quicksketch |
| panels_clearing.patch | 9.96 KB | quicksketch |
Comments
Comment #1
quicksketchAttached is an image providing a before and after example. With the BR method, the wrapper DIV is not set to the proper height. Applying a margin or border to the row DIV will have undesired results. When using the clear-block class, the DIV is properly wrapped around the container, even if it's contents are floated left (as is the case with panels).
Comment #2
merlinofchaos commentedApplied!
Comment #3
(not verified) commented