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

Chapter 16.  Layout with Styles > Adding Padding Around an Element

Adding Padding Around an Element

Padding is just what it sounds like: extra space around the contents of an element but inside the border. Think of Santa Claus' belly—nicely padded, while being held in by his belt (the border). You can change the padding's thickness, but not its color or texture.

To add padding around an element:

1.
Type padding.

2.
If desired, type -top, -bottom, -left, or -right, (with no space after padding) to limit the padding to one side of the object.

3.
Type : x, where x is the amount of desired space to be added, expressed in units or as a percentage of the parent element.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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