• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 11. Layout with Styles > Controlling Where Elements Float

Controlling Where Elements Float

You can control which elements an element can float next to and which it cannot. To keep an element from floating next to something it shouldn’t, use the clear property.

To control where elements float

1.
Type clear:.

2.
Type left to keep elements from floating to the left of the element you’re styling.

Or type right to keep elements from floating to the right of the element you’re styling.

Or type both to keep elements from floating to either side of the element you’re styling.

Or type none to let elements flow to either side of the element you’re styling.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint