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

Chapter 7. Border and Margin Controls > Preventing Text from Wrapping

Preventing Text from Wrapping

Sometimes, you may find it necessary to override the float property (Figure 7.10). Similar to the clear attribute of the HTML break tag, the CSS clear property allows you to specify whether you want to deny floating text to the left, right, or both sides of the element.

Figure 7.10. Text that has been defined with the nowrap class starts below the image rather than wrapping around it.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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