Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

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

Chapter 6: Adding Images > Stop Text Wrap

Stop Text Wrap

You can stop text wrapping around your images by applying a <br> tag that has the clear property set to both. This CSS causes the text or other content following the <br> tag to begin at the bottom of the image. You can cause text to wrap around your image in the first place by aligning the image using the float property. See Align an Image Horizontally for details.

Stop Text Wrap

9781118063514-fg0625.eps

001 Click where you want to end the text wrap and type <br style=”clear: both”>.

The clear property also accepts the values left and right, to stop wrapping to just one side.

The text wrapping ends at the selected point on the page.

9781118063514-fg0626.eps

In this example, the next paragraph starts on a different line from the image.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint