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

Chapter 15.  Formatting Text with Styles > Setting White Space Properties

Setting White Space Properties

Normally browsers will simply ignore any extra spaces or returns that you type in an HTML document. You can set certain tags to behave like the PRE tag, taking into account all this extra white space.

To set white space properties:

1.
Type white-space: .

2.
Type pre to have browsers take all extra spaces and returns into account.

Or type nowrap to keep all elements on the same line, except where you've inserted BR tags.

Or type normal to treat white space as usual.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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