Floating and Shapes
Chapter 10
Figures
- A floating image
- A floating paragraph
- Floating images with margins
- Floated text without an explicit width
- Floating to the left (or right)
- Keeping floats from overlapping
- More overlap prevention
- Unlike balloons, floated elements can’t float upward
- Keeping floats below their predecessors
- Keeping floats level with their context
- If there isn’t room, floats get pushed to a new “line”
- Given the other constraints, go as high as possible
- Get as far to the left (or right) as possible
- Expected floating behavior
- Backgrounds and floated elements
- Element backgrounds “slide under” floated elements
- Floating with negative margins
- The details of floating up and left with negative margins
- Floating an element that is wider than its parent
- Layout behavior when overlapping floats
- Displaying an element in the clear
- Clear to the left, but not the right
- Clear on both sides
- Not clear at all
- Clearing and its effect on margins
- Using an image to define a float shape
- An image float shape on the right
- The basic shape boxes
- Insets from two basic shape boxes
- Rounding the corners of a shape box
- A circular float shape
- A rather small circular float shape for an even smaller image
- The circular float shape that results from a rectangle
- A clipped float shape
- Various circular float shapes
- Defining float shapes with ellipses
- Elliptical float shapes and percentages
- A polygonal float shape
- How a float shape is clipped when it exceeds the shape box
- The two polygonal fills
- The Chrome Shapes Editor in action
- Using image opacity to define the float shape at the 50% opacity level
- Adding margins to float shapes
- Making sure the shape margins don’t get clipped