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

Chapter 10. Text Properties > all-space-treatment Property

10.21. all-space-treatment Property

The all-space-treatment property also belongs to the sub-family of properties dealing with embedded spacing and linefeed characters.

The property has four values: preserve and collapse, as well as the ubiquitous initial and inherit values common to all CSS3 properties. The preserve value retains the intended effect of all spacing characters, such as linefeeds and spaces — even the tab character (U+0009), which sets an equivalent to 8 spaces of width. The collapse value does just the opposite, rendering all embedded linefeeds, tabs, spaces and so on as a single space. The initial value allows a Web author to explicitly set a property to its default. The inherit value takes on whatever parent value may be present.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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