Clear of margins

You can actually put a margin-bottom on the floated elements to push DOWN the element underneath that has clear: both.

enter image description here

Note: Having made this suggestion I have to immediately retract it as not generally a good idea, but in some limited situations may appropriate;

Your order will be shipped to:
Simon
123 Main St
Anytown, CA, US

Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
Item 7
Item 8
Item 9
Item 10

The panel with items is called order-details with this css

In the above fiddle - the yellow panel has a margin-top, but unless it is greater than the tallest floated item then it won't do anything (of course that's the whole point of this question).

If you set the margin-top of the yellow panel to 20em then it will be visible because the margin is calculated from the top of the outer blue box.

You might also like
Clear Margin Saw Machine
Clear Margin Saw Machine
12. Air Quality Law: Margins of Safety
12. Air Quality Law: Margins of Safety
- 100 - Clear Resealable A-2 Card Envelopes Polypropylene Cello Bags 4 3/8" x 5 3/4" 1.6mil
BISS
  • No heat sealing needed! Close and re-close these clear-as-glass cello-style bags.
  • Peel off strip. Fold to seal with ease.
  • Resists moisture and grease.
  • Archival safe.
  • FDA and USDA compliant.
SlickBlue Slickblue(TM) Macbook Air 11" Rubberized Matte Plastic Hard Case Cover With Keyboard Cover (A1465/A1370) - Clear
PC Accessory (SlickBlue)
  • Precise Cutouts Give Full Access to All Ports, Power Button, Cameras without removing the case
  • Allows MacBook® to be open all the way
  • Hard shell without cut on Apple® logo, Can See the logo Shine thru the case when it is on
  • Slim silicone skin of Keyboard makes typing easier
  • Pre-printed keyboard buttons on the keypad skin (US Keyboard)
Acme United Westcott See Through 6-Inch Acrylic Ruler, Clear (10561)
Office Product (Acme United)
  • Premium quality, clear acrylic ruler with the very best scratch resistance
  • Beveled edges for more precise drawing and less smudges
  • Scaled in 1/16 and metric markings
Epson Epson LabelWorks LW-300 Label Maker (C51CB69010)
Office Product (Epson)
  • Amazing variety - 14 fonts, 10 styles, 300+ built-in symbols, over 75 frames and more
  • Less waste - smaller margins compared to other brands for up to 62% less waste
  • Large built-in memory - store up to 30 files
  • Specialty print models and labels
  • Easy to use - automatically printed with a split back for easy and fast peeling
Gino Purple Margin Clear White Plastic Back Case for BlackBerry 8520
CE (Gino)
  • Product Name: Case
  • Main Color: Clear White, Purple
  • Weight: 22.7g
  • Material: Plastic
  • Package Content: 1 x BlackBerry 8520

Popular Q&A

avatar
Margin clearing and resetting?

You cannot "clear" the margins. You have a left margin and right margin. They MUST be set somewhere even if they are set at the extreme left and right of the carriage. This part is IMPORTANT!!! Some functions (like right margin or margin release) may be written in a different color or shade. If they are, you must hold down the CODE or FUNCTION key while touching that function. In any case, the CODE key or similar will be the same color as the function you are trying to access. Get the printer where you want the margin to be. If you want the left margin set to the left of the current mar…

Related Posts