Closed (fixed)
Project:
Panels
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
1 Aug 2007 at 19:34 UTC
Updated:
7 Sep 2007 at 03:42 UTC
Jump to comment: Most recent file
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